Package | org.wiiflash.events |
Class | public final class ButtonEvent |
Inheritance | ButtonEvent ![]() |
Property | Defined by | ||
---|---|---|---|
state : Boolean [read-only]
State of the button.
| ButtonEvent |
Method | Defined by | ||
---|---|---|---|
ButtonEvent(type:String, state:Boolean)
Creates an event object that contains information about button events.
| ButtonEvent |
Constant | Defined by | ||
---|---|---|---|
A_PRESS : String = "aPress" [static]
Type of the A press event.
| ButtonEvent | ||
A_RELEASE : String = "aRelease" [static]
Type of the A release event.
| ButtonEvent | ||
B_PRESS : String = "bPress" [static]
Type of the B press event.
| ButtonEvent | ||
B_RELEASE : String = "bRelease" [static]
Type of the B release event.
| ButtonEvent | ||
C_PRESS : String = "cPress" [static]
Type of the C press event.
| ButtonEvent | ||
C_RELEASE : String = "cRelease" [static]
Type of the C release event.
| ButtonEvent | ||
DOWN_PRESS : String = "downPress" [static]
Type of the Down press event.
| ButtonEvent | ||
DOWN_RELEASE : String = "downRelease" [static]
Type of the Down release event.
| ButtonEvent | ||
HOME_PRESS : String = "homePress" [static]
Type of the Home press event.
| ButtonEvent | ||
HOME_RELEASE : String = "homeRelease" [static]
Type of the Home release event.
| ButtonEvent | ||
LEFT_PRESS : String = "leftPress" [static]
Type of the Left press event.
| ButtonEvent | ||
LEFT_RELEASE : String = "leftRelease" [static]
Type of the Left release event.
| ButtonEvent | ||
L_PRESS : String = "lPress" [static]
Type of the L press event.
| ButtonEvent | ||
L_RELEASE : String = "lRelease" [static]
Type of the L release event.
| ButtonEvent | ||
MINUS_PRESS : String = "minusPress" [static]
Type of the - press event.
| ButtonEvent | ||
MINUS_RELEASE : String = "minusRelease" [static]
Type of the - release event.
| ButtonEvent | ||
ONE_PRESS : String = "onePress" [static]
Type of the 1 press event.
| ButtonEvent | ||
ONE_RELEASE : String = "oneRelease" [static]
Type of the 1 release event.
| ButtonEvent | ||
PLUS_PRESS : String = "plusPress" [static]
Type of the + press event.
| ButtonEvent | ||
PLUS_RELEASE : String = "plusRelease" [static]
Type of the + release event.
| ButtonEvent | ||
RIGHT_PRESS : String = "rightPress" [static]
Type of the Right press event.
| ButtonEvent | ||
RIGHT_RELEASE : String = "rightRelease" [static]
Type of the Right release event.
| ButtonEvent | ||
R_PRESS : String = "rPress" [static]
Type of the R press event.
| ButtonEvent | ||
R_RELEASE : String = "rRelease" [static]
Type of the R release event.
| ButtonEvent | ||
TWO_PRESS : String = "twoPress" [static]
Type of the 2 press event.
| ButtonEvent | ||
TWO_RELEASE : String = "twoRelease" [static]
Type of the 2 release event.
| ButtonEvent | ||
UP_PRESS : String = "upPress" [static]
Type of the Up press event.
| ButtonEvent | ||
UP_RELEASE : String = "upRelease" [static]
Type of the Up release event.
| ButtonEvent | ||
X_PRESS : String = "xPress" [static]
Type of the X press event.
| ButtonEvent | ||
X_RELEASE : String = "xRelease" [static]
Type of the X release event.
| ButtonEvent | ||
Y_PRESS : String = "yPress" [static]
Type of the Y press event.
| ButtonEvent | ||
Y_RELEASE : String = "yRelease" [static]
Type of the Y release event.
| ButtonEvent | ||
ZL_PRESS : String = "zlPress" [static]
Type of the ZL press event.
| ButtonEvent | ||
ZL_RELEASE : String = "zlRelease" [static]
Type of the ZL release event.
| ButtonEvent | ||
Z_PRESS : String = "zPress" [static]
Type of the Z press event.
| ButtonEvent | ||
Z_RELEASE : String = "zRelease" [static]
Type of the Z release event.
| ButtonEvent | ||
ZR_PRESS : String = "zrPress" [static]
Type of the ZR press event.
| ButtonEvent | ||
ZR_RELEASE : String = "zrRelease" [static]
Type of the ZR release event.
| ButtonEvent |
state | property |
state:Boolean
[read-only]
State of the button. true
for down; false
otherwise.
public function get state():Boolean
ButtonEvent | () | constructor |
public function ButtonEvent(type:String, state:Boolean)
Creates an event object that contains information about button events.
Parameterstype:String — The type of the event. Event listeners can access this information through the inherited type property.
|
|
state:Boolean — State of the button. true for down; false otherwise.
|
A_PRESS | constant |
public static const A_PRESS:String = "aPress"
Type of the A press event.
A_RELEASE | constant |
public static const A_RELEASE:String = "aRelease"
Type of the A release event.
B_PRESS | constant |
public static const B_PRESS:String = "bPress"
Type of the B press event.
B_RELEASE | constant |
public static const B_RELEASE:String = "bRelease"
Type of the B release event.
C_PRESS | constant |
public static const C_PRESS:String = "cPress"
Type of the C press event.
C_RELEASE | constant |
public static const C_RELEASE:String = "cRelease"
Type of the C release event.
DOWN_PRESS | constant |
public static const DOWN_PRESS:String = "downPress"
Type of the Down press event.
DOWN_RELEASE | constant |
public static const DOWN_RELEASE:String = "downRelease"
Type of the Down release event.
HOME_PRESS | constant |
public static const HOME_PRESS:String = "homePress"
Type of the Home press event.
HOME_RELEASE | constant |
public static const HOME_RELEASE:String = "homeRelease"
Type of the Home release event.
LEFT_PRESS | constant |
public static const LEFT_PRESS:String = "leftPress"
Type of the Left press event.
LEFT_RELEASE | constant |
public static const LEFT_RELEASE:String = "leftRelease"
Type of the Left release event.
L_PRESS | constant |
public static const L_PRESS:String = "lPress"
Type of the L press event.
L_RELEASE | constant |
public static const L_RELEASE:String = "lRelease"
Type of the L release event.
MINUS_PRESS | constant |
public static const MINUS_PRESS:String = "minusPress"
Type of the - press event.
MINUS_RELEASE | constant |
public static const MINUS_RELEASE:String = "minusRelease"
Type of the - release event.
ONE_PRESS | constant |
public static const ONE_PRESS:String = "onePress"
Type of the 1 press event.
ONE_RELEASE | constant |
public static const ONE_RELEASE:String = "oneRelease"
Type of the 1 release event.
PLUS_PRESS | constant |
public static const PLUS_PRESS:String = "plusPress"
Type of the + press event.
PLUS_RELEASE | constant |
public static const PLUS_RELEASE:String = "plusRelease"
Type of the + release event.
RIGHT_PRESS | constant |
public static const RIGHT_PRESS:String = "rightPress"
Type of the Right press event.
RIGHT_RELEASE | constant |
public static const RIGHT_RELEASE:String = "rightRelease"
Type of the Right release event.
R_PRESS | constant |
public static const R_PRESS:String = "rPress"
Type of the R press event.
R_RELEASE | constant |
public static const R_RELEASE:String = "rRelease"
Type of the R release event.
TWO_PRESS | constant |
public static const TWO_PRESS:String = "twoPress"
Type of the 2 press event.
TWO_RELEASE | constant |
public static const TWO_RELEASE:String = "twoRelease"
Type of the 2 release event.
UP_PRESS | constant |
public static const UP_PRESS:String = "upPress"
Type of the Up press event.
UP_RELEASE | constant |
public static const UP_RELEASE:String = "upRelease"
Type of the Up release event.
X_PRESS | constant |
public static const X_PRESS:String = "xPress"
Type of the X press event.
X_RELEASE | constant |
public static const X_RELEASE:String = "xRelease"
Type of the X release event.
Y_PRESS | constant |
public static const Y_PRESS:String = "yPress"
Type of the Y press event.
Y_RELEASE | constant |
public static const Y_RELEASE:String = "yRelease"
Type of the Y release event.
ZL_PRESS | constant |
public static const ZL_PRESS:String = "zlPress"
Type of the ZL press event.
ZL_RELEASE | constant |
public static const ZL_RELEASE:String = "zlRelease"
Type of the ZL release event.
Z_PRESS | constant |
public static const Z_PRESS:String = "zPress"
Type of the Z press event.
Z_RELEASE | constant |
public static const Z_RELEASE:String = "zRelease"
Type of the Z release event.
ZR_PRESS | constant |
public static const ZR_PRESS:String = "zrPress"
Type of the ZR press event.
ZR_RELEASE | constant |
public static const ZR_RELEASE:String = "zrRelease"
Type of the ZR release event.