Class com.flashdoctors.dose.command.ActivateCommand

Implemented Interfaces

ICommand

Description

This command simply handles activating an item within a group.
(this command is added to the clickCommands of TabButton by TabGroup when a button is added to the group.)

Method Index

new ActivateCommand()
execute(), setNewItem()

Inherited from AbstractCommand

Constructor Detail

ActivateCommand

public function ActivateCommand(item:IGroupable)

Constructor that creates a new ActivateCommand with the item to activate.

Parameters

itemThe item to activate within a group.

Method Detail

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

setNewItem

public function setNewItem(item:IGroupable):Void

Sets the item to be activated within it's group

Parameters

itemthe item to be activated

Return

Void