Command used to swap the currently displayed button of a ToggleButton
public function setNewButton(button:IMouseable):Void
Sets the new button to be displayed.
button | the new button to be displayed |
Void
public function getNewButton():IMouseable
Gets the new button to be displayed
ToggleButton
public function setToggleButton(button:ToggleButton):Void
Sets the ToggleButton value of this ToggleButtonCommand.
public function execute():Void
Executes this command.
Void
execute() in com.flashdoctors.reflex.ICommand
execute() in com.flashdoctors.reflex.AbstractCommand