| Package | view.domino.surfaceComponents.components |
| Class | public class DominoParagraph |
| Inheritance | DominoParagraph view.primeFaces.supportClasses.Container |
| Implements | view.interfaces.IDominoSurfaceComponent, view.interfaces.IDominoParagraph, 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 statusInput: 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
| Property | Defined By | ||
|---|---|---|---|
| cssClass : String [read-only]
HTML: class
This property helps laying out children Horizontally or Vertically. | DominoParagraph | ||
| dominoParagraph : DominoParagraph [read-only] | DominoParagraph | ||
| ELEMENT_NAME : String = Paragraph [static] | DominoParagraph | ||
| firstlineleftmargin : String | DominoParagraph | ||
| height : Number [override]
Domino height
| DominoParagraph | ||
| heightPercent : Number [read-only] | DominoParagraph | ||
| hide : String | DominoParagraph | ||
| isNewLine : String | DominoParagraph | ||
| leftmargin : String | DominoParagraph | ||
| percentHeight : Number [override]
Domino percentHeight
| DominoParagraph | ||
| percentWidth : Number [override]
Domino style
| DominoParagraph | ||
| width : Number [override] [read-only]
Domino width
| DominoParagraph | ||
| widthPercent : Number [read-only] | DominoParagraph | ||
| Property | Defined By | ||
|---|---|---|---|
| heightOutputChanged : Boolean | DominoParagraph | ||
| widthOutputChanged : Boolean | DominoParagraph | ||
| Method | Defined By | ||
|---|---|---|---|
| DominoParagraph | |||
toRoyaleConvertCode():XML | DominoParagraph | ||
| Method | Defined By | ||
|---|---|---|---|
| DominoParagraph | |||
| Constant | Defined By | ||
|---|---|---|---|
| PRIME_FACES_XML_ELEMENT_NAME : String = paragraph [static] | DominoParagraph | ||
| cssClass | property |
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
The default value is "flexHorizontalLayoutWrap flexHorizontalLayoutLeft flexHorizontalLayoutTop".
public function get cssClass():String<Div class="flexHorizontalLayoutWrap flexHorizontalLayoutLeft flexHorizontalLayoutTop"/>
<div class="flexHorizontalLayoutWrap flexHorizontalLayoutLeft flexHorizontalLayoutTop"/>
| dominoParagraph | property |
dominoParagraph:DominoParagraph [read-only] public function get dominoParagraph():DominoParagraph| ELEMENT_NAME | property |
public static var ELEMENT_NAME:String = Paragraph| firstlineleftmargin | property |
firstlineleftmargin:String public function get firstlineleftmargin():String public function set firstlineleftmargin(value:String):void| height | property |
height:Number[override]
Domino height
The default value is "120".
This property can be used as the source for data binding.
public function get height():Number public function set height(value:Number):void<Div height="120"/>
<div style="height:120px;"/>
| heightOutputChanged | property |
protected var heightOutputChanged:Boolean| heightPercent | property |
heightPercent:Number [read-only] public function get heightPercent():Number| hide | property |
hide:String public function get hide():String public function set hide(value:String):void| isNewLine | property |
isNewLine:String public function get isNewLine():String public function set isNewLine(value:String):void| leftmargin | property |
leftmargin:String public function get leftmargin():String public function set leftmargin(value:String):void| percentHeight | property |
percentHeight:Number[override]
Domino percentHeight
This property can be used as the source for data binding.
public function get percentHeight():Number public function set percentHeight(value:Number):void<Div percentHeight="80"/>
<div style="height:80%;"/>
| percentWidth | property |
percentWidth:Number[override]
Domino style
This property can be used as the source for data binding.
public function get percentWidth():Number public function set percentWidth(value:Number):void<Div percentWidth="80"/>
<div style="width:80%;"/>
| width | property |
width:Number [read-only] [override]
Domino width
The default value is "120".
This property can be used as the source for data binding.
public function get width():Number<Div width="120"/>
<div style="width:120px;"/>
| widthOutputChanged | property |
protected var widthOutputChanged:Boolean| widthPercent | property |
widthPercent:Number [read-only] public function get widthPercent():Number| DominoParagraph | () | Constructor |
public function DominoParagraph()| resetPercentWidthHeightBasedOnLayout | () | method |
protected function resetPercentWidthHeightBasedOnLayout():void| toRoyaleConvertCode | () | method |
public function toRoyaleConvertCode():XMLReturnsXML |
| PRIME_FACES_XML_ELEMENT_NAME | Constant |
public static const PRIME_FACES_XML_ELEMENT_NAME:String = paragraph