de.lessvoid.nifty.controls.nullobjects
Class CheckBoxNull

java.lang.Object
  extended by de.lessvoid.nifty.controls.nullobjects.CheckBoxNull
All Implemented Interfaces:
CheckBox, NiftyControl

public class CheckBoxNull
extends Object
implements CheckBox


Constructor Summary
CheckBoxNull()
           
 
Method Summary
 void check()
          Check this CheckBox.
 void disable()
           
 void enable()
           
 Element getElement()
           
 int getHeight()
           
 String getId()
           
 String getStyle()
           
 int getWidth()
           
 boolean hasFocus()
           
 boolean isBound()
           
 boolean isChecked()
          Returns the current State of this CheckBox.
 boolean isEnabled()
           
 void layoutCallback()
           
 void setChecked(boolean state)
          Set the state of this CheckBox to the given state.
 void setEnabled(boolean enabled)
           
 void setFocus()
           
 void setFocusable(boolean focusable)
           
 void setHeight(SizeValue height)
           
 void setId(String id)
           
 void setStyle(String style)
           
 void setWidth(SizeValue width)
           
 void toggle()
          Toggle this CheckBox state.
 void uncheck()
          Uncheck this CheckBox.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckBoxNull

public CheckBoxNull()
Method Detail

getElement

public Element getElement()
Specified by:
getElement in interface NiftyControl

getId

public String getId()
Specified by:
getId in interface NiftyControl

setId

public void setId(String id)
Specified by:
setId in interface NiftyControl

getWidth

public int getWidth()
Specified by:
getWidth in interface NiftyControl

setWidth

public void setWidth(SizeValue width)
Specified by:
setWidth in interface NiftyControl

getHeight

public int getHeight()
Specified by:
getHeight in interface NiftyControl

setHeight

public void setHeight(SizeValue height)
Specified by:
setHeight in interface NiftyControl

getStyle

public String getStyle()
Specified by:
getStyle in interface NiftyControl

setStyle

public void setStyle(String style)
Specified by:
setStyle in interface NiftyControl

enable

public void enable()
Specified by:
enable in interface NiftyControl

disable

public void disable()
Specified by:
disable in interface NiftyControl

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface NiftyControl

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface NiftyControl

check

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

Specified by:
check in interface CheckBox

uncheck

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

Specified by:
uncheck in interface CheckBox

setChecked

public void setChecked(boolean state)
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()
Description copied from interface: CheckBox
Returns the current State of this CheckBox.

Specified by:
isChecked in interface CheckBox
Returns:

toggle

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

Specified by:
toggle in interface CheckBox

setFocus

public void setFocus()
Specified by:
setFocus in interface NiftyControl

setFocusable

public void setFocusable(boolean focusable)
Specified by:
setFocusable in interface NiftyControl

hasFocus

public boolean hasFocus()
Specified by:
hasFocus in interface NiftyControl

layoutCallback

public void layoutCallback()
Specified by:
layoutCallback in interface NiftyControl

isBound

public boolean isBound()
Specified by:
isBound in interface NiftyControl


Copyright © 2011. All Rights Reserved.