Packageview.flex.surfaceComponents.components
Classpublic class Container
InheritanceContainer Inheritance spark.components.BorderContainer
Implements view.interfaces.ILayoutContainer, view.interfaces.IFlexSurfaceComponent

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
  backgroundColor : uint
Container
  containerStyles : Dictionary
Container
  containerType : String
Container
  containerTypes : ArrayList
[read-only]
Container
  isSelected : Boolean
Container
  layoutType : String
Container
  layoutTypes : ArrayList
[read-only]
Container
  propertiesChangedEvents : Array
[read-only]
Container
  propertyEditorClass : Class
[read-only]
Container
Public Methods
 MethodDefined By
  
Container
  
fromXML(xml:XML, callback:Function, lookup:ILookup = null):void
Container
  
toCode():XML
Container
  
toRora():XML
Container
  
Container
  
toXML():XML
Container
Protected Methods
 MethodDefined By
  
Container
  
setContainerStylesFromString(value:String):void
Container
  
setStyleProperty(attr:String, value:String):void
Container
Public Constants
 ConstantDefined By
  CONTAINER_GROUP : String = Group
[static]
Container
  CONTAINER_HGROUP : String = HGroup
[static]
Container
  CONTAINER_VGROUP : String = VGroup
[static]
Container
  ELEMENT_NAME : String = container
[static]
Container
  LAYOUT_BASIC : String = BasicLayout
[static]
Container
  LAYOUT_HORIZONTAL : String = HorizontalLayout
[static]
Container
  LAYOUT_VERTICAL : String = VerticalLayout
[static]
Container
  MXML_ELEMENT_NAME : String = BorderContainer
[static]
Container
Property Detail
backgroundColorproperty
backgroundColor:uint

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


Implementation
    public function get backgroundColor():uint
    public function set backgroundColor(value:uint):void
containerStylesproperty 
containerStyles:Dictionary

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


Implementation
    public function get containerStyles():Dictionary
    public function set containerStyles(value:Dictionary):void
containerTypeproperty 
containerType:String

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


Implementation
    public function get containerType():String
    public function set containerType(value:String):void
containerTypesproperty 
containerTypes:ArrayList  [read-only]


Implementation
    public function get containerTypes():ArrayList
isSelectedproperty 
isSelected:Boolean


Implementation
    public function get isSelected():Boolean
    public function set isSelected(value:Boolean):void
layoutTypeproperty 
layoutType:String

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


Implementation
    public function get layoutType():String
    public function set layoutType(value:String):void
layoutTypesproperty 
layoutTypes:ArrayList  [read-only]


Implementation
    public function get layoutTypes():ArrayList
propertiesChangedEventsproperty 
propertiesChangedEvents:Array  [read-only]


Implementation
    public function get propertiesChangedEvents():Array
propertyEditorClassproperty 
propertyEditorClass:Class  [read-only]


Implementation
    public function get propertyEditorClass():Class
Constructor Detail
Container()Constructor
public function Container()



Method Detail
fromXML()method
public function fromXML(xml:XML, callback:Function, lookup:ILookup = null):void

Parameters

xml:XML
 
callback:Function
 
lookup:ILookup (default = null)

getContainerStylesString()method 
protected function getContainerStylesString():String

Returns
String
setContainerStylesFromString()method 
protected function setContainerStylesFromString(value:String):void

Parameters

value:String

setStyleProperty()method 
protected function setStyleProperty(attr:String, value:String):void

Parameters

attr:String
 
value:String

toCode()method 
public function toCode():XML

Returns
XML
toRora()method 
public function toRora():XML

Returns
XML
toRoyaleConvertCode()method 
public function toRoyaleConvertCode():XML

Returns
XML
toXML()method 
public function toXML():XML

Returns
XML
Constant Detail
CONTAINER_GROUPConstant
public static const CONTAINER_GROUP:String = Group

CONTAINER_HGROUPConstant 
public static const CONTAINER_HGROUP:String = HGroup

CONTAINER_VGROUPConstant 
public static const CONTAINER_VGROUP:String = VGroup

ELEMENT_NAMEConstant 
public static const ELEMENT_NAME:String = container

LAYOUT_BASICConstant 
public static const LAYOUT_BASIC:String = BasicLayout

LAYOUT_HORIZONTALConstant 
public static const LAYOUT_HORIZONTAL:String = HorizontalLayout

LAYOUT_VERTICALConstant 
public static const LAYOUT_VERTICAL:String = VerticalLayout

MXML_ELEMENT_NAMEConstant 
public static const MXML_ELEMENT_NAME:String = BorderContainer