Packageview.domino.surfaceComponents.components
Classpublic class DominoShareField
InheritanceDominoShareField 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.
DominoShareField
  dominoShareField : DominoShareField
[read-only]
DominoShareField
  ELEMENT_NAME : String = Sharedfieldref
[static]
DominoShareField
  firstlineleftmargin : String
DominoShareField
  height : Number
[override] Domino height
DominoShareField
  heightPercent : Number
[read-only]
DominoShareField
  hide : String
DominoShareField
  isNewLine : String
DominoShareField
  leftmargin : String
DominoShareField
  percentHeight : Number
[override] Domino percentHeight
DominoShareField
  percentWidth : Number
[override] Domino style
DominoShareField
  shareFieldList : ArrayList
DominoShareField
  width : Number
[override] [read-only] Domino width
DominoShareField
  widthPercent : Number
[read-only]
DominoShareField
Protected Properties
 PropertyDefined By
  heightOutputChanged : Boolean
DominoShareField
  widthOutputChanged : Boolean
DominoShareField
Public Methods
 MethodDefined By
  
DominoShareField
  
DominoShareField
Protected Methods
 MethodDefined By
  
DominoShareField
Public Constants
 ConstantDefined By
  PRIME_FACES_XML_ELEMENT_NAME : String = Sharedfieldref
[static]
DominoShareField
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"/>
dominoShareFieldproperty 
dominoShareField:DominoShareField  [read-only]


Implementation
    public function get dominoShareField():DominoShareField
ELEMENT_NAMEproperty 
public static var ELEMENT_NAME:String = Sharedfieldref

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%;"/>
shareFieldListproperty 
shareFieldList:ArrayList


Implementation
    public function get shareFieldList():ArrayList
    public function set shareFieldList(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
DominoShareField()Constructor
public function DominoShareField()



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 = Sharedfieldref