|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.ui.action.ActionConcentrator
public class ActionConcentrator
This class is used to collect actions to be enabled or disabled by a sinle call.
Constructor Summary | |
---|---|
ActionConcentrator()
DefaultConstructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionConcentrator()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |