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.document
Class PieColorManager

    java.lang.Object
      info.bioinfweb.treegraph.document.PieColorManager

    public class PieColorManager

extends Object

Defines the default colors for the pies in pie chart labels.

Since:
  2.0.43
Author:
  Ben Stöver

Field Summary
`private List<Color>` | `colors`
`static Color[]` | `DEFAULT_COLORS`
`private static PieColorManager` | `firstInstance`

Constructor Summary
`private` | `PieColorManager()`

Method Summary
`void` | `addDefaultColors(PieChartLabelFormats formats, int newSize)`
`Color` | `colorForIndex(int index)`
`static PieColorManager` | `getInstance()`

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

Field Detail

### DEFAULT_COLORS

    public static final Color[] DEFAULT_COLORS

### firstInstance

    private static PieColorManager firstInstance

### colors

    private List<Color> colors

Constructor Detail

### PieColorManager

    private PieColorManager()

Method Detail

### getInstance

    public static PieColorManager getInstance()

### colorForIndex

    public Color colorForIndex(int index)

### addDefaultColors

    public void addDefaultColors(PieChartLabelFormats formats,
                                 int newSize)

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