public class CheckBoxImpl extends EmptyNiftyControlImpl implements CheckBox
| Constructor and Description |
|---|
CheckBoxImpl(CheckBox checkbox) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic CheckBoxImpl(CheckBox checkbox)
public void bindToView(CheckBoxView checkBoxView)
public void check()
CheckBoxpublic void uncheck()
CheckBoxpublic void setChecked(boolean state)
CheckBoxsetChecked in interface CheckBoxstate - true = checked, false = uncheckedpublic boolean isChecked()
CheckBoxCopyright © 2013. All Rights Reserved.