|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.psika.numerist.SharedActions
public final class SharedActions
Shareable actions.
Nested Class Summary | |
---|---|
static class |
SharedActions.Actions
Shareable actions. |
Constructor Summary | |
---|---|
SharedActions()
|
Method Summary | |
---|---|
static boolean |
actionTest(SharedActions.Actions action)
Some tests used to make GUI interface behave dynamic. |
static javax.swing.Action |
getAction(SharedActions.Actions action)
Simple switch returning action handlers without parameters. |
javax.swing.Action |
getAction(SharedActions.Actions action,
java.lang.Object param)
Get parametrized action handlers. |
static SharedActions |
getInstance()
Get singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SharedActions()
Method Detail |
---|
public static final SharedActions getInstance()
public static javax.swing.Action getAction(SharedActions.Actions action)
action
- action type
public javax.swing.Action getAction(SharedActions.Actions action, java.lang.Object param)
action
- action typeparam
- action parameter
java.lang.IllegalArgumentException
- when called with action type which is not knownpublic static boolean actionTest(SharedActions.Actions action)
action
-
true
if action could be triggered, else false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |