public class IlvGradientIntervalColorModel extends IlvIntervalColorModel implements IlvColorIntervalLimitFormat
pixel_bits, transferType
BITMASK, OPAQUE, TRANSLUCENT
Constructor and Description |
---|
IlvGradientIntervalColorModel()
Creates a gradient color model with default color and limits values.
|
IlvGradientIntervalColorModel(Color[] colors,
short[] limits)
Creates a gradient color model.
|
IlvGradientIntervalColorModel(IlvInputStream stream)
Creates a gradient color model from an input stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowLimitChange()
Returns true.
|
String |
format(int value)
Formats value into 1/100 degrees.
|
int |
parse(String limit)
Parses a 1/100 Degrees value into an integer for the color model.
|
equals, getAlpha, getBlue, getColors, getGreen, getIntervalCount, getLimits, getRed, getRGB, hashCode, isPersistent, MakeElevationColorModel, write
coerceData, createCompatibleSampleModel, createCompatibleWritableRaster, finalize, getAlpha, getAlphaRaster, getBlue, getColorSpace, getComponents, getComponents, getComponentSize, getComponentSize, getDataElement, getDataElement, getDataElements, getDataElements, getDataElements, getGreen, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRed, getRGB, getRGBdefault, getTransferType, getTransparency, getUnnormalizedComponents, hasAlpha, isAlphaPremultiplied, isCompatibleRaster, isCompatibleSampleModel, toString
public IlvGradientIntervalColorModel()
public IlvGradientIntervalColorModel(IlvInputStream stream) throws IlvReadFileException
stream
- stream to read from.IlvReadFileException
public IlvGradientIntervalColorModel(Color[] colors, short[] limits)
public String format(int value)
format
in interface IlvColorIntervalLimitFormat
value
- The value to formatIlvColorIntervalLimitFormat.format(int)
public int parse(String limit)
parse
in interface IlvColorIntervalLimitFormat
limit
- String to parse.IlvColorIntervalLimitFormat.parse(java.lang.String)
public boolean allowLimitChange()
allowLimitChange
in interface IlvColorIntervalLimitFormat
true
to give user access to insert/delete/change limits.IlvColorIntervalLimitFormat.allowLimitChange()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.