Packageview.primeFaces.surfaceComponents.components
Classpublic class Fieldset
InheritanceFieldset Inheritance components.CollapsiblePanel
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



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
Fieldset(isOpen:Boolean = true)
Fieldset
  
toRora():XML
Fieldset
  
Fieldset
Public Constants
 ConstantDefined By
  ELEMENT_NAME : String = Fieldset
[static]
Fieldset
  PRIME_FACES_XML_ELEMENT_NAME : String = fieldset
[static]
Fieldset
Property Detail
durationproperty
duration:Number  [read-only] [override]

PrimeFaces: toggleSpeed

The default value is "200".

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


Implementation
    public function get duration():Number

Example
Visual Editor XML:
<Fieldset toggleSpeed="200"/>
PrimeFaces:
<p:fieldset toggleSpeed="200"/>
heightproperty 
height:Number  [read-only] [override]

PrimeFaces: style

The default value is "120".

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


Implementation
    public function get height():Number

Example
Visual Editor XML:
<Fieldset height="120"/>
PrimeFaces:
<p:fieldset style="width:110px;height:120px;"/>
titleproperty 
title:String  [write-only] [override]

PrimeFaces: legend

The default value is "Basic".


Implementation
    public function set title(value:String):void

Example
Visual Editor XML:
<Fieldset legend="Basic"/>
PrimeFaces:
<p:fieldset legend="Basic"/>
toggleableproperty 
toggleable:Boolean

PrimeFaces: toggleable

The default value is "false".

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


Implementation
    public function get toggleable():Boolean
    public function set toggleable(value:Boolean):void

Example
Visual Editor XML:
<Fieldset toggleable="false"/>
PrimeFaces:
<p:fieldset toggleable="false"/>
widthproperty 
width: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 width():Number

Example
Visual Editor XML:
<Fieldset width="110"/>
PrimeFaces:
<p:fieldset style="width:110px;height:120px;"/>
Constructor Detail
Fieldset()Constructor
public function Fieldset(isOpen:Boolean = true)



Parameters
isOpen:Boolean (default = true)
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 = Fieldset

PRIME_FACES_XML_ELEMENT_NAMEConstant 
public static const PRIME_FACES_XML_ELEMENT_NAME:String = fieldset