Packageorg.apache.flex.createjs.core
Classpublic class ViewBase
InheritanceViewBase Inheritance UIBase Inheritance flash.display.Sprite
Implements IParent

Default MXML PropertymxmlContent



Public Properties
 PropertyDefined By
  applicationModel : Object
[read-only]
ViewBase
 Inheritedbeads : Array
UIBase
 Inheritedheight : Number
[override]
UIBase
 Inheritedid : String
UIBase
 Inheritedmodel : IBeadModel
UIBase
  mxmlContent : Array
ViewBase
  MXMLDescriptor : Array
[read-only]
ViewBase
  MXMLProperties : Array
[read-only]
ViewBase
  numElements : int
[read-only]
ViewBase
 Inheritedwidth : Number
[override]
UIBase
Protected Properties
 PropertyDefined By
 Inherited$height : Number
[read-only]
UIBase
 Inherited$width : Number
[read-only]
UIBase
Public Methods
 MethodDefined By
  
ViewBase
 Inherited
addBead(bead:IBead):void
UIBase
  
addElement(c:Object):void
ViewBase
  
addElementAt(c:Object, index:int):void
ViewBase
 Inherited
getBeadByType(classOrInterface:Class):IBead
UIBase
  
getElementIndex(c:Object):int
ViewBase
  
initUI(model:Object):void
ViewBase
 Inherited
UIBase
  
removeElement(c:Object):void
ViewBase
Property Detail
applicationModelproperty
applicationModel:Object  [read-only]

This property can be used as the source for data binding.


Implementation
    public function get applicationModel():Object
mxmlContentproperty 
public var mxmlContent:Array

MXMLDescriptorproperty 
MXMLDescriptor:Array  [read-only]


Implementation
    public function get MXMLDescriptor():Array
MXMLPropertiesproperty 
MXMLProperties:Array  [read-only]


Implementation
    public function get MXMLProperties():Array
numElementsproperty 
numElements:int  [read-only]


Implementation
    public function get numElements():int
Constructor Detail
ViewBase()Constructor
public function ViewBase()



Method Detail
addElement()method
public function addElement(c:Object):void

Parameters

c:Object

addElementAt()method 
public function addElementAt(c:Object, index:int):void

Parameters

c:Object
 
index:int

getElementIndex()method 
public function getElementIndex(c:Object):int

Parameters

c:Object

Returns
int
initUI()method 
public function initUI(model:Object):void

Parameters

model:Object

removeElement()method 
public function removeElement(c:Object):void

Parameters

c:Object