|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.psychomad.psycholib.ui.EasyActions
public abstract class EasyActions
This class ease the creation of Actions.
| Field Summary | |
|---|---|
protected java.util.Hashtable<java.lang.String,javax.swing.Action> |
commands
Hashtable containing the commands. |
| Constructor Summary | |
|---|---|
EasyActions()
The coonstructor instanciate required components. |
|
| Method Summary | |
|---|---|
javax.swing.Action |
getAction(java.lang.String cmd)
Allow to retrieve an action from the whole set of available action. |
abstract javax.swing.Action[] |
getActions()
Fetch the list of actions supported by this application. |
protected abstract void |
updateStateActions()
This method is able to decide which action is enabled or disable in the current state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Hashtable<java.lang.String,javax.swing.Action> commands
| Constructor Detail |
|---|
public EasyActions()
| Method Detail |
|---|
public abstract javax.swing.Action[] getActions()
public javax.swing.Action getAction(java.lang.String cmd)
protected abstract void updateStateActions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||