Packageview.domino.surfaceComponents.components
Classpublic class DominoSubForm
InheritanceDominoSubForm Inheritance view.primeFaces.supportClasses.Container
Implements view.interfaces.IDominoSurfaceComponent, view.interfaces.IHistorySurfaceComponent, interfaces.IComponentSizeOutput, view.interfaces.IDropAcceptableComponent, view.interfaces.ICDATAInformation, interfaces.IRoyaleComponentConverter, interfaces.IComponentPercentSizeOutput

Representation and converter from paragraph element

This class work for convert from paragraph element of Visuale label/text/field components to target framework of body format.

Conversion status

Input: view.domino.surfaceComponents.components.DominoParagraph

Example Domino output:

	  <par def="1019" paragraph="true" dominotype="paragraph" class="flexHorizontalLayout flexHorizontalLayoutLeft flexHorizontalLayoutTop"/>
	 

Example Royale output:

	 TODO
     

Default MXML PropertymxmlContentFactory

See also

https://help.hcltechsw.com/dom_designer/10.0.1/basic/H_PARAGRAPH_ELEMENT_XML.html
https://github.com/Moonshine-IDE/VisualEditorConverterLib/blob/master/src/components/domino/DominoParagraph.as


Public Properties
 PropertyDefined By
  cssClass : String
[read-only] HTML: class This property helps laying out children Horizontally or Vertically.
DominoSubForm
  dominoSubForm : DominoSubForm
[read-only]
DominoSubForm
  ELEMENT_NAME : String = Subformref
[static]
DominoSubForm
  firstlineleftmargin : String
DominoSubForm
  height : Number
[override] Domino height
DominoSubForm
  heightPercent : Number
[read-only]
DominoSubForm
  hide : String
DominoSubForm
  isNewLine : String
DominoSubForm
  leftmargin : String
DominoSubForm
  percentHeight : Number
[override] Domino percentHeight
DominoSubForm
  percentWidth : Number
[override] Domino style
DominoSubForm
  subformsList : ArrayList
DominoSubForm
  width : Number
[override] [read-only] Domino width
DominoSubForm
  widthPercent : Number
[read-only]
DominoSubForm
Protected Properties
 PropertyDefined By
  heightOutputChanged : Boolean
DominoSubForm
  widthOutputChanged : Boolean
DominoSubForm
Public Methods
 MethodDefined By
  
DominoSubForm
  
DominoSubForm
Protected Methods
 MethodDefined By
  
DominoSubForm
Public Constants
 ConstantDefined By
  PRIME_FACES_XML_ELEMENT_NAME : String = Subformref
[static]
DominoSubForm
Property Detail
cssClassproperty
cssClass:String  [read-only]

HTML: class

This property helps laying out children Horizontally or Vertically. It uses browser FlexBox mechanism to avoid problems which occurs when children in div are positioned using default mechanism. Exported PrimeFaces project contains moonshine-layout-styles.css file which has classes ready to use for laying out children.

Use listed css classes to laying out children:

Horizontal Layout

Vertical Layout

Horizontal/Vertical Layout

https://css-tricks.com/snippets/css/a-guide-to-flexbox/

The default value is "flexHorizontalLayoutWrap flexHorizontalLayoutLeft flexHorizontalLayoutTop".


Implementation
    public function get cssClass():String

Example
Visual Editor XML:
<Div class="flexHorizontalLayoutWrap flexHorizontalLayoutLeft flexHorizontalLayoutTop"/>
HTML:
<div class="flexHorizontalLayoutWrap flexHorizontalLayoutLeft flexHorizontalLayoutTop"/>
dominoSubFormproperty 
dominoSubForm:DominoSubForm  [read-only]


Implementation
    public function get dominoSubForm():DominoSubForm
ELEMENT_NAMEproperty 
public static var ELEMENT_NAME:String = Subformref

firstlineleftmarginproperty 
firstlineleftmargin:String


Implementation
    public function get firstlineleftmargin():String
    public function set firstlineleftmargin(value:String):void
heightproperty 
height:Number[override]

Domino height

The default value is "120".

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


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

Example
Visual Editor XML:
<Div height="120"/>
Domino:
<div style="height:120px;"/>
heightOutputChangedproperty 
protected var heightOutputChanged:Boolean

heightPercentproperty 
heightPercent:Number  [read-only]


Implementation
    public function get heightPercent():Number
hideproperty 
hide:String


Implementation
    public function get hide():String
    public function set hide(value:String):void
isNewLineproperty 
isNewLine:String


Implementation
    public function get isNewLine():String
    public function set isNewLine(value:String):void
leftmarginproperty 
leftmargin:String


Implementation
    public function get leftmargin():String
    public function set leftmargin(value:String):void
percentHeightproperty 
percentHeight:Number[override]

Domino percentHeight

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


Implementation
    public function get percentHeight():Number
    public function set percentHeight(value:Number):void

Example
Visual Editor XML:
<Div percentHeight="80"/>
Domino:
<div style="height:80%;"/>
percentWidthproperty 
percentWidth:Number[override]

Domino style

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


Implementation
    public function get percentWidth():Number
    public function set percentWidth(value:Number):void

Example
Visual Editor XML:
<Div percentWidth="80"/>
Domino:
<div style="width:80%;"/>
subformsListproperty 
subformsList:ArrayList


Implementation
    public function get subformsList():ArrayList
    public function set subformsList(value:ArrayList):void
widthproperty 
width:Number  [read-only] [override]

Domino width

The default value is "120".

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


Implementation
    public function get width():Number

Example
Visual Editor XML:
<Div width="120"/>
Domino:
<div style="width:120px;"/>
widthOutputChangedproperty 
protected var widthOutputChanged:Boolean

widthPercentproperty 
widthPercent:Number  [read-only]


Implementation
    public function get widthPercent():Number
Constructor Detail
DominoSubForm()Constructor
public function DominoSubForm()



Method Detail
resetPercentWidthHeightBasedOnLayout()method
protected function resetPercentWidthHeightBasedOnLayout():void

toRoyaleConvertCode()method 
public function toRoyaleConvertCode():XML

Returns
XML
Constant Detail
PRIME_FACES_XML_ELEMENT_NAMEConstant
public static const PRIME_FACES_XML_ELEMENT_NAME:String = Subformref