Packageview.domino.surfaceComponents.components
Classpublic class DominoSection
InheritanceDominoSection Inheritance spark.components.Panel
Implements view.interfaces.IDominoSurfaceComponent, view.interfaces.IHistorySurfaceComponent, view.interfaces.ICDATAInformation, interfaces.IComponentSizeOutput, view.interfaces.IDropAcceptableComponent, interfaces.IRoyaleComponentConverter

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
  accessfieldkind : String
DominoSection
  accessfieldname : String
DominoSection
  color : String
Domino:the color of section notes ClientSupported Apache RoyalePlanned PrimeFacesPlanned FlexSupported GSPPlanned
DominoSection
  colors : ArrayList
[read-only]
DominoSection
  duration : Number
DominoSection
  expanded : Boolean
DominoSection
  fieldKinds : ArrayList
[read-only]
DominoSection
  fontStyle : String
Domino:the font style of section notes ClientSupported Apache RoyalePlanned PrimeFacesPlanned FlexSupported GSPPlanned
DominoSection
  fontStyles : ArrayList
[read-only]
DominoSection
  height : Number
[override]
DominoSection
  heightOutput : Boolean
DominoSection
  isAnimationPlaying : Boolean
[read-only]
DominoSection
  onedit : String
DominoSection
  onpreview : String
DominoSection
  onprint : String
DominoSection
  onread : String
DominoSection
  open : Boolean
Whether the block is in a expanded (open) state or not
DominoSection
  sectionTokens : ArrayList
[read-only]
DominoSection
  showastext : Boolean
DominoSection
  size : String
DominoSection
  title : String
[override]
DominoSection
  widthOutput : Boolean
DominoSection
Protected Properties
 PropertyDefined By
  heightOutputChanged : Boolean
DominoSection
  isCollapsible : Boolean = true
DominoSection
  openHeight : Number
[read-only] Domino:the height that the component should be when open notes ClientSupported Apache RoyalePlanned PrimeFacesPlanned FlexSupported GSPPlanned
DominoSection
  widthOutputChanged : Boolean
DominoSection
Public Methods
 MethodDefined By
  
DominoSection(isOpen:Boolean = true)
Representation and converter from Visuale section components This class work for convert from Visuale section components to target framework of body format. Conversion status Domino: Complete Royale: TODO Input: view.domino.surfaceComponents.components.DominoSection Example Domino output: <section expanded="false" showastext="false"> <sectiontitle color="system"> <font size="12pt" style="normal"/><text>Default Title</text> </sectiontitle> </section> Example Royale output: TODO
DominoSection
  
dropElementAt(element:IVisualElement, index:int):void
DominoSection
  
toggleOpen():void
Collapses / expands this block (with animation)
DominoSection
  
DominoSection
Protected Methods
 MethodDefined By
  
DominoSection
  
DominoSection
  
onTitleDisplayClick(event:MouseEvent):void
DominoSection
  
updateIsUpdating(value:Boolean):void
DominoSection
Public Constants
 ConstantDefined By
  DOMINO_ELEMENT_NAME : String = section
[static]
DominoSection
  ELEMENT_NAME : String = Section
[static]
DominoSection
Property Detail
accessfieldkindproperty
accessfieldkind:String


Implementation
    public function get accessfieldkind():String
    public function set accessfieldkind(value:String):void
accessfieldnameproperty 
accessfieldname:String


Implementation
    public function get accessfieldname():String
    public function set accessfieldname(value:String):void
colorproperty 
color:String

Domino:the color of section

notes ClientSupported
Apache RoyalePlanned
PrimeFacesPlanned
FlexSupported
GSPPlanned

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


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

Example
Visual Editor XML:
<section color=""/>
Domino:
<section color=""/>
colorsproperty 
colors:ArrayList  [read-only]


Implementation
    public function get colors():ArrayList
durationproperty 
duration:Number

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


Implementation
    public function get duration():Number
    public function set duration(value:Number):void
expandedproperty 
expanded:Boolean

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


Implementation
    public function get expanded():Boolean
    public function set expanded(value:Boolean):void
fieldKindsproperty 
fieldKinds:ArrayList  [read-only]


Implementation
    public function get fieldKinds():ArrayList
fontStyleproperty 
fontStyle:String

Domino:the font style of section

notes ClientSupported
Apache RoyalePlanned
PrimeFacesPlanned
FlexSupported
GSPPlanned

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


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

Example
Visual Editor XML:
<sectiontitle> <font>style=""  </font> <sectiontitle /> 
Domino:
><sectiontitle> <font>style=""  </font> <sectiontitle />
fontStylesproperty 
fontStyles:ArrayList  [read-only]


Implementation
    public function get fontStyles():ArrayList
heightproperty 
height:Number[override]

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


Implementation
    public function get height():Number
    public function set height(value:Number):void
heightOutputproperty 
heightOutput:Boolean

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


Implementation
    public function get heightOutput():Boolean
    public function set heightOutput(value:Boolean):void
heightOutputChangedproperty 
protected var heightOutputChanged:Boolean

isAnimationPlayingproperty 
isAnimationPlaying:Boolean  [read-only]


Implementation
    public function get isAnimationPlaying():Boolean
isCollapsibleproperty 
protected var isCollapsible:Boolean = true

oneditproperty 
onedit:String


Implementation
    public function get onedit():String
    public function set onedit(value:String):void
onpreviewproperty 
onpreview:String


Implementation
    public function get onpreview():String
    public function set onpreview(value:String):void
onprintproperty 
onprint:String


Implementation
    public function get onprint():String
    public function set onprint(value:String):void
onreadproperty 
onread:String


Implementation
    public function get onread():String
    public function set onread(value:String):void
openproperty 
open:Boolean

Whether the block is in a expanded (open) state or not

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


Implementation
    public function get open():Boolean
    public function set open(value:Boolean):void
openHeightproperty 
openHeight:Number  [read-only]

Domino:the height that the component should be when open

notes ClientSupported
Apache RoyalePlanned
PrimeFacesPlanned
FlexSupported
GSPPlanned


Implementation
    protected function get openHeight():Number

Example
Visual Editor XML:
<section openHeight=""/>
Domino:
<section openHeight=""/>
sectionTokensproperty 
sectionTokens:ArrayList  [read-only]


Implementation
    public function get sectionTokens():ArrayList
showastextproperty 
showastext:Boolean

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


Implementation
    public function get showastext():Boolean
    public function set showastext(value:Boolean):void
sizeproperty 
size:String


Implementation
    public function get size():String
    public function set size(value:String):void
titleproperty 
title:String[override]


Implementation
    public function get title():String
    public function set title(value:String):void
widthOutputproperty 
widthOutput:Boolean

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


Implementation
    public function get widthOutput():Boolean
    public function set widthOutput(value:Boolean):void
widthOutputChangedproperty 
protected var widthOutputChanged:Boolean

Constructor Detail
DominoSection()Constructor
public function DominoSection(isOpen:Boolean = true)

Representation and converter from Visuale section components

This class work for convert from Visuale section components to target framework of body format.

Conversion status

Input: view.domino.surfaceComponents.components.DominoSection

Example Domino output:

            <section expanded="false" showastext="false">
               <sectiontitle color="system">
                 <font size="12pt" style="normal"/><text>Default Title</text>
               </sectiontitle>
            </section>
            

Example Royale output:

            TODO
            

Parameters
isOpen:Boolean (default = true)

See also

https://help.hcltechsw.com/dom_designer/10.0.1/basic/H_SECTION_ELEMENT_XML.html
https://github.com/Moonshine-IDE/VisualEditorConverterLib/blob/master/src/components/domino/DominoSection.as
Method Detail
dropElementAt()method
public function dropElementAt(element:IVisualElement, index:int):void

Parameters

element:IVisualElement
 
index:int

internalToXML()method 
protected function internalToXML():XML

Returns
XML
onCollapsiblePanelCreationComplete()method 
protected function onCollapsiblePanelCreationComplete(event:FlexEvent):void

Parameters

event:FlexEvent

onTitleDisplayClick()method 
protected function onTitleDisplayClick(event:MouseEvent):void

Parameters

event:MouseEvent

toggleOpen()method 
public function toggleOpen():void

Collapses / expands this block (with animation)

toRoyaleConvertCode()method 
public function toRoyaleConvertCode():XML

Returns
XML
updateIsUpdating()method 
protected function updateIsUpdating(value:Boolean):void

Parameters

value:Boolean

Constant Detail
DOMINO_ELEMENT_NAMEConstant
public static const DOMINO_ELEMENT_NAME:String = section

ELEMENT_NAMEConstant 
public static const ELEMENT_NAME:String = Section