|
||||||||||
| 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 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)
CheckBoxView
update in interface CheckBoxViewchecked - new state of the checkboxpublic void publish(CheckBoxStateChangedEvent event)
CheckBoxView
publish in interface CheckBoxViewevent - the event to publishpublic void check()
CheckBox
check in interface CheckBoxpublic void uncheck()
CheckBox
uncheck in interface CheckBoxpublic void setChecked(boolean state)
CheckBox
setChecked in interface CheckBoxstate - true = checked, false = uncheckedpublic boolean isChecked()
CheckBox
isChecked in interface CheckBoxpublic void toggle()
CheckBox
toggle in interface CheckBox
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||