de.lessvoid.nifty.controls.checkbox
Class CheckboxControl

java.lang.Object
  extended by de.lessvoid.nifty.controls.AbstractController
      extended by de.lessvoid.nifty.controls.checkbox.CheckboxControl
All Implemented Interfaces:
CheckBox, CheckBoxView, Controller, NiftyControl

Deprecated. Please use CheckBox when accessing NiftyControls.

@Deprecated
public class CheckboxControl
extends AbstractController
implements CheckBox, CheckBoxView

A CheckboxControl.

Author:
void

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

CheckboxControl

public CheckboxControl()
Deprecated. 
Method Detail

bind

public void bind(Nifty niftyParam,
                 Screen screenParam,
                 Element elementParam,
                 Properties propertiesParam,
                 Attributes controlDefinitionAttributes)
Deprecated. 
Specified by:
bind in interface Controller

init

public void init(Properties parameter,
                 Attributes controlDefinitionAttributes)
Deprecated. 
Specified by:
init in interface Controller
Overrides:
init in class AbstractController

onStartScreen

public void onStartScreen()
Deprecated. 
Specified by:
onStartScreen in interface Controller

onFocus

public void onFocus(boolean getFocus)
Deprecated. 
Specified by:
onFocus in interface Controller
Overrides:
onFocus in class AbstractController

inputEvent

public boolean inputEvent(NiftyInputEvent inputEvent)
Deprecated. 
Specified by:
inputEvent in interface Controller

onClick

public boolean onClick()
Deprecated. 

update

public void update(boolean checked)
Deprecated. 
Description copied from interface: CheckBoxView
Update the View with the new state.

Specified by:
update in interface CheckBoxView
Parameters:
checked - new state of the checkbox

publish

public void publish(CheckBoxStateChangedEvent event)
Deprecated. 
Description copied from interface: CheckBoxView
Publish this event.

Specified by:
publish in interface CheckBoxView
Parameters:
event - the event to publish

check

public void check()
Deprecated. 
Description copied from interface: CheckBox
Check this CheckBox.

Specified by:
check in interface CheckBox

uncheck

public void uncheck()
Deprecated. 
Description copied from interface: CheckBox
Uncheck this CheckBox.

Specified by:
uncheck in interface CheckBox

setChecked

public void setChecked(boolean state)
Deprecated. 
Description copied from interface: CheckBox
Set the state of this CheckBox to the given state.

Specified by:
setChecked in interface CheckBox
Parameters:
state - true = checked, false = unchecked

isChecked

public boolean isChecked()
Deprecated. 
Description copied from interface: CheckBox
Returns the current State of this CheckBox.

Specified by:
isChecked in interface CheckBox
Returns:

toggle

public void toggle()
Deprecated. 
Description copied from interface: CheckBox
Toggle this CheckBox state.

Specified by:
toggle in interface CheckBox


Copyright © 2011. All Rights Reserved.