WT Toolkit 0.3.3

Class wtDisplay

Object
   |
   +--wtObject
         |
         +--wtWidget
               |
               +--wtDisplay
Direct Known Subclasses:
wtSpreadSheet

class wtDisplay
extends wtWidget


A tabular display with an optional caption. Available signals:


Defined in wt_widget.js


Constructor Summary
wtDisplay(<wtWidget|DOM_Node> _parent, <String> _width)
            Constructs a tabular display with an optional caption
 
Method Summary
 {wtWidget} addWidget(<wtDisplayRow> widget)
           Adds a display row to this display table
 Object base(<wtWidget> _parent, <String> _tagName)
           Constructs a widget based on a DOM node
 void delDisplayRow(<Integer> rowIdx)
           Deletes one of the child display rows
 Array getValueArray()
           Tells the data values of all display cells in the display table
 wtDisplayRow setDisplayRow(<Array> displayrow)
           Adds a row with a list of widgets
 wtWidget setSimpleRow(<String|wtWidget> label, <wtWidget|String> widget)
           Adds a row with a label at the left and a widget at the right
 void setSortEnabled(<Array> colList)
           Sets which columns to enable display table sorting.
 wtDisplayRow setStatusRow(<wtWidget|String> widget)
           Adds a status row
 wtDisplayRow setSubtitleRow(<Array> displayrow)
           Adds a subtitle row that indicates the type of objects displayed in each of the columns of display table, and can be used for sorting
 void setTitle(<String|wtWidget> title)
           Sets the title, the title is usually a string, but it can also be a wtWidget
 void sort(<Integer> colIndex)
           Sorts the table according to the data value order of rows on the colIndex column
 void unsetStatusRow()
           Removes the status row
 void unsetSubtitleRow()
           Removes the subtitle row
 void unsetTitle()
           Clears the title
 
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
 

Constructor Detail

wtDisplay

wtDisplay(<wtWidget|DOM_Node> _parent, <String> _width)

Method Detail

addWidget

{wtWidget} addWidget(<wtDisplayRow> widget)

base

Object base(<wtWidget> _parent, <String> _tagName)

delDisplayRow

void delDisplayRow(<Integer> rowIdx)

getValueArray

Array getValueArray()

setDisplayRow

wtDisplayRow setDisplayRow(<Array> displayrow)

setSimpleRow

wtWidget setSimpleRow(<String|wtWidget> label, <wtWidget|String> widget)

setSortEnabled

void setSortEnabled(<Array> colList)

setStatusRow

wtDisplayRow setStatusRow(<wtWidget|String> widget)

setSubtitleRow

wtDisplayRow setSubtitleRow(<Array> displayrow)

setTitle

void setTitle(<String|wtWidget> title)

sort

void sort(<Integer> colIndex)

unsetStatusRow

void unsetStatusRow()

unsetSubtitleRow

void unsetSubtitleRow()

unsetTitle

void unsetTitle()

WT Toolkit 0.3.3

Documentation generated by JSDoc on Sun May 13 11:26:24 2007