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.graphics.positionpaint.labelicons
Class LabelIconMap

    java.lang.Object
      info.bioinfweb.treegraph.graphics.positionpaint.labelicons.LabelIconMap

    public class LabelIconMap

extends Object

Stores a list of instances of all available label icons.

Since:
  2.0.25
Author:
  Ben Stöver

Field Summary
`private static LabelIconMap` | `firstInstance`
`private Map<String,LabelIcon>` | `map`

Constructor Summary
`private` | `LabelIconMap()`

Method Summary
`private void` | `fill()` Adds all available icons to the map.
`LabelIcon` | `get(String id)`
`String` | `getDefaultID()`
`static LabelIconMap` | `getInstance()`
`private void` | `put(LabelIcon icon)`
`int` | `size()`
`Collection<LabelIcon>` | `values()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### firstInstance

    private static LabelIconMap firstInstance

### map

    private Map<String,LabelIcon> map

Constructor Detail

### LabelIconMap

    private LabelIconMap()

Method Detail

### put

    private void put(LabelIcon icon)

### fill

    private void fill()

  Adds all available icons to the map. (called in the constructor)

### getInstance

    public static LabelIconMap getInstance()

### getDefaultID

    public String getDefaultID()

### get

    public LabelIcon get(String id)

### size

    public int size()

### values

    public Collection<LabelIcon> values()

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