CheckBox when accessing NiftyControls.@Deprecated public class CheckboxControl extends AbstractController implements CheckBox, CheckBoxView
| Constructor and Description |
|---|
CheckboxControl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Nifty niftyParam,
Screen screenParam,
Element elementParam,
Properties propertiesParam,
Attributes controlDefinitionAttributes)
Deprecated.
|
void |
check()
Deprecated.
Check this CheckBox.
|
void |
init(Properties parameter,
Attributes controlDefinitionAttributes)
Deprecated.
|
boolean |
inputEvent(NiftyInputEvent inputEvent)
Deprecated.
|
boolean |
isChecked()
Deprecated.
Returns the current State of this CheckBox.
|
boolean |
onClick()
Deprecated.
|
void |
onFocus(boolean getFocus)
Deprecated.
|
void |
onStartScreen()
Deprecated.
|
void |
publish(CheckBoxStateChangedEvent event)
Deprecated.
Publish this event.
|
void |
setChecked(boolean state)
Deprecated.
Set the state of this CheckBox to the given state.
|
void |
toggle()
Deprecated.
Toggle this CheckBox state.
|
void |
uncheck()
Deprecated.
Uncheck this CheckBox.
|
void |
update(boolean checked)
Deprecated.
Update the View with the new state.
|
bind, 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 void bind(Nifty niftyParam, Screen screenParam, Element elementParam, Properties propertiesParam, Attributes controlDefinitionAttributes)
bind in interface Controllerpublic void init(Properties parameter, Attributes controlDefinitionAttributes)
init in interface Controllerinit in class AbstractControllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic void onFocus(boolean getFocus)
onFocus in interface ControlleronFocus in class AbstractControllerpublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic boolean onClick()
public void update(boolean checked)
CheckBoxViewupdate in interface CheckBoxViewchecked - new state of the checkboxpublic void publish(CheckBoxStateChangedEvent event)
CheckBoxViewpublish in interface CheckBoxViewevent - the event to publishpublic 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.