|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.command.BaseCommand
com.tensegrity.skeleton.commands.CommonBaseCommand
com.tensegrity.skeleton.commands.ToggleRightColumnCommand
This Command shows or hides the right part of the
ApplicationFrame.
Note that applications based upon the skeleton should extend
SwingFrameLayoutController
in order to use the ToggleRightColumnCommand.
| Constructor Summary | |
ToggleRightColumnCommand(ApplicationFrame applicationFrame,
java.lang.String command)
This is the 's default
constructor. |
|
| Method Summary | |
protected void |
doPerform()
Internally calls .
|
boolean |
isActive()
Returns true, if the toggle command is currently selected (activated). |
void |
perform(java.lang.Object args)
Internally calls super.perform(args) then
and finally does application wide status updates. |
| Methods inherited from class com.tensegrity.skeleton.commands.CommonBaseCommand |
getApplicationFrame, getTitle |
| Methods inherited from class com.tensegrity.generic.command.BaseCommand |
getDescription, getId, getPerformDescription, isEnabled, setEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tensegrity.generic.command.Command |
getDescription, getId, getPerformDescription, isEnabled, setEnabled |
| Constructor Detail |
public ToggleRightColumnCommand(ApplicationFrame applicationFrame,
java.lang.String command)
ToggleRightColumnCommand's default
constructor.
applicationFrame - this is the ApplicationFrame instance
which is herein used to access various components of the
application (command registry, layout controller, ... ).command - this is a unique identifier for the command.| Method Detail |
public void perform(java.lang.Object args)
super.perform(args) then doPerform()
and finally does application wide status updates.
perform in interface Commandperform in class CommonBaseCommandCommand.perform(java.lang.Object)protected void doPerform()
Internally calls .
SwingFrameLayoutController.toggleRightColumn()
public boolean isActive()
ToggleCommand
isActive in interface ToggleCommandToggleCommand.isActive()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||