|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.controls.AbstractController
de.lessvoid.nifty.controls.checkbox.CheckboxControl
CheckBox
when accessing NiftyControls.
@Deprecated public class CheckboxControl
A CheckboxControl.
Constructor Summary | |
---|---|
CheckboxControl()
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class de.lessvoid.nifty.controls.AbstractController |
---|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl |
---|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
Constructor Detail |
---|
public CheckboxControl()
Method Detail |
---|
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
check
in interface CheckBox
public void uncheck()
CheckBox
uncheck
in interface CheckBox
public void setChecked(boolean state)
CheckBox
setChecked
in interface CheckBox
state
- true = checked, false = uncheckedpublic boolean isChecked()
CheckBox
isChecked
in interface CheckBox
public void toggle()
CheckBox
toggle
in interface CheckBox
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |