|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines what key can be used as a shortcut. Each KeyStrokeContext
exposes this information which is use in the KeyStrokePanel to limit the user
in the choice of the shortcuts.
Since I only expect two kinds of constraints, you should use the
KeyStrokesConstraints (a kind of factory) to get one of the two standard
constrains.
Method Summary | |
boolean |
isAcceptableKey(KeyStrokes kss,
javax.swing.KeyStroke ksNew)
Returns true if the KeyStroke can be added to the KeyStrokes. |
Method Detail |
public boolean isAcceptableKey(KeyStrokes kss, javax.swing.KeyStroke ksNew)
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.