|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.controls.nullobjects.CheckBoxNull
public class CheckBoxNull
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 |
---|
public CheckBoxNull()
Method Detail |
---|
public Element getElement()
getElement
in interface NiftyControl
public String getId()
getId
in interface NiftyControl
public void setId(String id)
setId
in interface NiftyControl
public int getWidth()
getWidth
in interface NiftyControl
public void setWidth(SizeValue width)
setWidth
in interface NiftyControl
public int getHeight()
getHeight
in interface NiftyControl
public void setHeight(SizeValue height)
setHeight
in interface NiftyControl
public String getStyle()
getStyle
in interface NiftyControl
public void setStyle(String style)
setStyle
in interface NiftyControl
public void enable()
enable
in interface NiftyControl
public void disable()
disable
in interface NiftyControl
public void setEnabled(boolean enabled)
setEnabled
in interface NiftyControl
public boolean isEnabled()
isEnabled
in interface NiftyControl
public 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
public void setFocus()
setFocus
in interface NiftyControl
public void setFocusable(boolean focusable)
setFocusable
in interface NiftyControl
public boolean hasFocus()
hasFocus
in interface NiftyControl
public void layoutCallback()
layoutCallback
in interface NiftyControl
public boolean isBound()
isBound
in interface NiftyControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |