org.eclipse.emf.codegen.ecore.genmodel.impl
Class GenBaseImpl.ColorInformation

java.lang.Object
  extended byorg.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl.ColorInformation
Enclosing class:
GenBaseImpl

public static class GenBaseImpl.ColorInformation
extends Object


Field Summary
 int blue
           
 int change
           
protected static List entries
           
 double[] factor
           
 int green
           
protected static GenBaseImpl.ColorInformation instance
           
 boolean rainbow
           
 int red
           
 int which
           
 
Constructor Summary
GenBaseImpl.ColorInformation()
           
 
Method Summary
protected  void fixFactor()
           
protected  void generateColor()
           
static GenBaseImpl.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 GenBaseImpl.ColorInformation instance

entries

protected static 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

GenBaseImpl.ColorInformation

public GenBaseImpl.ColorInformation()
Method Detail

getColor

public static GenBaseImpl.ColorInformation getColor(int index)

scale

public byte scale(int value,
                  double factor)

generateColor

protected void generateColor()

fixFactor

protected void fixFactor()

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