info.bioinfweb.treegraph.document
Class TextLabel

java.lang.Object
  extended by info.bioinfweb.treegraph.document.ConcretePaintableElement
      extended by info.bioinfweb.treegraph.document.TextElement
          extended by info.bioinfweb.treegraph.document.Label
              extended by info.bioinfweb.treegraph.document.TextLabel
All Implemented Interfaces:
PaintableElement, java.lang.Cloneable

public class TextLabel
extends Label


Field Summary
private  TextLabelFormats formats
           
 
Fields inherited from class info.bioinfweb.treegraph.document.ConcretePaintableElement
positions
 
Constructor Summary
TextLabel(Labels labels)
           
 
Method Summary
 TextLabel clone()
          Copys the object.
 TextLabelFormats getFormats()
           
 LabelPositionFormats getPositionFormats()
           
 void setFormats(ElementFormats formats)
           
 void setPositionFormats(LabelPositionFormats formats)
           
 
Methods inherited from class info.bioinfweb.treegraph.document.Label
getID, getLabels, idIsValid, reinsert, setID, setLabels
 
Methods inherited from class info.bioinfweb.treegraph.document.TextElement
getData, toString
 
Methods inherited from class info.bioinfweb.treegraph.document.ConcretePaintableElement
getPosition
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

formats

private TextLabelFormats formats
Constructor Detail

TextLabel

public TextLabel(Labels labels)
Method Detail

setFormats

public void setFormats(ElementFormats formats)

getFormats

public TextLabelFormats getFormats()
Specified by:
getFormats in interface PaintableElement
Specified by:
getFormats in class TextElement

getPositionFormats

public LabelPositionFormats getPositionFormats()
Specified by:
getPositionFormats in class Label

setPositionFormats

public void setPositionFormats(LabelPositionFormats formats)
Specified by:
setPositionFormats in class Label

clone

public TextLabel clone()
Description copied from class: ConcretePaintableElement
Copys the object. The internal EnumMap positions is not copied because the copy of this element will be at another position. Therefor the copy will have an empty EnumMap for the positions.

Overrides:
clone in class Label