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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
firstInstance
private static LabelIconMap firstInstance
map
private Map<String,LabelIcon> map
LabelIconMap
private LabelIconMap()
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()