|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jsxe.ActionSet
A set of actions.
Constructor Summary | |
ActionSet()
Creates a new action set. |
|
ActionSet(String label)
Creates a new action set. |
Method Summary | |
void |
addAction(LocalizedAction action)
Adds an action to the action set. |
boolean |
contains(LocalizedAction action)
Returns if this action set contains the specified action. |
LocalizedAction |
getAction(String name)
Returns the action with the specified name. |
int |
getActionCount()
Returns the number of actions in the set. |
String[] |
getActionNames()
Returns an array of all action names in this action set. |
LocalizedAction[] |
getActions()
Returns an array of all actions in this action set. |
String |
getLabel()
Return the action source label. |
void |
removeAction(String name)
Removes an action from the action set. |
void |
removeAllActions()
Removes all actions from the action set. |
void |
setLabel(String label)
Sets the action source label. |
String |
toString()
Returns getLabel() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ActionSet()
public ActionSet(String label)
label
- The label for the action setMethod Detail |
public String getLabel()
public void setLabel(String label)
label
- The labelpublic void addAction(LocalizedAction action)
getName()
method of
the LocalizedAction.
action
- The actionpublic void removeAction(String name)
name
- The internal action namepublic void removeAllActions()
public LocalizedAction getAction(String name)
name
- The action namepublic int getActionCount()
public String[] getActionNames()
public LocalizedAction[] getActions()
public boolean contains(LocalizedAction action)
action
- The actionpublic String toString()
getLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |