metricsOverlay.colorManagers
Class ContinuousListColorManager
java.lang.Object
metricsOverlay.colorManagers.ContinuousListColorManager
- All Implemented Interfaces:
- IColorManager
public class ContinuousListColorManager
- extends java.lang.Object
- implements IColorManager
This colour manager takes in a list of colours, and then provides an interpolated result
between the each of the colours specified.
- Version:
- 5/7/2009
- Author:
- Matthew Harward
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContinuousListColorManager
public ContinuousListColorManager()
ContinuousListColorManager
public ContinuousListColorManager(java.util.List<org.eclipse.swt.graphics.Color> cList)
getNumColors
public int getNumColors()
- Specified by:
getNumColors
in interface IColorManager
getRange
public int getRange()
- Specified by:
getRange
in interface IColorManager
appendColor
public void appendColor(org.eclipse.swt.graphics.Color a)
getColor
public org.eclipse.swt.graphics.Color getColor(int index)
- Specified by:
getColor
in interface IColorManager