|
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.KeyActionInitiator
A KeyActionInitiator
is used by HiGridAction
to
associate a combination of key code and modifier to a specific action
on HiGrid.
Field Summary | |
int |
keycode
Key code. |
int |
modifier
Modifier for the key code. |
Fields inherited from interface com.klg.jclass.higrid.ActionInitiator |
ANY_MODIFIER_MASK, NO_MODIFIER_MASK |
Constructor Summary | |
KeyActionInitiator(int keycode,
int modifier)
Creates a new KeyActionInitiator given a key and modifier. |
Method Summary | |
boolean |
isMatch(AWTEvent e)
Returns true if the given event matches the ActionInitiator settings. |
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 |
public int keycode
public int modifier
Constructor Detail |
public KeyActionInitiator(int keycode, int modifier)
KeyActionInitiator
given a key and modifier.
Valid modifiers are:
InputEvent.ALT_GRAPH_MASK
InputEvent.ALT_MASK
InputEvent.CTRL_MASK
InputEvent.META_MASK
InputEvent.SHIFT_MASK
ActionInitiator.NO_MODIFIER_MASK
ActionInitiator.ANY_MODIFIER_MASK
Method Detail |
public boolean isMatch(AWTEvent e)
isMatch
in interface ActionInitiator
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 |