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, setWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
public CheckBoxImpl(CheckBox checkbox)
public void bindToView(CheckBoxView checkBoxView)
public void check()
CheckBox
public void uncheck()
CheckBox
public void setChecked(boolean state)
CheckBox
setChecked
in interface CheckBox
state
- true = checked, false = uncheckedpublic boolean isChecked()
CheckBox
Copyright © 2013. All Rights Reserved.