public interface Label extends NiftyControl
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Get the current Label color.
|
String |
getText()
Get the Label text.
|
void |
setColor(Color color)
Set the Label color.
|
void |
setText(String text)
Change the Label text.
|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
void setText(String text)
text
- new textString getText()
void setColor(Color color)
color
- the colorColor getColor()
Copyright © 2013. All Rights Reserved.