Class metawidget.layout.TableLayout
Layout to arrange widgets in a table, with one column for the
label and another for the widget.
Defined in: metawidget-layouts.js.
Constructor Attributes | Constructor Name and Description |
---|---|
metawidget.layout.TableLayout(config)
|
Method Attributes | Method Name and Description |
---|---|
getLabelString(attributes, mw)
|
|
layoutLabel(tr, idPrefix, widget, elementName, attributes, mw)
|
|
layoutRequired(tr, attributes, mw)
|
|
layoutWidget(widget, elementName, attributes, container, mw)
|
|
startContainerLayout(container, mw)
|
Method Detail
getLabelString(attributes, mw)
- Parameters:
- attributes
- mw
- Returns:
- the label string, a blank string if no label, or null
layoutLabel(tr, idPrefix, widget, elementName, attributes, mw)
- Parameters:
- tr
- idPrefix
- widget
- elementName
- attributes
- mw
layoutRequired(tr, attributes, mw)
- Parameters:
- tr
- attributes
- mw
layoutWidget(widget, elementName, attributes, container, mw)
- Parameters:
- widget
- elementName
- attributes
- container
- mw
startContainerLayout(container, mw)
- Parameters:
- container
- mw