Class com.flashdoctors.dose.ui.ToggleButton

Description

ToggleButton class

Method Index

new ToggleButton()
getActive(), getButton1(), getButton2(), getLayoutManager(), init(), setButton1(), setButton2(), setLayoutManager(), toggle()

Inherited from AbstractDisplayable

Constructor Detail

ToggleButton

public function ToggleButton()

Method Detail

init

public function init():Void

toggle

public function toggle(b:IMouseable):Void

// TODO: Add description of the toggle method.

Return

Void

setLayoutManager

public function setLayoutManager(layout:ILayoutManager):Void

Sets the layoutManager value of this ToggleButton.

Parameters

layouta value for layout

Return

Void

getLayoutManager

public function getLayoutManager():ILayoutManager

Gets the layoutManager value of this ToggleButton.

Return

ILayoutManager

setButton1

public function setButton1(button:IMouseable):Void

Sets the button1 value of this ToggleButton.

Parameters

buttona value for button

Return

Void

getButton1

public function getButton1():IMouseable

Gets the button1 value of this ToggleButton.

Return

IButton

setButton2

public function setButton2(button:IMouseable):Void

Sets the button2 value of this ToggleButton.

Parameters

buttona value for button

Return

Void

getButton2

public function getButton2():IMouseable

Gets the button2 value of this ToggleButton.

Return

IButton

getActive

public function getActive():IMouseable