public class ActionConcentrator extends java.lang.Object
Constructor and Description |
---|
ActionConcentrator()
DefaultConstructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAction(javax.swing.Action a)
Adds the action to this concentrator.
|
boolean |
isEnabled()
Returns, whether all actions are disabled.
|
void |
removeAction(javax.swing.Action a)
Removes the action from this concentrator.
|
void |
setEnabled(boolean b)
Defines the state for all actions.
|
public ActionConcentrator()
public void addAction(javax.swing.Action a)
a
- the action to be added.public void removeAction(javax.swing.Action a)
a
- the action to be removed.public void setEnabled(boolean b)
b
- the new state for all actions.public boolean isEnabled()