Packageview.primeFaces.surfaceComponents.components
Classpublic class Tree
InheritanceTree Inheritance mx.controls.Tree
Implements view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IHistorySurfaceComponent, view.interfaces.ICDATAInformation

Representation of PrimeFaces tree component.

Visual Editor XML:
     <Tree
     Attributes
     width="120"
     height="120"
     var=""
     value="">
      <TreeNode value="#{}"/>
     </Tree>
     
PrimeFaces output:
     <p:tree
     Attributes
     style="width:120px;height:120px;"
     var=""
     value="">
      <p:treeNode>
          <h:outputText value="#{}"/>
      </p:treeNode>
     </p:tree>
     

Default MXML PropertydataProvider



Public Properties
 PropertyDefined By
  height : Number
[override] [read-only] PrimeFaces: style
Tree
  percentHeight : Number
[override] [read-only] PrimeFaces: style
Tree
  percentWidth : Number
[override] [read-only] PrimeFaces: style
Tree
  treeValue : String
PrimeFaces: value
Tree
  treeVar : String
PrimeFaces: var
Tree
  width : Number
[override] [read-only] PrimeFaces: style
Tree
Public Methods
 MethodDefined By
  
Tree
  
toRora():XML
Tree
  
Tree
Public Constants
 ConstantDefined By
  ELEMENT_NAME : String = Tree
[static]
Tree
  PRIME_FACES_XML_ELEMENT_NAME : String = tree
[static]
Tree
Property Detail
heightproperty
height:Number  [read-only] [override]

PrimeFaces: style

The default value is "20".

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


Implementation
    public function get height():Number

Example
Visual Editor XML:
<Tree height="20"/>
PrimeFaces:
<p:tree style="width:121px;height:20px;"/>
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:
<Tree percentHeight="80"/>
PrimeFaces:
<p:tree 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:
<Tree percentWidth="80"/>
PrimeFaces:
<p:tree style="width:80%;"/>
treeValueproperty 
treeValue:String

PrimeFaces: value

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


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

Example
Visual Editor XML:
<Tree value=""/>
PrimeFaces:
<p:tree value=""/>
treeVarproperty 
treeVar:String

PrimeFaces: var

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


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

Example
Visual Editor XML:
<Tree var=""/>
PrimeFaces:
<p:tree var=""/>
widthproperty 
width:Number  [read-only] [override]

PrimeFaces: style

The default value is "121".

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


Implementation
    public function get width():Number

Example
Visual Editor XML:
<Tree width="121"/>
PrimeFaces:
<p:tree style="width:121px;height:20px;"/>
Constructor Detail
Tree()Constructor
public function Tree()



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 = Tree

PRIME_FACES_XML_ELEMENT_NAMEConstant 
public static const PRIME_FACES_XML_ELEMENT_NAME:String = tree