org.eclipse.emf.edit.ui.provider
Class ImageDataSynthesizer.ColorInformation

java.lang.Object
  |
  +--org.eclipse.emf.edit.ui.provider.ImageDataSynthesizer.ColorInformation
Enclosing class:
org.eclipse.emf.edit.ui.provider.ImageDataSynthesizer

protected static class ImageDataSynthesizer.ColorInformation
extends java.lang.Object


Field Summary
 int blue
           
 int change
           
protected static java.util.List entries
           
 double[] factor
           
 int green
           
protected static ImageDataSynthesizer.ColorInformation instance
           
 boolean rainbow
           
 int red
           
 int which
           
 
Constructor Summary
protected ImageDataSynthesizer.ColorInformation()
           
 
Method Summary
protected  void fixFactor()
           
protected  void generateColor()
           
static ImageDataSynthesizer.ColorInformation getColor(int index)
           
 byte scale(int value, double factor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected static ImageDataSynthesizer.ColorInformation instance

entries

protected static java.util.List entries

red

public int red

green

public int green

blue

public int blue

which

public int which

change

public int change

factor

public double[] factor

rainbow

public boolean rainbow
Constructor Detail

ImageDataSynthesizer.ColorInformation

protected ImageDataSynthesizer.ColorInformation()
Method Detail

getColor

public static ImageDataSynthesizer.ColorInformation getColor(int index)

scale

public byte scale(int value,
                  double factor)

generateColor

protected void generateColor()

fixFactor

protected void fixFactor()

Copyright 2001-2002 IBM Corporation and others.
All Rights Reserved.