Package | com.divillysausages.gameobjeditor.event |
Class | public class ToggleEvent |
Inheritance | ToggleEvent ![]() |
Property | Defined By | ||
---|---|---|---|
value : Boolean = false
The value to toggle to
| ToggleEvent |
Method | Defined By | ||
---|---|---|---|
ToggleEvent(type:String, value:Boolean, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new ToggleEvent
| ToggleEvent | ||
clone():Event [override]
Clones the event and returns a new copy
| ToggleEvent | ||
toString():String [override]
Returns the String version of the event
| ToggleEvent |
value | property |
public var value:Boolean = false
The value to toggle to
ToggleEvent | () | Constructor |
public function ToggleEvent(type:String, value:Boolean, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new ToggleEvent
Parameterstype:String — The type of the event
| |
value:Boolean — The value to toggle to
| |
bubbles:Boolean (default = false ) — Whether the event bubbles or not
| |
cancelable:Boolean (default = false ) — Whether the event is cancelable or not
|
clone | () | method |
override public function clone():Event
Clones the event and returns a new copy
ReturnsEvent — A new ToggleEvent object that's a clone of this one
|
toString | () | method |
override public function toString():String
Returns the String version of the event
ReturnsString |