|
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 | +--com.klg.jclass.higrid.HiGridAction
HiGridAction
is responsible for defining a
mapping from a user event to an action performed on HiGrid.
For example, HiGridAction
can be used to map
a Control LeftClick to a selection event.
Field Summary | |
protected int |
action
action property. |
static int |
CANCEL_EDIT_ACTION
Action constant for cancelling all edits in the current editor. |
static int |
CLOSE_TABLE_ACTION
Action constant for collapsing the current row. |
static int |
COLUMN_SELECT_ACTION
Action constant for column selection. |
static int |
COPY_ACTION
Action constant for copy rows. |
static int |
GROUP_ROW_SELECT_ACTION
Action constant for contiguous group row selection. |
static int |
IGNORE_ACTION
Action constant to ignore keys. |
protected com.klg.jclass.higrid.ActionInitiator |
initiator
initiator property. |
static int |
MOVE_DOWN_ACTION
Action constant for moving the editor down one cell. |
static int |
MOVE_END_ACTION
Action constant for moving the editor to the last column on the current row. |
static int |
MOVE_GRID_END_ACTION
Action constant for moving the editor to the last row and column of the grid. |
static int |
MOVE_GRID_HOME_ACTION
Action constant for moving the editor to the first row and column of the grid. |
static int |
MOVE_HOME_ACTION
Action constant for moving the editor to the first column on the current row. |
static int |
MOVE_LEFT_ACTION
Action constant for moving the editor left one cell. |
static int |
MOVE_NEXT_ACTION
Action constant for moving the editor to the next cell. |
static int |
MOVE_PAGE_DOWN_ACTION
Action constant for moving the editor one page down. |
static int |
MOVE_PAGE_LEFT_ACTION
Action constant for scrolling the grid one page left. |
static int |
MOVE_PAGE_RIGHT_ACTION
Action constant for scrolling the grid one page right. |
static int |
MOVE_PAGE_UP_ACTION
Action constant for moving the editor one page up. |
static int |
MOVE_PREVIOUS_ACTION
Action constant for moving the editor to the previous cell. |
static int |
MOVE_RIGHT_ACTION
Action constant for moving the editor right one cell. |
static int |
MOVE_UP_ACTION
Action constant for moving the editor up one cell. |
static int |
NO_ACTION
Action constant for no matching action. |
static int |
OPEN_TABLE_ACTION
Action constant for expanding the current row. |
static int |
PASTE_ACTION
Action constant for paste range. |
static int |
POPUP_MENU_ACTION
Action constant for invoking the popup menu. |
static int |
SINGLE_ROW_SELECT_ACTION
Action constant for row selection/deselection. |
static int |
STOP_EDIT_ACTION
Action constant for saving all edits in the current editor. |
Constructor Summary | |
HiGridAction(com.klg.jclass.higrid.ActionInitiator initiator,
int action)
A public constructor that creates a mapping from a series of modifiers to a action. |
Method Summary | |
int |
getAction()
Gets the value of the Action property for this
ActionInitiator instance. |
com.klg.jclass.higrid.ActionInitiator |
getInitiator()
Gets the ActionInitiator for this
HiGridAction . |
boolean |
isMatch(com.klg.jclass.higrid.HiGrid grid,
AWTEvent event)
Returns true if the event has a matching action set. |
void |
setAction(int action)
Sets the value of the Action property for this HiGridAction
instance. |
void |
setInitiator(com.klg.jclass.higrid.ActionInitiator initiator)
Sets the ActionInitiator for this
HiGridAction . |
String |
toString()
Convert to a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected com.klg.jclass.higrid.ActionInitiator initiator
protected int action
public static final int NO_ACTION
public static final int MOVE_LEFT_ACTION
public static final int MOVE_RIGHT_ACTION
public static final int MOVE_UP_ACTION
public static final int MOVE_DOWN_ACTION
public static final int MOVE_PAGE_UP_ACTION
public static final int MOVE_PAGE_DOWN_ACTION
public static final int MOVE_PAGE_LEFT_ACTION
public static final int MOVE_PAGE_RIGHT_ACTION
public static final int MOVE_HOME_ACTION
public static final int MOVE_END_ACTION
public static final int MOVE_GRID_HOME_ACTION
public static final int MOVE_GRID_END_ACTION
public static final int MOVE_NEXT_ACTION
public static final int MOVE_PREVIOUS_ACTION
public static final int OPEN_TABLE_ACTION
public static final int CLOSE_TABLE_ACTION
public static final int STOP_EDIT_ACTION
public static final int CANCEL_EDIT_ACTION
public static final int POPUP_MENU_ACTION
public static final int COLUMN_SELECT_ACTION
public static final int SINGLE_ROW_SELECT_ACTION
public static final int GROUP_ROW_SELECT_ACTION
public static final int IGNORE_ACTION
public static final int COPY_ACTION
public static final int PASTE_ACTION
Constructor Detail |
public HiGridAction(com.klg.jclass.higrid.ActionInitiator initiator, int action)
Method Detail |
public com.klg.jclass.higrid.ActionInitiator getInitiator()
ActionInitiator
for this
HiGridAction
.
setInitiator(com.klg.jclass.higrid.ActionInitiator)
public void setInitiator(com.klg.jclass.higrid.ActionInitiator initiator)
ActionInitiator
for this
HiGridAction
.
KeyActionInitiator
,
MouseActionInitiator
public int getAction()
Action
property for this
ActionInitiator
instance.
The Action
property determines what action will be
performed when the specified AWT event occurs.
public void setAction(int action)
Action
property for this HiGridAction
instance. The Action
property determines what action will
be performed when the specified AWT event occurs.
public boolean isMatch(com.klg.jclass.higrid.HiGrid grid, AWTEvent event)
public String toString()
toString
in class Object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |