Controller, Label, NiftyControlLabel when accessing NiftyControls.@Deprecated public class LabelControl extends AbstractController implements Label
| Constructor | Description |
|---|---|
LabelControl() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Parameters parameter) |
Deprecated.
|
Color |
getColor() |
Deprecated.
Get the current Label color.
|
java.lang.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(java.lang.String text) |
Deprecated.
Change the Label text.
|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, onEndScreen, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic void bind(@Nonnull
Nifty nifty,
@Nonnull
Screen screen,
@Nonnull
Element element,
@Nonnull
Parameters parameter)
bind in interface Controllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic boolean inputEvent(@Nonnull
NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic void setText(@Nullable
java.lang.String text)
Label@Nullable public java.lang.String getText()
Labelpublic void setColor(@Nonnull
Color color)
LabelCopyright © 2018. All rights reserved.