de.lessvoid.nifty.controls.label
Class LabelControl

java.lang.Object
  extended by de.lessvoid.nifty.controls.AbstractController
      extended by de.lessvoid.nifty.controls.label.LabelControl
All Implemented Interfaces:
Controller, Label, NiftyControl

Deprecated. Please directly use Label when accessing NiftyControls.

@Deprecated
public class LabelControl
extends AbstractController
implements Label


Constructor Summary
LabelControl()
          Deprecated.  
 
Method Summary
 void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
          Deprecated.  
 Color getColor()
          Deprecated. Get the current Label color.
 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(String text)
          Deprecated. Change the Label text.
 
Methods inherited from class de.lessvoid.nifty.controls.AbstractController
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

LabelControl

public LabelControl()
Deprecated. 
Method Detail

bind

public void bind(Nifty nifty,
                 Screen screen,
                 Element element,
                 Properties parameter,
                 Attributes controlDefinitionAttributes)
Deprecated. 
Specified by:
bind in interface Controller

onStartScreen

public void onStartScreen()
Deprecated. 
Specified by:
onStartScreen in interface Controller

inputEvent

public boolean inputEvent(NiftyInputEvent inputEvent)
Deprecated. 
Specified by:
inputEvent in interface Controller

setText

public void setText(String text)
Deprecated. 
Description copied from interface: Label
Change the Label text.

Specified by:
setText in interface Label
Parameters:
text - new text

getText

public String getText()
Deprecated. 
Description copied from interface: Label
Get the Label text.

Specified by:
getText in interface Label
Returns:
label text

setColor

public void setColor(Color color)
Deprecated. 
Description copied from interface: Label
Set the Label color.

Specified by:
setColor in interface Label
Parameters:
color - the color

getColor

public Color getColor()
Deprecated. 
Description copied from interface: Label
Get the current Label color.

Specified by:
getColor in interface Label
Returns:
the current color of the label


Copyright © 2011. All Rights Reserved.