|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--moka.lang.Object | +--moka.event.EventListener | +--moka.x.Component | +--moka.x.CaptionedComponent | +--moka.x.CheckBox
CheckBox class is a check box component.
Field Summary | |
boolean |
checked
Is the 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 | |
CheckBox()
|
|
CheckBox(java.lang.String caption)
|
Method Summary | |
void |
paint()
Paints the CheckBox. |
void |
setChecked(boolean b)
Sets if the CheckBox is checked. |
void |
use()
This method is invoked by the GEM when the user interacts with the CheckButton. |
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 boolean checked
Constructor Detail |
public CheckBox()
public CheckBox(java.lang.String caption)
Method Detail |
public void paint()
paint
in class Component
public void use()
use
in class Component
public void setChecked(boolean b)
b
- true if the CheckBox should be checked, false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |