Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary
`private TextLabelFormats` | `formats`

Fields inherited from class info.bioinfweb.treegraph.document.ConcretePaintableElement
`positions`

Constructor Summary
`TextLabel(Labels labels)`

Method Summary
`TextLabel` | `clone()` Returns a deep copy of this text label.
`TextLabelFormats` | `getFormats()`
`LabelPositionFormats` | `getPositionFormats()`
`void` | `setFormats(ElementFormats formats)`
`void` | `setPositionFormats(LabelPositionFormats formats)`

Methods inherited from class info.bioinfweb.treegraph.document.Label
`assignLabelData, getID, getLabels, idIsValid, 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`

Field Detail

### formats

    private TextLabelFormats formats

Constructor Detail

### TextLabel

    public TextLabel(Labels labels)

Method Detail

### 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()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD