info.bioinfweb.treegraph.graphics.positionpaint.labelicons
Class LabelIconMap

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

public class LabelIconMap
extends java.lang.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  java.util.Map<java.lang.String,LabelIcon> map
           
 
Constructor Summary
private LabelIconMap()
           
 
Method Summary
private  void fill()
           
 LabelIcon get(java.lang.String id)
           
 java.lang.String getDefaultID()
           
static LabelIconMap getInstance()
           
private  void put(LabelIcon icon)
           
 int size()
           
 java.util.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 java.util.Map<java.lang.String,LabelIcon> map
Constructor Detail

LabelIconMap

private LabelIconMap()
Method Detail

put

private void put(LabelIcon icon)

fill

private void fill()

getInstance

public static LabelIconMap getInstance()

getDefaultID

public java.lang.String getDefaultID()

get

public LabelIcon get(java.lang.String id)

size

public int size()

values

public java.util.Collection<LabelIcon> values()