Package | com.divillysausages.gameobjeditor.component |
Class | public class StepperComponent |
Inheritance | StepperComponent ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | hasReadAccess : Boolean [read-only]
Does this component edit a variable that has read access?
| GOEComponent | |
![]() | height : Number [read-only]
The height of the component
| GOEComponent | |
![]() | type : String [read-only]
The type of the component. | GOEComponent | |
width : Number [override] [read-only]
The width of the component
| StepperComponent |
Method | Defined By | ||
---|---|---|---|
StepperComponent(obj:*, variable:EditableVar, parent:DisplayObjectContainer = null, x:Number = 0.0, y:Number = 0.0)
Creates a new StepperComponent
| StepperComponent | ||
destroy():void [override]
Destroys the StepperComponent and clears it for garbage collection
| StepperComponent | ||
update():void [override]
Updates the StepperComponent to always match our object's variable
| StepperComponent |
width | property |
width:Number
[read-only] [override] The width of the component
public function get width():Number
StepperComponent | () | Constructor |
public function StepperComponent(obj:*, variable:EditableVar, parent:DisplayObjectContainer = null, x:Number = 0.0, y:Number = 0.0)
Creates a new StepperComponent
Parametersobj:* — The object that we're dealing with
| |
variable:EditableVar — The EditableVar object that holds our variable info
| |
parent:DisplayObjectContainer (default = null ) — The DisplayObjectContainer to add this component to
| |
x:Number (default = 0.0 ) — The component x position
| |
y:Number (default = 0.0 ) — The component y position
|
destroy | () | method |
override public function destroy():void
Destroys the StepperComponent and clears it for garbage collection
update | () | method |
override public function update():void
Updates the StepperComponent to always match our object's variable