org.deegree_impl.model.cv
Class GrayEntry_Impl

java.lang.Object
  extended byorg.deegree_impl.model.cv.PseudoColorTableEntry_Impl
      extended byorg.deegree_impl.model.cv.GrayEntry_Impl
All Implemented Interfaces:
GrayEntry, PseudoColorTableEntry

public class GrayEntry_Impl
extends PseudoColorTableEntry_Impl
implements GrayEntry

describes a gray entry of a color palette

-----------------------------------------------------------------------

Version:
$Revision: 1.2 $ $Date: 2004/01/03 13:46:46 $

Author:
Andreas Poth

Field Summary
private  float gray
           
 
Constructor Summary
GrayEntry_Impl(int index, float gray)
           
 
Method Summary
 float getGray()
          returns the gray value of the color palette
 int getIndex()
          returns the index of the color table entry
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.model.coverage.PseudoColorTableEntry
getIndex
 

Field Detail

gray

private float gray
Constructor Detail

GrayEntry_Impl

public GrayEntry_Impl(int index,
                      float gray)
Method Detail

getGray

public float getGray()
returns the gray value of the color palette

Specified by:
getGray in interface GrayEntry

getIndex

public int getIndex()
returns the index of the color table entry

Specified by:
getIndex in interface PseudoColorTableEntry

toString

public java.lang.String toString()