| Package | view.primeFaces.surfaceComponents.components |
| Class | public class Tree |
| Inheritance | Tree 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
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
Tree() | Tree | ||
toRora():XML | Tree | ||
toRoyaleConvertCode():XML | Tree | ||
| Constant | Defined By | ||
|---|---|---|---|
| ELEMENT_NAME : String = Tree [static] | Tree | ||
| PRIME_FACES_XML_ELEMENT_NAME : String = tree [static] | Tree | ||
| height | property |
height:Number [read-only] [override]
PrimeFaces: style
The default value is "20".
This property can be used as the source for data binding.
public function get height():Number<Tree height="20"/>
<p:tree style="width:121px;height:20px;"/>
| percentHeight | property |
percentHeight:Number [read-only] [override]
PrimeFaces: style
This property can be used as the source for data binding.
public function get percentHeight():Number<Tree percentHeight="80"/>
<p:tree style="height:80%;"/>
| percentWidth | property |
percentWidth:Number [read-only] [override]
PrimeFaces: style
This property can be used as the source for data binding.
public function get percentWidth():Number<Tree percentWidth="80"/>
<p:tree style="width:80%;"/>
| treeValue | property |
treeValue:String
PrimeFaces: value
This property can be used as the source for data binding.
public function get treeValue():String public function set treeValue(value:String):void<Tree value=""/>
<p:tree value=""/>
| treeVar | property |
treeVar:String
PrimeFaces: var
This property can be used as the source for data binding.
public function get treeVar():String public function set treeVar(value:String):void<Tree var=""/>
<p:tree var=""/>
| width | property |
width:Number [read-only] [override]
PrimeFaces: style
The default value is "121".
This property can be used as the source for data binding.
public function get width():Number<Tree width="121"/>
<p:tree style="width:121px;height:20px;"/>
| Tree | () | Constructor |
public function Tree()| toRora | () | method |
public function toRora():XMLReturnsXML |
| toRoyaleConvertCode | () | method |
public function toRoyaleConvertCode():XMLReturnsXML |
| ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = Tree| PRIME_FACES_XML_ELEMENT_NAME | Constant |
public static const PRIME_FACES_XML_ELEMENT_NAME:String = tree