info.bioinfweb.treegraph.document
Class TextElement
java.lang.Object
info.bioinfweb.treegraph.document.ConcretePaintableElement
info.bioinfweb.treegraph.document.TextElement
- All Implemented Interfaces:
- PaintableElement, Cloneable
- Direct Known Subclasses:
- Label, Legend, Node, ScaleBar
public abstract class TextElement
- extends ConcretePaintableElement
This class can be used as the acestor of all classes that represent document elements
which contain text or decimal values.
- Author:
- Ben Stöver
- See Also:
TextElementData
data
private TextElementData data
TextElement
public TextElement()
getData
public TextElementData getData()
getFormats
public abstract TextFormats getFormats()
toString
public String toString()
- Overrides:
toString in class Object
assignTextElementData
public void assignTextElementData(TextElement other)
clone
public abstract TextElement 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 ConcretePaintableElement