|
||||||||||
| 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.label.LabelControl
Label when accessing NiftyControls.
@Deprecated public class LabelControl
| Constructor Summary | |
|---|---|
LabelControl()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes)
Deprecated. |
Color |
getColor()
Deprecated. Get the current Label color. |
String |
getText()
Deprecated. Get the Label text. |
boolean |
inputEvent(NiftyInputEvent inputEvent)
Deprecated. |
void |
onStartScreen()
Deprecated. |
void |
setColor(Color color)
Deprecated. Set the Label color. |
void |
setText(String text)
Deprecated. Change the Label text. |
| Methods inherited from class de.lessvoid.nifty.controls.AbstractController |
|---|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, onFocus, 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 LabelControl()
| Method Detail |
|---|
public void bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes)
bind in interface Controllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic void setText(String text)
Label
setText in interface Labeltext - new textpublic String getText()
Label
getText in interface Labelpublic void setColor(Color color)
Label
setColor in interface Labelcolor - the colorpublic Color getColor()
Label
getColor in interface Label
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||