info.bioinfweb.treegraph.graphics.positionpaint
Class PositionPaintFactory
java.lang.Object
info.bioinfweb.treegraph.graphics.positionpaint.PositionPaintFactory
public class PositionPaintFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
firstInstance
private static PositionPaintFactory firstInstance
factories
private EnumMap<PositionPaintType,SinglePositionPaintFactory> factories
PositionPaintFactory
private PositionPaintFactory()
getInstance
public static PositionPaintFactory getInstance()
fillFactoryList
private void fillFactoryList()
getPositioner
public TreePositioner getPositioner(PositionPaintType type)
getPainter
public TreePainter getPainter(PositionPaintType type)
getName
public String getName(PositionPaintType type)
needsBrancheLengths
public boolean needsBrancheLengths(PositionPaintType type)
getType
public PositionPaintType getType(TreePositioner positioner)
getType
public PositionPaintType getType(TreePainter painter)
getDefaultType
public static PositionPaintType getDefaultType()
names
public String[] names()
size
public int size()