Echo.Sync.TriCellTable
| Constructor Summary | |
|---|---|
| Public | Echo.Sync.TriCellTable()Creates a new TriCellTable
|
| Class Field Summary | |
|---|---|
| Public | INVERTEDOrientation flag indicating inverted (trailing-leading or bottom-top) orientation. |
| Public | VERTICALOrientation flag indicating vertical (top-bottom or bottom-top) orientation. |
| Public | LEADING_TRAILINGOrientation value indicating horizontal orientation, leading first, trailing second. |
| Public | TRAILING_LEADINGOrientation value indicating horizontal orientation, trailing first, leading second. |
| Public | TOP_BOTTOMOrientation value indicating vertical orientation, top first, bottom second. |
| Public | BOTTOM_TOPOrientation value indicating vertical orientation, bottom first, top second. |
| Class Method Summary | |
|---|---|
| Internal | _createTablePrototype()Creates a prototype DOM element hierarchy for a TriCellTable, which may be cloned for purposes of performance enhancement. |
| Public | getInvertedOrientation()Returns the inverted orientation value which should be used for a component (the opposite of that which would be returned by getOrientation(). |
| Public | getOrientation()Determines the orientation value which should be used to a component. |
| Instance Method Summary | |
|---|---|
| Internal | _addColumn()Appends a TD element to a TR element, if TD element is not null. |
| Internal | _addRow()If the TD element is not null, creates a TR row element and appends the TD element to it; then appends the TR element to the table body. |
| Internal | _addSpacer()Adds a spacer DIV to the specified parent element. |
| Internal | _configure2()Configures a two-celled TriCellTable. |
| Internal | _configure3()Configures a two-celled TriCellTable. |
TriCellTable
orientation0_1
(Number)
- the orientation of element 0 with respect to element 1, one of
the following values:
margin0_1
(Number)
- the margin size between element 0 and element 1orientation01_2
(Number)
- (omitted for two-cell tables)
the orientation of Elements 0 and 1 with
respect to Element 2, one of the following values:
margin01_2
(Number)
- (omitted for two-cell tables)
the margin size between the combination
of elements 0 and 1 and element 2component
(Echo.Component)
- the componentpropertyName
(String)
- the alignment property namedefaultValue
(#Alignment)
- default alignment value to use if component does not have specified propertycomponent
(Echo.Component)
- the componentpropertyName
(String)
- the alignment property namedefaultValue
(#Alignment)
- default alignment value to use if component does not have specified propertytr
(Element)
- the table row (TR) elementtd
(Element)
- the table cell (TD) elementtd
(Element)
- the table cell elementparentElement
(Element)
- the parent element to which the spacer DIV should be addedsize
(Number)
- the pixel size of the spacervertical
(Boolean)
- boolean flag indicating the orientation of the spacer,
true for vertical spacers, false for horizontalorientation0_1
(Number)
- the orientation of element 0 with respect to element 1margin0_1
(Number)
- the margin size between element 0 and element 1orientation0_1
(Number)
- the orientation of element 0 with respect to element 1margin0_1
(Number)
- the margin size between element 0 and element 1orientation01_2
(Number)
- the orientation of Elements 0 and 1 with respect to Element 2margin01_2
(Number)
- the margin size between the combination of elements 0 and 1 and element 2