Package | view.primeFaces.surfaceComponents.components |
Class | public class Fieldset |
Inheritance | Fieldset ![]() |
Implements | view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IDiv, view.interfaces.IHistorySurfaceComponent, view.interfaces.IInitializeAfterAddedComponent |
Representation of PrimeFaces fieldset component.
Fieldset component is generated with div inside where children are positioned using FlexBox
Visual Editor XML:<Fieldset Attributes width="110" height="120" toggleable="false" legend="Basic" toggleSpeed="200"> <Div percentWidth="100" percentHeight="100" class="flexHorizontalLayout flexHorizontalLayoutLeft flexHorizontalLayoutTop" wrap="false"/> </Fieldset>PrimeFaces output:
<p:fieldset Attributes style="width:110px;height:120px;" toggleable="false" legend="Basic" toggleSpeed="200" <div style="width:100%;height:100%;" class="flexHorizontalLayout flexHorizontalLayoutLeft flexHorizontalLayoutTop"/> </p:fieldset>
Default MXML PropertymxmlContentFactory
Property | Defined By | ||
---|---|---|---|
duration : Number [override] [read-only]
PrimeFaces: toggleSpeed
| Fieldset | ||
height : Number [override] [read-only]
PrimeFaces: style
| Fieldset | ||
title : String [override] [write-only]
PrimeFaces: legend
| Fieldset | ||
toggleable : Boolean
PrimeFaces: toggleable
| Fieldset | ||
width : Number [override] [read-only]
PrimeFaces: style
| Fieldset |
Method | Defined By | ||
---|---|---|---|
Fieldset(isOpen:Boolean = true) | Fieldset | ||
toRora():XML | Fieldset | ||
toRoyaleConvertCode():XML | Fieldset |
Constant | Defined By | ||
---|---|---|---|
ELEMENT_NAME : String = Fieldset [static] | Fieldset | ||
PRIME_FACES_XML_ELEMENT_NAME : String = fieldset [static] | Fieldset |
duration | property |
duration:Number
[read-only] [override]
PrimeFaces: toggleSpeed
The default value is "200"
.
This property can be used as the source for data binding.
public function get duration():Number
<Fieldset toggleSpeed="200"/>
<p:fieldset toggleSpeed="200"/>
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
<Fieldset height="120"/>
<p:fieldset style="width:110px;height:120px;"/>
title | property |
title:String
[write-only] [override]
PrimeFaces: legend
The default value is "Basic"
.
public function set title(value:String):void
<Fieldset legend="Basic"/>
<p:fieldset legend="Basic"/>
toggleable | property |
toggleable:Boolean
PrimeFaces: toggleable
The default value is "false"
.
This property can be used as the source for data binding.
public function get toggleable():Boolean
public function set toggleable(value:Boolean):void
<Fieldset toggleable="false"/>
<p:fieldset toggleable="false"/>
width | property |
width:Number
[read-only] [override]
PrimeFaces: style
The default value is "110"
.
This property can be used as the source for data binding.
public function get width():Number
<Fieldset width="110"/>
<p:fieldset style="width:110px;height:120px;"/>
Fieldset | () | Constructor |
public function Fieldset(isOpen:Boolean = true)
isOpen:Boolean (default = true )
|
toRora | () | method |
public function toRora():XML
ReturnsXML |
toRoyaleConvertCode | () | method |
public function toRoyaleConvertCode():XML
ReturnsXML |
ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = Fieldset
PRIME_FACES_XML_ELEMENT_NAME | Constant |
public static const PRIME_FACES_XML_ELEMENT_NAME:String = fieldset