Class wtDisplayRow
Object
|
+--wtObject
|
+--wtWidget
|
+--wtDisplayRow
- class
wtDisplayRow
- extends wtWidget
A display row used in a display table.
Defined in wt_widget.js
Method Summary |
wtDisplayCell
|
addWidget(<wtWidget> widget)
Adds a widget towards the end of the display row.
|
Array
|
addWidgetList(<Array> widgetList)
Adds a list of widgets into the display row to be contained in a series of display cells.
|
Object
|
base(<wtWidget> _parent, <String> _tagName)
Constructs a widget based on a DOM node
|
Object
|
getValue()
Tells the data value of the cell under the data column.
|
Array
|
getValueList()
Tells all the data values of all display cells in this display row.
|
void
|
setDataColumn(<Integer> idx)
Sets the data column index.
|
Methods inherited from class wtWidget |
setStaticPosition, setRelativePosition, setAbsolutePosition, getAbsolutePosition, getScreenPosition, setPosition, setSize, setVisible, setDisplay, setAlpha, setDraggable, setDragArea, unsetDragArea, setSelectable, setEnabled, isEnabled, isInside, removeSelf, clearAll, setLevel, linkSignal, isAncestorOf, getStyle, setStyle
|
Methods inherited from class wtObject |
startProxy, endProxy, toString, connect, disconnect, emit, setSlot, removeSlot, setSignal, removeSignal, get, set, addDependency, clearLapsedListeners
|
wtDisplayRow
wtDisplayRow(<wtDisplay> _parent)
Constructs a display row used in a display table.
Parameters:
_parent
- The parent display table.
addWidget
wtDisplayCell addWidget(<wtWidget> widget)
Adds a widget towards the end of the display row.
Returns:
The new display cell containing the widget
addWidgetList
Array addWidgetList(<Array> widgetList)
Adds a list of widgets into the display row to be contained in a series of display cells.
Parameters:
widgetList
- List of widgets to be added
Returns:
The list of new display cells containing the widget list
base
Object base(<wtWidget> _parent, <String> _tagName)
Constructs a widget based on a DOM node
Parameters:
_parent
- The container widget to add this widget to. Can also be a DOM node like document.body. Fill in null if you don't want to immediately add this widget to a container.
_tagName
- The new DOM node's HTML tag
getValue
Object getValue()
Tells the data value of the cell under the data column. The data column of a display row is defined by the
setDataColumn() function.
Returns:
Data value of data column cell.
getValueList
Array getValueList()
Tells all the data values of all display cells in this display row.
setDataColumn
void setDataColumn(<Integer> idx)
Sets the data column index. The data column index is used to determine which display cell's data value to be
returned in the getValue() operation.
Documentation generated by
JSDoc on Sun May 13 11:26:24 2007