de.lessvoid.nifty.controls
Interface Label

All Superinterfaces:
NiftyControl
All Known Implementing Classes:
LabelControl, LabelNull

public interface Label
extends NiftyControl


Method Summary
 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.
 
Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
 

Method Detail

setText

void setText(String text)
Change the Label text.

Parameters:
text - new text

getText

String getText()
Get the Label text.

Returns:
label text

setColor

void setColor(Color color)
Set the Label color.

Parameters:
color - the color

getColor

Color getColor()
Get the current Label color.

Returns:
the current color of the label


Copyright © 2011. All Rights Reserved.