info.bioinfweb.treegraph.document
Class IconLabel

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.IconLabel
All Implemented Interfaces:
PaintableElement, Cloneable

public class IconLabel
extends Label


Field Summary
 
Fields inherited from class info.bioinfweb.treegraph.document.ConcretePaintableElement
positions
 
Constructor Summary
IconLabel(Labels labels)
           
 
Method Summary
 Label clone()
          Implementing classes should not copy the EnumMap positions because the copy of this element will be located at another position.
 TextFormats getFormats()
           
 LabelPositionFormats getPositionFormats()
           
 void setFormats(ElementFormats format)
           
 void setPositionFormats(LabelPositionFormats formats)
           
 
Methods inherited from class info.bioinfweb.treegraph.document.Label
assignLabelData, getAbove, getBelow, getHoldingBranch, getID, getLabels, getLineIndex, getLineNo, getNext, getPrevious, idIsValid, isAbove, reinsert, setID, setLabels
 
Methods inherited from class info.bioinfweb.treegraph.document.TextElement
assignTextElementData, 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
 

Constructor Detail

IconLabel

public IconLabel(Labels labels)
Method Detail

clone

public Label clone()
Description copied from class: ConcretePaintableElement
Implementing classes should not copy the EnumMap positions because the copy of this element will be located at another position. Therefor the copy will should an empty EnumMap.

Specified by:
clone in class Label

getPositionFormats

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

setPositionFormats

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

getFormats

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

setFormats

public void setFormats(ElementFormats format)