info.bioinfweb.treegraph.graphics.positionpaint
Class PositionPaintFactory
java.lang.Object
info.bioinfweb.treegraph.graphics.positionpaint.PositionPaintFactory
public class PositionPaintFactory
- extends java.lang.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 java.util.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 java.lang.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 java.lang.String[] names()
size
public int size()