T
- public interface CheckBox extends NiftyControl
Modifier and Type | Method and Description |
---|---|
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
void check()
void uncheck()
void setChecked(boolean state)
state
- true = checked, false = uncheckedboolean isChecked()
void toggle()
Copyright © 2013. All Rights Reserved.