|
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.cell.JCKeyModifier
This class is a container for a key code and a modifier
value. It is used by JCCellEditor
to pass back reserved
key/modifier combinations.
Field Summary | |
static int |
ALL
Modifier value that indicates all modifiers active. |
boolean |
canInitializeEdit
Determines whether the key and modifier can be used to initialize an edit. |
int |
key
Key code. |
int |
modifier
Modifer for the key code. |
static int |
NONE
Modifier value that indicates no modifiers active. |
Constructor Summary | |
JCKeyModifier(int key)
Constructor used to represent a key press with all modifiers active. |
|
JCKeyModifier(int key,
int modifier)
Convenience constructor. |
|
JCKeyModifier(int key,
int modifier,
boolean canInitializeEdit)
Convenience constructor. |
Method Summary | |
boolean |
match(int key,
int modifier)
Determines whether the specified key/modifier combination matches the one stored in this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int key
public int modifier
public boolean canInitializeEdit
public static final int ALL
public static final int NONE
Constructor Detail |
public JCKeyModifier(int key, int modifier, boolean canInitializeEdit)
ALL
to specify that all modifiers
apply to this keycode. If a key plus modifier are flagged true
for
canInitializeEdit
, then that key combination will invoke the
editor.
canInitializeEdit
- key
- modifier
- public JCKeyModifier(int key, int modifier)
ALL
to specify that all modifiers
apply to this keycode.
key
- modifier
- public JCKeyModifier(int key)
key
- Method Detail |
public boolean match(int key, int modifier)
key
- modifier
-
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |