Home / Development / Documentation / 2.0.44 / IconLabel
TreeGraph 2
 


info.bioinfweb.treegraph.document
Class IconLabel

java.lang.Object
  extended by info.bioinfweb.treegraph.document.ConcretePaintableElement
      extended by info.bioinfweb.treegraph.document.Label
          extended by info.bioinfweb.treegraph.document.GraphicalLabel
              extended by info.bioinfweb.treegraph.document.IconLabel
All Implemented Interfaces:
LineElement, PaintableElement, TreeElement, Cloneable

public class IconLabel
extends GraphicalLabel
implements LineElement

Since:
2.0.26
Author:
Ben Stöver

Field Summary
private  IconLabelFormats formats
           
 
Fields inherited from class info.bioinfweb.treegraph.document.ConcretePaintableElement
positions
 
Constructor Summary
IconLabel(Labels labels)
           
 
Method Summary
 Label clone()
          Returns a deep copy of this icon label.
 IconLabelFormats getFormats()
           
 void setFormats(ElementFormats formats)
           
 
Methods inherited from class info.bioinfweb.treegraph.document.Label
assignLabelData, getAbove, getBelow, getHoldingBranch, getID, getLabels, getLineIndex, getLineNo, getLinkedNode, getNext, getPrevious, idIsValid, isAbove, reinsert, setID, setLabels
 
Methods inherited from class info.bioinfweb.treegraph.document.ConcretePaintableElement
getPosition
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.bioinfweb.treegraph.document.PaintableElement
getPosition
 

Field Detail

formats

private IconLabelFormats formats
Constructor Detail

IconLabel

public IconLabel(Labels labels)
Method Detail

getFormats

public IconLabelFormats getFormats()
Specified by:
getFormats in interface LineElement
Specified by:
getFormats in interface PaintableElement
Specified by:
getFormats in class GraphicalLabel

setFormats

public void setFormats(ElementFormats formats)
Specified by:
setFormats in interface PaintableElement

clone

public Label clone()
Returns a deep copy of this icon label. Note that the linked Labels-object of the returned object is null no matter if this object was linked or not.

Specified by:
clone in class Label