Class jclass.table.JCSelectInfo
All Packages Class Hierarchy This Package Previous Next Index
Class jclass.table.JCSelectInfo
java.lang.Object
|
+----jclass.table.JCSelectInfo
- public class JCSelectInfo
- extends Object
JCSelectInfo is the info parameter of a SELECT callback.
- See Also:
- SELECT, setSelectedCells
-
column
- The column of the cell or label that is being selected or unselected.
-
doit
- Determines whether the selection/unselection should be allowed.
-
event
- The event that initiated the action (read-only).
-
param
- Determines how the cell was selected (no selection is possible on a label):
START Select cell if SelectionPolicy is not SELECT_NONE
CURRENT Select current cell if SelectionPolicy is not SELECT_NONE
EXTEND Extend selected region to include cell if SelectionPolicy is SELECT_RANGE or SELECT_MULTIRANGE
ADD Select cell if SelectionPolicy is SELECT_MULTIRANGE
CANCEL Cancels the current selection
END Finish a selection
-
row
- The row of the cell or label that is being selected or unselected.
-
stage
- Either JCTblCallback.BEGIN, JCTblCallback.END, JCTblCallback.EXTEND or JCTblCallback.UNSELECT (read-only).
-
JCSelectInfo(Event, int, int, String)
-
event
public Event event
- The event that initiated the action (read-only).
row
public int row
- The row of the cell or label that is being selected or unselected. To select an entire row, set column to JCTblEnum.ALL.
column
public int column
- The column of the cell or label that is being selected or unselected. To select an entire column, set row to JCTblEnum.ALL.
stage
public int stage
- Either JCTblCallback.BEGIN, JCTblCallback.END, JCTblCallback.EXTEND or JCTblCallback.UNSELECT (read-only).
param
public String param
- Determines how the cell was selected (no selection is possible on a label):
START Select cell if SelectionPolicy is not SELECT_NONE
CURRENT Select current cell if SelectionPolicy is not SELECT_NONE
EXTEND Extend selected region to include cell if SelectionPolicy is SELECT_RANGE or SELECT_MULTIRANGE
ADD Select cell if SelectionPolicy is SELECT_MULTIRANGE
CANCEL Cancels the current selection
END Finish a selection
doit
public boolean doit
- Determines whether the selection/unselection should be allowed. Initially set to true.
JCSelectInfo
public JCSelectInfo(Event ev,
int row,
int col,
String param)
All Packages Class Hierarchy This Package Previous Next Index