| Package | view.primeFaces.surfaceComponents.components |
| Class | public class Grid |
| Inheritance | Grid view.primeFaces.supportClasses.GridBase |
| Implements | view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IHistorySurfaceCustomHandlerComponent, interfaces.IComponentSizeOutput |
Representation of PrimeFaces Grid CSS component.
Visual Editor XML:
<Grid
Attributes
width="110"
height="120"
percentWidth="80"
percentHeight="80">
<Row>
<Column class="ui-g-12 ui-lg-12 ui-sm-6 ui-md-6 ui-xl-12">
<Div percentWidth="100" percentHeight="100"/>
</Column>
</Row>
PrimeFaces output:
<p:outputPanel
Attributes
style="width:110px;height:120px;">
<div class="ui-g">
<div class="ui-g-12 ui-lg-12 ui-sm-6 ui-md-6 ui-xl-12">
<div style="width:100%;height:100%;"/>
</div>
</div>
</p:outputPanel>
| Property | Defined By | ||
|---|---|---|---|
| height : Number [override] [read-only]
PrimeFaces: style
| Grid | ||
| percentHeight : Number [override] [read-only]
PrimeFaces: style
| Grid | ||
| percentWidth : Number [override] [read-only]
PrimeFaces: style
| Grid | ||
| width : Number [override] [read-only]
PrimeFaces: style
| Grid | ||
| Method | Defined By | ||
|---|---|---|---|
Grid() | Grid | ||
toRora():XML | Grid | ||
toRoyaleConvertCode():XML | Grid | ||
| Constant | Defined By | ||
|---|---|---|---|
| ELEMENT_NAME : String = Grid [static] | Grid | ||
| PRIME_FACES_XML_ELEMENT_NAME : String = outputPanel [static] | Grid | ||
| height | property |
height:Number [read-only] [override]
PrimeFaces: style
The default value is "120".
This property can be used as the source for data binding.
public function get height():Number<Grid height="120"/>
<div style="width:120px;height:120px;"/>
| 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<Grid percentHeight="80"/>
<div 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<Grid percentWidth="80"/>
<div style="width:80%;"/>
| width | property |
width:Number [read-only] [override]
PrimeFaces: style
The default value is "120".
This property can be used as the source for data binding.
public function get width():Number<Grid width="120"/>
<div style="width:120px;"/>
| Grid | () | Constructor |
public function Grid()| toRora | () | method |
public function toRora():XMLReturnsXML |
| toRoyaleConvertCode | () | method |
public function toRoyaleConvertCode():XMLReturnsXML |
| ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = Grid| PRIME_FACES_XML_ELEMENT_NAME | Constant |
public static const PRIME_FACES_XML_ELEMENT_NAME:String = outputPanel