|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.klg.jclass.table.JCSelectEvent
The event posted as a user selects cells or cells are selected programmatically.
Field Summary | |
protected int |
action
|
static int |
ADD
|
static int |
AFTER_SELECTION
|
static int |
BEFORE_SELECTION
|
protected boolean |
cancelled
|
static int |
DESELECT
|
static int |
END
|
protected int |
end_column
|
protected int |
end_row
|
static int |
EXTEND
|
static int |
SELECT
|
static int |
SELECTION
|
protected int |
start_column
|
protected int |
start_row
|
protected int |
type
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
JCSelectEvent(Object source,
int type,
int start_row,
int start_column,
int end_row,
int end_column,
int action)
|
Method Summary | |
int |
getAction()
Returns the type of action where valid values are: SELECT ,
ADD , EXTEND , DESELECT , and
END . |
String |
getActionString()
Returns a String representation of the action. |
int |
getEndColumn()
Returns the end column of the selected or deselected cell range. |
int |
getEndRow()
Returns the end row of the selected or deselected cell range. |
int |
getStartColumn()
Returns the start column of the selected or deselected cell range. |
int |
getStartRow()
Returns the start row of the selected or deselected cell range. |
int |
getType()
Returns the type of event. |
boolean |
isCancelled()
Returns true if any listener has rejected the selection. |
void |
setCancelled(boolean value)
Sets whether the selection (or unselection) should be cancelled. |
String |
toString()
Returns a String representation of the event. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int BEFORE_SELECTION
public static final int SELECTION
public static final int AFTER_SELECTION
public static final int SELECT
public static final int EXTEND
public static final int ADD
public static final int END
public static final int DESELECT
protected int type
protected int start_row
protected int start_column
protected int end_row
protected int end_column
protected int action
protected boolean cancelled
Constructor Detail |
public JCSelectEvent(Object source, int type, int start_row, int start_column, int end_row, int end_column, int action)
Method Detail |
public int getType()
EVENT_BEGIN
or
EVENT_END
.
EVENT_BEGIN
or
EVENT_END
public int getStartRow()
public int getStartColumn()
public int getEndRow()
public int getEndColumn()
public boolean isCancelled()
true
if any listener has rejected the selection.
true
if any listener has rejected the selectionpublic void setCancelled(boolean value)
false
.
value
- public int getAction()
SELECT
,
ADD
, EXTEND
, DESELECT
, and
END
.
SELECT
,
ADD
, EXTEND
, DESELECT
, or
END
public String getActionString()
public String toString()
toString
in class EventObject
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |