org.fraid.graphics.utils
Class ColorMap

java.lang.Object
  extended by org.fraid.graphics.utils.ColorMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ColorMap
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Field Summary
 java.awt.Color[] mMapColors
           
 java.awt.Color[] mSeedColors
           
 int mType
           
 
Constructor Summary
ColorMap()
           
ColorMap(int aType, java.awt.Color[] aSeedColors, java.awt.Color[] aMapColors)
           
 
Method Summary
 java.awt.Color[] getM_mapColors()
          Get the M_mapColors value.
 java.awt.Color[] getM_seedColors()
          Get the M_seedColors value.
 int getM_type()
          Get the M_type value.
 void setM_mapColors(java.awt.Color[] newM_mapColors)
          Set the M_mapColors value.
 void setM_seedColors(java.awt.Color[] newM_seedColors)
          Set the M_seedColors value.
 void setM_type(int newM_type)
          Set the M_type value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mType

public int mType

mSeedColors

public java.awt.Color[] mSeedColors

mMapColors

public java.awt.Color[] mMapColors
Constructor Detail

ColorMap

public ColorMap()

ColorMap

public ColorMap(int aType,
                java.awt.Color[] aSeedColors,
                java.awt.Color[] aMapColors)
Method Detail

getM_seedColors

public java.awt.Color[] getM_seedColors()
Get the M_seedColors value.

Returns:
the M_seedColors value.

setM_seedColors

public void setM_seedColors(java.awt.Color[] newM_seedColors)
Set the M_seedColors value.

Parameters:
newM_seedColors - The new M_seedColors value.

getM_mapColors

public java.awt.Color[] getM_mapColors()
Get the M_mapColors value.

Returns:
the M_mapColors value.

setM_mapColors

public void setM_mapColors(java.awt.Color[] newM_mapColors)
Set the M_mapColors value.

Parameters:
newM_mapColors - The new M_mapColors value.

getM_type

public int getM_type()
Get the M_type value.

Returns:
the M_type value.

setM_type

public void setM_type(int newM_type)
Set the M_type value.

Parameters:
newM_type - The new M_type value.


Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.