|
Sydney | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--Widget
|
+--Container
|
+--RadioGroup
Defined in form_widgets.js
| Fields inherited from class Container |
children
|
| Fields inherited from class Widget |
html, id, parent, layoutData, eventTable
|
| Constructor Summary | |
RadioGroup
(<string> name)
Creates a container for RadioButtons
that guarantees that the contained buttons are grouped.
|
|
| Method Summary | |
RadioButton
|
createButton()
Create a radio button for this RadioGroup. |
int
|
getSelected()
Get the index of the selected RadioButton. |
| Methods inherited from class Container |
appendChild, clear, contains, insertAfter, insertAt, insertBefore, isEmpty, prependChild, removeChild, replaceChild, setLayout, setEnabled
|
| Constructor Detail |
function RadioGroup(<string> name)
RadioButtons
that guarantees that the contained buttons are grouped.
To create a number of radio buttons that are associated together
(only one from the group is selected at a given time) ues the
RadioGroup.createButton method.
name - a unique name to use for the RadioButtons that will be inserted into this group
| Method Detail |
RadioButton createButton()
int getSelected()
|
Sydney | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||