Packageview.primeFaces.surfaceComponents.components
Classpublic class Include
InheritanceInclude Inheritance spark.components.BorderContainer
Implements view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IHistorySurfaceComponent, view.interfaces.IInitializeAfterAddedComponent

Representation of PrimeFaces include component.

Visual Editor XML:
     <Include
     Attributes
     width="110"
     height="110"
     src=""/>
     
PrimeFaces output:
     <ui:include
     Attributes
     style="width:110px;height:110px;"
     src=""/>
     

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
  height : Number
[override] [read-only] PrimeFaces: style
Include
  path : String
PrimeFaces: src
Include
  percentHeight : Number
[override] [read-only] PrimeFaces: style
Include
  percentWidth : Number
[override] [read-only] PrimeFaces: style
Include
  width : Number
[override] [read-only] PrimeFaces: src
Include
Public Methods
 MethodDefined By
  
Include
  
toRora():XML
Include
  
Include
Public Constants
 ConstantDefined By
  ELEMENT_NAME : String = Include
[static]
Include
  PRIME_FACES_XML_ELEMENT_NAME : String = include
[static]
Include
Property Detail
heightproperty
height:Number  [read-only] [override]

PrimeFaces: style

The default value is "110".

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


Implementation
    public function get height():Number

Example
Visual Editor XML:
<Include height="110"/>
PrimeFaces:
<ui:include style="width:110px;height:110px;"/>
pathproperty 
path:String

PrimeFaces: src

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


Implementation
    public function get path():String
    public function set path(value:String):void

Example
Visual Editor XML:
<Include src=""/>
PrimeFaces:
<ui:include src=""/>
percentHeightproperty 
percentHeight:Number  [read-only] [override]

PrimeFaces: style

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


Implementation
    public function get percentHeight():Number

Example
Visual Editor XML:
<Include percentHeight="80"/>
PrimeFaces:
<ui:include style="height:80%;"/>
percentWidthproperty 
percentWidth:Number  [read-only] [override]

PrimeFaces: style

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


Implementation
    public function get percentWidth():Number

Example
Visual Editor XML:
<Include percentWidth="80"/>
PrimeFaces:
<ui:include style="width:80%;"/>
widthproperty 
width:Number  [read-only] [override]

PrimeFaces: src

The default value is "110".

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


Implementation
    public function get width():Number

Example
Visual Editor XML:
<Include width="110"/>
PrimeFaces:
<ui:include style="width:110px;height:110px;"/>
Constructor Detail
Include()Constructor
public function Include()



Method Detail
toRora()method
public function toRora():XML

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

Returns
XML
Constant Detail
ELEMENT_NAMEConstant
public static const ELEMENT_NAME:String = Include

PRIME_FACES_XML_ELEMENT_NAMEConstant 
public static const PRIME_FACES_XML_ELEMENT_NAME:String = include