Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class ncsa.horizon.awt.color.GreyScaleColorModel

java.lang.Object
  |
  +--java.awt.image.ColorModel
        |
        +--ncsa.horizon.awt.color.HorizonColorModel
              |
              +--ncsa.horizon.awt.color.FunctionalColorModel
                    |
                    +--ncsa.horizon.awt.color.GreyScaleColorModel

public class GreyScaleColorModel
extends FunctionalColorModel
a simple linear greyscale color model

See Also:
Serialized Form

Fields inherited from class ncsa.horizon.awt.color.FunctionalColorModel
doscale, oflo, uflo, undef
 
Fields inherited from class ncsa.horizon.awt.color.HorizonColorModel
mapsz, transi
 
Fields inherited from class java.awt.image.ColorModel
pixel_bits, transferType
 
Constructor Summary
GreyScaleColorModel(int bits, int size)
           
 
Method Summary
byte getAlphaValue(double in)
           
byte getBlueValue(double in)
           
byte getGreenValue(double in)
           
byte getRedValue(double in)
           
 
Methods inherited from class ncsa.horizon.awt.color.FunctionalColorModel
getAlpha, getAlpha, getAlphaValue, getBlue, getBlue, getBlueValue, getGreen, getGreen, getGreenValue, getRed, getRed, getRedValue, isEditable, setOverflowColor, setUndefinedColor, setUnderflowColor
 
Methods inherited from class ncsa.horizon.awt.color.HorizonColorModel
addHorizonColorModelListener, clearChanged, clone, createIndexColorModel, delayNotify, delayNotify, getAlpha, getAlphas, getBlue, getBlues, getGreen, getGreens, getMapSize, getOverflowColor, getRed, getReds, getTransparentIndex, getUndefinedColor, getUnderflowColor, hasChanged, notifyListeners, removeAllListeners, removeListener, saveColorModel, saveColorModel, saveColorModel, setChanged, setChanged, setOverflowColor, setTransparentIndex, setUndefinedColor, setUnderflowColor
 
Methods inherited from class java.awt.image.ColorModel
coerceData, createCompatibleSampleModel, createCompatibleWritableRaster, equals, finalize, getAlpha, getAlpha, getAlphaRaster, getBlue, getBlue, getColorSpace, getComponents, getComponents, getComponentSize, getComponentSize, getDataElement, getDataElements, getGreen, getGreen, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRed, getRed, getRGB, getRGB, getRGBdefault, getTransparency, getUnnormalizedComponents, hasAlpha, isAlphaPremultiplied, isCompatibleRaster, isCompatibleSampleModel, setDataElements, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

GreyScaleColorModel

public GreyScaleColorModel(int bits,
                           int size)
Method Detail

getRedValue

public byte getRedValue(double in)
Overrides:
getRedValue in class FunctionalColorModel

getGreenValue

public byte getGreenValue(double in)
Overrides:
getGreenValue in class FunctionalColorModel

getBlueValue

public byte getBlueValue(double in)
Overrides:
getBlueValue in class FunctionalColorModel

getAlphaValue

public byte getAlphaValue(double in)
Overrides:
getAlphaValue in class FunctionalColorModel

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD