y25.view
Class LayerLabel

java.lang.Object
  extended byy25.view.LayerLabel

public class LayerLabel
extends Object

Very simple implementation of a layer label.


Field Summary
protected  String labelText
          The text of this label.
 
Constructor Summary
LayerLabel()
          Creates a new label with an empty text.
LayerLabel(String text)
          Creates a new label with the given text.
 
Method Summary
 String getText()
          Returns the text of this label.
 void setText(String text)
          Sets the text of this label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

labelText

protected String labelText
The text of this label.

Constructor Detail

LayerLabel

public LayerLabel()
Creates a new label with an empty text.


LayerLabel

public LayerLabel(String text)
Creates a new label with the given text.

Method Detail

getText

public String getText()
Returns the text of this label.


setText

public void setText(String text)
Sets the text of this label.