NiftyControlLabelControlpublic interface Label extends NiftyControl
| Modifier and Type | Method | Description |
|---|---|---|
Color |
getColor() |
Get the current Label color.
|
java.lang.String |
getText() |
Get the Label text.
|
void |
setColor(Color color) |
Set the Label color.
|
void |
setText(java.lang.String text) |
Change the Label text.
|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthvoid setText(@Nullable
java.lang.String text)
text - new text@Nullable java.lang.String getText()
void setColor(@Nonnull
Color color)
color - the color@Nullable Color getColor()
Copyright © 2018. All rights reserved.