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 IconLabel

    java.lang.Object
      info.bioinfweb.treegraph.document.ConcretePaintableElement
          info.bioinfweb.treegraph.document.TextElement
              info.bioinfweb.treegraph.document.Label
                  info.bioinfweb.treegraph.document.IconLabel

All Implemented Interfaces:
  PaintableElement, java.lang.Cloneable

    public class IconLabel

extends Label

This class represents an icon label in TreeGraph 2.

Author:
  Ben Stöver

Field Summary

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

Constructor Summary
`IconLabel(Labels labels)`

Method Summary
`IconLabel` | `clone()` Implementing classes should not copy the `EnumMap positions` because the copy of this element will be located at another position.
`TextFormats` | `getFormats()`
`LabelPositionFormats` | `getPositionFormats()`
`void` | `setFormats(ElementFormats format)`
`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`

Constructor Detail

### IconLabel

    public IconLabel(Labels labels)

Method Detail

### getPositionFormats

    public LabelPositionFormats getPositionFormats()

  Specified by:
    `getPositionFormats` in class `Label`

### setPositionFormats

    public void setPositionFormats(LabelPositionFormats formats)

  Specified by:
    `setPositionFormats` in class `Label`

### getFormats

    public TextFormats getFormats()

  Specified by:
    `getFormats` in interface `PaintableElement`
  Specified by:
    `getFormats` in class `TextElement`

### clone

    public IconLabel 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 `Label`

### setFormats

    public void setFormats(ElementFormats format)

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