Label when accessing NiftyControls.@Deprecated public class LabelControl extends AbstractController implements Label
| Constructor and Description |
|---|
LabelControl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic 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)
Labelpublic String getText()
Labelpublic void setColor(Color color)
LabelCopyright © 2013. All Rights Reserved.