public class LabelNull extends Object implements Label
Constructor and Description |
---|
LabelNull() |
Modifier and Type | Method and Description |
---|---|
void |
disable() |
void |
enable() |
Color |
getColor()
Get the current Label color.
|
Element |
getElement() |
int |
getHeight() |
String |
getId() |
String |
getStyle() |
String |
getText()
Get the Label text.
|
int |
getWidth() |
boolean |
hasFocus() |
boolean |
isBound() |
boolean |
isEnabled() |
void |
layoutCallback() |
void |
setColor(Color color)
Set the Label color.
|
void |
setEnabled(boolean enabled) |
void |
setFocus() |
void |
setFocusable(boolean focusable) |
void |
setHeight(SizeValue height) |
void |
setId(String id) |
void |
setStyle(String style) |
void |
setText(String text)
Change the Label text.
|
void |
setWidth(SizeValue width) |
public Element getElement()
getElement
in interface NiftyControl
public String getId()
getId
in interface NiftyControl
public void setId(String id)
setId
in interface NiftyControl
public int getWidth()
getWidth
in interface NiftyControl
public void setWidth(SizeValue width)
setWidth
in interface NiftyControl
public int getHeight()
getHeight
in interface NiftyControl
public void setHeight(SizeValue height)
setHeight
in interface NiftyControl
public String getStyle()
getStyle
in interface NiftyControl
public void setStyle(String style)
setStyle
in interface NiftyControl
public void enable()
enable
in interface NiftyControl
public void disable()
disable
in interface NiftyControl
public void setEnabled(boolean enabled)
setEnabled
in interface NiftyControl
public boolean isEnabled()
isEnabled
in interface NiftyControl
public void setText(String text)
Label
public void setColor(Color color)
Label
public Color getColor()
Label
public void setFocus()
setFocus
in interface NiftyControl
public void setFocusable(boolean focusable)
setFocusable
in interface NiftyControl
public boolean hasFocus()
hasFocus
in interface NiftyControl
public void layoutCallback()
layoutCallback
in interface NiftyControl
public boolean isBound()
isBound
in interface NiftyControl
Copyright © 2013. All Rights Reserved.