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, 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 void bind(Nifty niftyParam, Screen screenParam, Element elementParam, Properties propertiesParam, Attributes controlDefinitionAttributes)
bind
in interface Controller
public void init(Properties parameter, Attributes controlDefinitionAttributes)
init
in interface Controller
init
in class AbstractController
public void onStartScreen()
onStartScreen
in interface Controller
public void onFocus(boolean getFocus)
onFocus
in interface Controller
onFocus
in class AbstractController
public boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent
in interface Controller
public boolean onClick()
public void update(boolean checked)
CheckBoxView
update
in interface CheckBoxView
checked
- new state of the checkboxpublic void publish(CheckBoxStateChangedEvent event)
CheckBoxView
publish
in interface CheckBoxView
event
- the event to publishpublic 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.