|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--java.util.EventObject | +--java.awt.AWTEvent | +--CoffeeTable.Grid.GridEvent
The event class for Grid events generated by the GridPanel.
| Field Summary | |
static int |
CANCEL_EDIT
The cancel edit event type. |
static int |
CELLS_CLICKED
The cells clicked event type. |
static int |
CELLS_RELEASED
The cells released event type. |
static int |
COMMIT_EDIT
The commit edit event type. |
static int |
DOUBLE_CLICKED
The cells clicked event type. |
static int |
GRID_EVENT_FIRST
Marks the first integer id for the range of grid event ids. |
static int |
GRID_EVENT_LAST
Marks the last integer id for the range of grid event ids. |
static int |
RESIZE_COL
The resize column event type. |
static int |
RESIZE_ROW
The resize row event type. |
static int |
SEL_CHANGED
A selection changed event type. |
static int |
SORT_COL
The sort column event type. |
static int |
START_EDIT
The start edit event type. |
| Fields inherited from class java.awt.AWTEvent |
ACTION_EVENT_MASK,
ADJUSTMENT_EVENT_MASK,
COMPONENT_EVENT_MASK,
consumed,
CONTAINER_EVENT_MASK,
FOCUS_EVENT_MASK,
id,
INPUT_METHOD_EVENT_MASK,
ITEM_EVENT_MASK,
KEY_EVENT_MASK,
MOUSE_EVENT_MASK,
MOUSE_MOTION_EVENT_MASK,
RESERVED_ID_MAX,
TEXT_EVENT_MASK,
WINDOW_EVENT_MASK |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
GridEvent(java.lang.Object source,
int id,
int col,
int row)
Constructs a WindowEvent object with the specified source, id and the row and column index of the cell. |
|
GridEvent(java.lang.Object source,
int id,
int modifiers,
int col,
int row)
Constructs a WindowEvent object with the specified source, id, event modifiers and the row and column index of the cell. |
|
| Method Summary | |
int |
getCol()
Returns the column index for the cell. |
int |
getModifiers()
Returns the modifiers held down during this action event. |
int |
getRow()
Returns the row index for the cell. |
java.lang.String |
paramString()
|
| Methods inherited from class java.awt.AWTEvent |
consume,
finalize,
getID,
isConsumed,
toString |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final int GRID_EVENT_FIRST
public static final int GRID_EVENT_LAST
public static final int CELLS_CLICKED
public static final int DOUBLE_CLICKED
public static final int CELLS_RELEASED
public static final int START_EDIT
public static final int COMMIT_EDIT
public static final int CANCEL_EDIT
public static final int RESIZE_ROW
public static final int RESIZE_COL
public static final int SORT_COL
public static final int SEL_CHANGED
| Constructor Detail |
public GridEvent(java.lang.Object source, int id, int col, int row)
source - the component where the event originatedid - the event typecol - the column index of the cellrow - the row index of the cellpublic GridEvent(java.lang.Object source, int id, int modifiers, int col, int row)
source - the component where the event originatedid - the event typecol - the column index of the cellrow - the row index of the cell| Method Detail |
public int getModifiers()
public int getRow()
public int getCol()
public java.lang.String paramString()
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||