|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmoka.lang.Object
moka.event.EventListener
moka.x.Component
moka.x.CaptionedComponent
moka.x.CheckBox
moka.x.RadioButton
RadioButton class is a check box component.
Field Summary | |
RadioGroup |
group
The group of the radio button. |
Fields inherited from class moka.x.CheckBox |
checked |
Fields inherited from class moka.x.Component |
enabled, height, listen, mnemonic, next, parent, prev, visible, width, x, y |
Fields inherited from interface moka.x.Captioned |
caption, font |
Constructor Summary | |
RadioButton()
|
|
RadioButton(java.lang.String caption)
|
Method Summary | |
void |
paint()
Paints the RadioButton. |
void |
setGroup(RadioGroup group)
Sets the RadioGroup associated with this RadioButton. |
void |
use()
This method is invoked by the GEM when the user interacts with the RadioButton. |
Methods inherited from class moka.x.CheckBox |
setChecked |
Methods inherited from class moka.x.CaptionedComponent |
finalize |
Methods inherited from class moka.x.Component |
bottom, center, checkMnemonic, clean, eventTriggered, isCursorOver, left, move, onPaint, right, setBounds, setEnabled, setHeight, setMnemonic, setVisible, setWidth, setX, setY, toFront, top |
Methods inherited from class moka.event.EventListener |
eventTriggered |
Methods inherited from class moka.lang.Object |
equals, getClassName, toString |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface moka.x.Captioned |
setCaption, setFont |
Field Detail |
public RadioGroup group
Constructor Detail |
public RadioButton()
public RadioButton(java.lang.String caption)
Method Detail |
public void paint()
paint
in class CheckBox
public void use()
use
in class CheckBox
public void setGroup(RadioGroup group)
group
- the RadioGroup associated with this RadioButton.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |