|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lessvoid.nifty.controls.shared.EmptyNiftyControlImpl
de.lessvoid.nifty.controls.checkbox.CheckBoxImpl
public class CheckBoxImpl
| Constructor Summary | |
|---|---|
CheckBoxImpl(CheckBox checkbox)
|
|
| Method Summary | |
|---|---|
void |
bindToView(CheckBoxView checkBoxView)
|
void |
check()
Check this CheckBox. |
boolean |
isChecked()
Returns the current State of this CheckBox. |
void |
setChecked(boolean state)
Set the state of this CheckBox to the given state. |
void |
toggle()
Toggle this CheckBox state. |
void |
uncheck()
Uncheck this CheckBox. |
| Methods inherited from class de.lessvoid.nifty.controls.shared.EmptyNiftyControlImpl |
|---|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl |
|---|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
| Constructor Detail |
|---|
public CheckBoxImpl(CheckBox checkbox)
| Method Detail |
|---|
public void bindToView(CheckBoxView checkBoxView)
public void check()
CheckBox
check in interface CheckBoxpublic void uncheck()
CheckBox
uncheck in interface CheckBoxpublic void setChecked(boolean state)
CheckBox
setChecked in interface CheckBoxstate - true = checked, false = uncheckedpublic boolean isChecked()
CheckBox
isChecked in interface CheckBoxpublic void toggle()
CheckBox
toggle in interface CheckBox
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||