info.bioinfweb.treegraph.document
Class TextLabel
java.lang.Object
info.bioinfweb.treegraph.document.ConcretePaintableElement
info.bioinfweb.treegraph.document.TextElement
info.bioinfweb.treegraph.document.Label
info.bioinfweb.treegraph.document.TextLabel
- All Implemented Interfaces:
- PaintableElement, java.lang.Cloneable
public class TextLabel
- extends Label
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
formats
private TextLabelFormats formats
TextLabel
public TextLabel(Labels labels)
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