Packagestarling.display
Classpublic class ButtonState
InheritanceButtonState Inheritance Object

A class that provides constant values for the states of the Button class.



Public Methods
 MethodDefined By
  
isValid(state:String):Boolean
[static] Indicates whether the given state string is valid.
ButtonState
Public Constants
 ConstantDefined By
  DISABLED : String = disabled
[static] The button was disabled altogether.
ButtonState
  DOWN : String = down
[static] The button is pressed.
ButtonState
  OVER : String = over
[static] The mouse hovers over the button.
ButtonState
  UP : String = up
[static] The button's default state.
ButtonState
Method Detail
isValid()method
public static function isValid(state:String):Boolean

Indicates whether the given state string is valid.

Parameters

state:String

Returns
Boolean
Constant Detail
DISABLEDConstant
public static const DISABLED:String = disabled

The button was disabled altogether.

DOWNConstant 
public static const DOWN:String = down

The button is pressed.

OVERConstant 
public static const OVER:String = over

The mouse hovers over the button.

UPConstant 
public static const UP:String = up

The button's default state.