|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgraphlab.main.core.Configuration
public class Configuration
we have some groups of actions in the program. the actions are managed in some groups, whenever one action in a group enabled , all the other Actions in the group are disabled... User: azin Date: Dec 22, 2004 Time: 8:50:24 PM
| Constructor Summary | |
|---|---|
Configuration()
|
|
| Method Summary | |
|---|---|
void |
addToGroup(java.lang.String groupname,
AbstractAction... actions)
adds on or more than one action to the group |
void |
enableAction(AbstractAction a)
enables the action and disables all the other actions in its group |
void |
registerGroup(java.lang.String groupname)
register an empty group in the configuration |
void |
removeActionFromGroup(AbstractAction a,
java.lang.String groupname)
removes an action from the specific group |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Configuration()
| Method Detail |
|---|
public void registerGroup(java.lang.String groupname)
groupname - name of group
public void removeActionFromGroup(AbstractAction a,
java.lang.String groupname)
a - groupname - public void enableAction(AbstractAction a)
a - the action to be enabled
public void addToGroup(java.lang.String groupname,
AbstractAction... actions)
groupname - actions -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||