| Package | view.domino.surfaceComponents.components |
| Class | public class DominoTable |
| Inheritance | DominoTable 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 statusInput: 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
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
| DominoTable | |||
getCurrentSelectCell():Div | DominoTable | ||
toRoyaleConvertCode():XML | DominoTable | ||
| Method | Defined By | ||
|---|---|---|---|
ensureCreateColumn(row:GridRow):GridItem [override] | DominoTable | ||
| Constant | Defined By | ||
|---|---|---|---|
| ELEMENT_NAME : String = Grid [static] | DominoTable | ||
| columnProperties | property |
columnProperties:StringThis property can be used as the source for data binding.
public function get columnProperties():String public function set columnProperties(value:String):void| height | property |
height:Number [read-only] [override]
PrimeFaces: style
The default value is "120".
This property can be used as the source for data binding.
public function get height():Number<Grid height="120"/>
<div style="width:120px;height:120px;"/>
| hide | property |
hide:String public function get hide():String public function set hide(value:String):void| leftmargin | property |
leftmargin:String public function get leftmargin():String public function set leftmargin(value:String):void| percentHeight | property |
percentHeight:Number [read-only] [override]
PrimeFaces: style
This property can be used as the source for data binding.
public function get percentHeight():Number<Grid percentHeight="80"/>
<div style="height:80%;"/>
| percentWidth | property |
percentWidth:Number [read-only] [override]
PrimeFaces: style
This property can be used as the source for data binding.
public function get percentWidth():Number<Grid percentWidth="80"/>
<div style="width:80%;"/>
| rightmargin | property |
rightmargin:String public function get rightmargin():String public function set rightmargin(value:String):void| width | property |
width:Number[override]
PrimeFaces: style
The default value is "120".
This property can be used as the source for data binding.
public function get width():Number public function set width(value:Number):void<Grid width="120"/>
<div style="width:120px;"/>
| widthtype | property |
widthtype:String public function get widthtype():String public function set widthtype(value:String):void| DominoTable | () | Constructor |
public function DominoTable()| ensureCreateColumn | () | method |
override protected function ensureCreateColumn(row:GridRow):GridItemParameters
row:GridRow |
GridItem |
| getCurrentSelectCell | () | method |
public function getCurrentSelectCell():DivReturnsDiv |
| toRoyaleConvertCode | () | method |
public function toRoyaleConvertCode():XMLReturnsXML |
| ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = Grid