de.cau.cs.kieler.klay.layered.graph
Class LLabel

java.lang.Object
  extended by de.cau.cs.kieler.core.properties.MapPropertyHolder
      extended by de.cau.cs.kieler.klay.layered.graph.LGraphElement
          extended by de.cau.cs.kieler.klay.layered.graph.LShape
              extended by de.cau.cs.kieler.klay.layered.graph.LLabel
All Implemented Interfaces:
IPropertyHolder, Comparable<LGraphElement>

public class LLabel
extends LShape

A label in the layered graph structure.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.klay.layered.graph.LGraphElement
id
 
Constructor Summary
LLabel()
          Creates a label with empty text.
LLabel(String thetext)
          Creates a label.
 
Method Summary
 String getText()
          Returns the text of the label.
 
Methods inherited from class de.cau.cs.kieler.klay.layered.graph.LShape
getPosition, getSize
 
Methods inherited from class de.cau.cs.kieler.klay.layered.graph.LGraphElement
compareTo
 
Methods inherited from class de.cau.cs.kieler.core.properties.MapPropertyHolder
checkProperties, copyProperties, getAllProperties, getProperty, getProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LLabel

public LLabel(String thetext)
Creates a label.

Parameters:
thetext - text of the label

LLabel

public LLabel()
Creates a label with empty text.

Method Detail

getText

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

Returns:
the text