TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.tools.internal
Class GradientPalette

java.lang.Object
  extended by org.eclipse.tptp.platform.report.tools.internal.GradientPalette
All Implemented Interfaces:
IPalette

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class GradientPalette
extends java.lang.Object
implements IPalette

Palette generating numberous colors using linear interpolation between two colors.


Constructor Summary
GradientPalette(int _num_color, int _color0, int _color1)
          Deprecated. Create a simple gradient palette using two colors
 
Method Summary
 DColor getColor(int index)
          Deprecated. returns the DColor at the index index int the palette
 int getNumColors()
          Deprecated. returns the color number
 int getRGBA(int index)
          Deprecated. returns the RGBA color at the index index int the palette
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradientPalette

public GradientPalette(int _num_color,
                       int _color0,
                       int _color1)
Deprecated. 
Create a simple gradient palette using two colors

Method Detail

getNumColors

public int getNumColors()
Deprecated. 
Description copied from interface: IPalette
returns the color number

Specified by:
getNumColors in interface IPalette

getColor

public DColor getColor(int index)
Deprecated. 
Description copied from interface: IPalette
returns the DColor at the index index int the palette

Specified by:
getColor in interface IPalette

getRGBA

public int getRGBA(int index)
Deprecated. 
Description copied from interface: IPalette
returns the RGBA color at the index index int the palette

Specified by:
getRGBA in interface IPalette

TPTP 4.5.0 Platform Project
Internal API Specification