Class com.flashdoctors.dose.command.ToggleButtonCommand

Description

Command used to swap the currently displayed button of a ToggleButton

Method Index

execute(), getNewButton(), getToggleButton(), setNewButton(), setToggleButton()

Inherited from AbstractCommand

Method Detail

setNewButton

public function setNewButton(button:IMouseable):Void

Sets the new button to be displayed.

Parameters

buttonthe new button to be displayed

Return

Void

getNewButton

public function getNewButton():IMouseable

Gets the new button to be displayed

Return

ToggleButton

setToggleButton

public function setToggleButton(button:ToggleButton):Void

Sets the ToggleButton value of this ToggleButtonCommand.

getToggleButton

public function getToggleButton():ToggleButton

Gets the ToggleButton value of this ToggleButtonCommand.

Return

ToggleButton

execute

public function execute():Void

Executes this command.

Return

Void

Specified By

execute() in com.flashdoctors.reflex.ICommand

Overrides

execute() in com.flashdoctors.reflex.AbstractCommand

See Also