public class ActionConcentrator extends Object
| Constructor and Description |
|---|
ActionConcentrator()
DefaultConstructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(Action a)
Adds the action to this concentrator.
|
boolean |
isEnabled()
Returns, whether all actions are disabled.
|
void |
removeAction(Action a)
Removes the action from this concentrator.
|
void |
setEnabled(boolean b)
Defines the state for all actions.
|
public void addAction(Action a)
a - the action to be added.public void removeAction(Action a)
a - the action to be removed.public void setEnabled(boolean b)
b - the new state for all actions.public boolean isEnabled()
Copyright © 2009-2012 jtstand.com. All Rights Reserved.