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, setWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
public void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind
in interface Controller
public void onStartScreen()
onStartScreen
in interface Controller
public boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent
in interface Controller
public void setText(String text)
Label
public String getText()
Label
public void setColor(Color color)
Label
Copyright © 2013. All Rights Reserved.