|
Sydney | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Widget | +--RadioButton
Defined in form_widgets.js
See:
Fields inherited from class Widget |
html, id, parent, layoutData, eventTable
|
Constructor Summary | |
RadioButton
(<string> name)
Creates a standard radio button. |
Method Summary | |
void
|
check()
Sets the checked-state of this radio button to true .
|
boolean
|
getStatus()
Returns the checked-state of this radio button. |
void
|
setStatus(<boolean> state)
Sets the checked state of this radio button to state .
|
void
|
toggle()
Toggles the checked-state of this radio button, either from checked to unchecked or from unchecked to checked. |
void
|
uncheck()
Sets the checked-state of this radio button to false .
|
Constructor Detail |
function RadioButton(<string> name)
name
- the name of this button. Buttons with the same name are grouped and mutually exclusive.
Method Detail |
void check()
true
.
boolean getStatus()
true
if the radio button is checked and
false
otherwise.
void setStatus(<boolean> state)
state
.
state
- the new checked-state for this button. The button is checked if state
is true
and unchecked otherwise.
void toggle()
void uncheck()
false
.
|
Sydney | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |