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

Variable Index

 o column
The column of the cell or label that is being selected or unselected.
 o doit
Determines whether the selection/unselection should be allowed.
 o event
The event that initiated the action (read-only).
 o 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
 o row
The row of the cell or label that is being selected or unselected.
 o stage
Either JCTblCallback.BEGIN, JCTblCallback.END, JCTblCallback.EXTEND or JCTblCallback.UNSELECT (read-only).

Constructor Index

 o JCSelectInfo(Event, int, int, String)

Variables

 o event
  public Event event
The event that initiated the action (read-only).
 o 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.
 o 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.
 o stage
  public int stage
Either JCTblCallback.BEGIN, JCTblCallback.END, JCTblCallback.EXTEND or JCTblCallback.UNSELECT (read-only).
 o 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
 o doit
  public boolean doit
Determines whether the selection/unselection should be allowed. Initially set to true.

Constructors

 o JCSelectInfo
  public JCSelectInfo(Event ev,
                      int row,
                      int col,
                      String param)

All Packages  Class Hierarchy  This Package  Previous  Next  Index