Package | com.divillysausages.gameobjeditor.component |
Class | public class GOEComponent |
Inheritance | GOEComponent ![]() |
Subclasses | CheckboxComponent, ColourComponent, ComboBoxComponent, InputComponent, SliderComponent, StepperComponent, WatchComponent |
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 [read-only]
The width of the component
| GOEComponent |
Property | Defined By | ||
---|---|---|---|
m_component : Component = null | GOEComponent | ||
m_editVar : EditableVar = null | GOEComponent | ||
m_obj : * = null | GOEComponent | ||
m_spacing : Number = 5.0 | GOEComponent |
Method | Defined By | ||
---|---|---|---|
GOEComponent(obj:*, variable:EditableVar)
Creates the new component
| GOEComponent | ||
destroy():void
Destroys the component and clears it for garbage collection
| GOEComponent | ||
update():void
Updates the info on the component
| GOEComponent |
hasReadAccess | property |
hasReadAccess:Boolean
[read-only] Does this component edit a variable that has read access?
public function get hasReadAccess():Boolean
height | property |
height:Number
[read-only] The height of the component
public function get height():Number
m_component | property |
protected var m_component:Component = null
m_editVar | property |
protected var m_editVar:EditableVar = null
m_obj | property |
protected var m_obj:* = null
m_spacing | property |
protected var m_spacing:Number = 5.0
type | property |
type:String
[read-only] The type of the component. Use the statics from the EditableTypes class
public function get type():String
width | property |
width:Number
[read-only] The width of the component
public function get width():Number
GOEComponent | () | Constructor |
public function GOEComponent(obj:*, variable:EditableVar)
Creates the new component
Parametersobj:* — The object that we're editing
| |
variable:EditableVar — All the info about the variable that we're editing
|
destroy | () | method |
public function destroy():void
Destroys the component and clears it for garbage collection
update | () | method |
public function update():void
Updates the info on the component