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()
- Returns a deep copy of this text 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
- See Also:
ConcretePaintableElement.clone()