|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.borg.common.Resource.ComponentParms
public static class Resource.ComponentParms
ComponentParms contains the text and keyboard shortcut info for a resource string. Most resource strings do not have keyboard shortcut info.
Constructor Summary | |
---|---|
Resource.ComponentParms(String text,
int keyEvent,
KeyStroke keyStroke)
Instantiates a new component parms. |
Method Summary | |
---|---|
int |
getKeyEvent()
Gets the key event. |
KeyStroke |
getKeyStroke()
Gets the key stroke. |
String |
getText()
Gets the text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Resource.ComponentParms(String text, int keyEvent, KeyStroke keyStroke)
text
- the textkeyEvent
- the key eventkeyStroke
- the key strokeMethod Detail |
---|
public final int getKeyEvent()
public final KeyStroke getKeyStroke()
public final String getText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |