Packageview.domino.surfaceComponents.components
Classpublic class DominoTable
InheritanceDominoTable Inheritance view.suportClasses.GridBase
Implements view.interfaces.IDominoSurfaceComponent, view.interfaces.IHistorySurfaceCustomHandlerComponent, interfaces.IComponentSizeOutput, interfaces.IRoyaleComponentConverter

Representation and converter from Visuale table components

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

Conversion status

Input: view.domino.surfaceComponents.components.DominoTable

Example Domino output:

	   <table widthtype="fitmargins" cellbordercolor="yellow" 				leftmargin="1in" cellborderstyle="ridge" 						colorstyle="solid" bgcolor="silver" insidewrap="true" insidewrapheight="1in">
	 		<border style="solid" width="2px" color="olive" 	dropshadow="true" />
	 		<tablecolumn width="66.58%" />
	 		<tablecolumn width="33.42%" />
	 		<tablerow>
	 			<tablecell bgcolor="#e0ffbf">
	 				<pardef id="3" align="center" 									leftmargin="0.0313in" keepwithnext="true" 							keeptogether="true" />
	 				<par def="3">
	 					<picture height="341px" width="218px" 								alttext="caldesigns white two-piece 								dress">
	 						<imageref name="design1.jpg" />
	 						<caption>CALDesigns</caption>
	 					</picture>
	 				</par>
	 			</tablecell>
	 			<tablecell colorstyle="vgradient" bgcolor="none" 						altbgcolor="#a1e2ff">
	 				<pardef id="4" align="center" 									leftmargin="0.0313in" keepwithnext="true" 							keeptogether="true" />
	 				<par def="4" />
	 				<pardef id="5" leftmargin="0.0313in" 							keepwithnext="true" keeptogether="true" />
	 				<par def="5">
	 					<run>
	 						<font size="24pt" color="blue" />
	 						$250
	 					</run>
	 				</par>
	 			</tablecell>
	 		</tablerow>
	 		<tablerow>
	 			<tablecell bgcolor="#ffe1dc">
	 				<pardef id="6" leftmargin="0.0313in" 							keepwithnext="true" keeptogether="true" />
	 				<par def="6">
	 					<imagemap lastdefaultid="8" 									lastcircleid="1" lastrectangleid="55">
	 						<picture height="341px" width="219px" 									alttext="PERDesigns pink two-piece 									sleeveless dress">
	 							<border style="dot" width="1px" 										color="#ff4040" />
	 							<imageref name="design2.jpg" />
	 							<caption>PERDesigns</caption>
	 						</picture>
	 						<area type="circle" htmlid="bracelet">
	 							<point x="5" y="82" />
	 							<point x="81" y="158" />
	 							<urllink href="http://www.PERD
	 							esigns.com/jewelry" />
	 						</area>
	 					</imagemap>
	 				</par>
	 			</tablecell>
	 			<tablecell>
	 				<cellbackground repeat="hrepeat">
	 					<imageref name="graphic.gif" />
	 				</cellbackground>
	 				<par def="5" />
	 				<par>
	 					<run>
	 						<font size="24pt" color="blue" />
	 						$300
	 					</run>
	 				</par>
	 			</tablecell>
	 		</tablerow>
	 	</table>
	 

Example Royale output:

	 TODO
     

See also

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


Public Properties
 PropertyDefined By
  columnProperties : String
DominoTable
  height : Number
[override] [read-only] PrimeFaces: style
DominoTable
  hide : String
DominoTable
  leftmargin : String
DominoTable
  percentHeight : Number
[override] [read-only] PrimeFaces: style
DominoTable
  percentWidth : Number
[override] [read-only] PrimeFaces: style
DominoTable
  rightmargin : String
DominoTable
  width : Number
[override] PrimeFaces: style
DominoTable
  widthtype : String
DominoTable
Public Methods
 MethodDefined By
  
DominoTable
  
DominoTable
  
DominoTable
Protected Methods
 MethodDefined By
  
ensureCreateColumn(row:GridRow):GridItem
[override]
DominoTable
Public Constants
 ConstantDefined By
  ELEMENT_NAME : String = Grid
[static]
DominoTable
Property Detail
columnPropertiesproperty
columnProperties:String

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


Implementation
    public function get columnProperties():String
    public function set columnProperties(value:String):void
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:
<Grid height="120"/>
PrimeFaces:
<div style="width:120px;height:120px;"/>
hideproperty 
hide:String


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


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

PrimeFaces: style

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


Implementation
    public function get percentHeight():Number

Example
Visual Editor XML:
<Grid percentHeight="80"/>
PrimeFaces:
<div style="height:80%;"/>
percentWidthproperty 
percentWidth:Number  [read-only] [override]

PrimeFaces: style

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


Implementation
    public function get percentWidth():Number

Example
Visual Editor XML:
<Grid percentWidth="80"/>
PrimeFaces:
<div style="width:80%;"/>
rightmarginproperty 
rightmargin:String


Implementation
    public function get rightmargin():String
    public function set rightmargin(value:String):void
widthproperty 
width:Number[override]

PrimeFaces: style

The default value is "120".

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


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

Example
Visual Editor XML:
<Grid width="120"/>
PrimeFaces:
<div style="width:120px;"/>
widthtypeproperty 
widthtype:String


Implementation
    public function get widthtype():String
    public function set widthtype(value:String):void
Constructor Detail
DominoTable()Constructor
public function DominoTable()



Method Detail
ensureCreateColumn()method
override protected function ensureCreateColumn(row:GridRow):GridItem

Parameters

row:GridRow

Returns
GridItem
getCurrentSelectCell()method 
public function getCurrentSelectCell():Div

Returns
Div
toRoyaleConvertCode()method 
public function toRoyaleConvertCode():XML

Returns
XML
Constant Detail
ELEMENT_NAMEConstant
public static const ELEMENT_NAME:String = Grid