Class ox.UI.FieldSet
A group of widgets with a common caption (legend).
The group is represented by a <fieldset> element.
Defined in: configuration.js.
Constructor Attributes | Constructor Name and Description |
---|---|
ox.UI.FieldSet(legend)
|
Method Attributes | Method Name and Description |
---|---|
Builds the legend of the FieldSet.
|
Class Detail
ox.UI.FieldSet(legend)
- Parameters:
- {I18nString} legend
- An optional legend text. If not specified, #getLegend must be overwritten to return the legend as an array of DOM nodes.
Method Detail
{Array}
getLegend()
Builds the legend of the FieldSet. Descendants can overwrite this
method to create different legends.
- Returns:
- An array of DOM nodes which constitute the children of the <legend> node.