NiftyControlCheckboxControlpublic interface CheckBox extends NiftyControl
| Modifier and Type | Method | 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, setWidthvoid check()
void uncheck()
void setChecked(boolean state)
state - true = checked, false = uncheckedboolean isChecked()
void toggle()
Copyright © 2018. All rights reserved.