org.jfree.ui.action
public class ActionConcentrator extends Object
| Constructor Summary | |
|---|---|
| ActionConcentrator()
DefaultConstructor. | |
| Method Summary | |
|---|---|
| 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.
|
Parameters: a the action to be added.
Returns: true, if at least one action is enabled, false otherwise.
Parameters: a the action to be removed.
Parameters: b the new state for all actions.