public class RasterColormap extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRasterColormap, IRasterColormap2, IRasterColormap3, IRasterColormap4, IPersist, IPersistStream, java.io.Externalizable
Description 'A container for a colormap used to display a raster band.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
IID, IID706f687a_ae96_416f_aeeb_bd234bbb7dc9, xxDummy
IID0ead5a24_a135_46ee_acc2_2cb6181f1c2b
IIDa4d0d354_b981_4088_9384_2f82a19783a6
IID7e7e6105_fa34_11d1_8d22_0000f8780535
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
Constructor and Description |
---|
RasterColormap()
Constructs a RasterColormap using ArcGIS Engine.
|
RasterColormap(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RasterColormap theRasterColormap = (RasterColormap) obj; |
Modifier and Type | Method and Description |
---|---|
int |
bin(double pixval)
Translates pixel values into integers to index them into the colormap.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IBinFunction |
getBinFunction()
The Bin function that maps pixel value into colormap index.
|
java.lang.Object |
getBlueValues()
Array of blue ratios as doubles between 0.0 and 1.0.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.Object |
getColors()
Array of colors as OLE_COLORs.
|
java.lang.Object |
getGreenValues()
Array of green ratios as doubles between 0.0 and 1.0.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.Object |
getRedValues()
Array of red ratios as doubles between 0.0 and 1.0.
|
java.lang.Object |
getRemappedBlueValues()
The remapped Blue color component values using LUT from index to value (OBJECTID, VALUE).
|
java.lang.Object |
getRemappedColors()
The remapped colors using LUT from index to value (OBJECTID, VALUE).
|
java.lang.Object |
getRemappedGreenValues()
The remapped Green color component values using LUT from index to value (OBJECTID, VALUE).
|
java.lang.Object |
getRemappedRedValues()
The remapped Red color component values using LUT from index to value (OBJECTID, VALUE).
|
int |
getSize()
The number of colors in this colormap.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
java.lang.Object |
getValues()
The list of pixel values.
|
int |
hashCode()
the hashcode for this object
|
void |
isDirty()
isDirty
|
void |
load(IStream pstm)
load
|
void |
loadFrom(java.lang.String colormapFileName)
Loads colors from an Esri .clr file.
|
void |
loadFromString(java.lang.String colormapDefinition)
Loads from a colormap definition string.
|
void |
queryMinMax(int[] min,
int[] max)
Queries minimum and maximum pixel values.
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
saveTo(java.lang.String colormapFileName)
Saves colors to an Esri .clr file.
|
void |
setBlueValues(java.lang.Object val)
Array of blue ratios as doubles between 0.0 and 1.0.
|
void |
setColors(java.lang.Object val)
Array of colors as OLE_COLORs.
|
void |
setGreenValues(java.lang.Object val)
Array of green ratios as doubles between 0.0 and 1.0.
|
void |
setLUT(ITable rhs1)
The lookup table (OBJECTID, VALUE) for remaping from index to pixel value.
|
void |
setRedValues(java.lang.Object val)
Array of red ratios as doubles between 0.0 and 1.0.
|
void |
setValues(java.lang.Object pValues)
The list of pixel values.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public RasterColormap() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic RasterColormap(java.lang.Object obj) throws java.io.IOException
RasterColormap theRasterColormap = (RasterColormap) obj;
obj
to RasterColormap
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.Object getRedValues() throws java.io.IOException, AutomationException
getRedValues
in interface IRasterColormap
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRedValues(java.lang.Object val) throws java.io.IOException, AutomationException
setRedValues
in interface IRasterColormap
val
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getGreenValues() throws java.io.IOException, AutomationException
getGreenValues
in interface IRasterColormap
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGreenValues(java.lang.Object val) throws java.io.IOException, AutomationException
setGreenValues
in interface IRasterColormap
val
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getBlueValues() throws java.io.IOException, AutomationException
getBlueValues
in interface IRasterColormap
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setBlueValues(java.lang.Object val) throws java.io.IOException, AutomationException
setBlueValues
in interface IRasterColormap
val
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getColors() throws java.io.IOException, AutomationException
getColors
in interface IRasterColormap
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setColors(java.lang.Object val) throws java.io.IOException, AutomationException
setColors
in interface IRasterColormap
val
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int bin(double pixval) throws java.io.IOException, AutomationException
bin
in interface IRasterColormap
pixval
- The pixval (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLUT(ITable rhs1) throws java.io.IOException, AutomationException
setLUT
in interface IRasterColormap2
rhs1
- A reference to a com.esri.arcgis.geodatabase.ITable (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getRemappedColors() throws java.io.IOException, AutomationException
getRemappedColors
in interface IRasterColormap2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getRemappedRedValues() throws java.io.IOException, AutomationException
getRemappedRedValues
in interface IRasterColormap2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getRemappedGreenValues() throws java.io.IOException, AutomationException
getRemappedGreenValues
in interface IRasterColormap2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getRemappedBlueValues() throws java.io.IOException, AutomationException
getRemappedBlueValues
in interface IRasterColormap2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IBinFunction getBinFunction() throws java.io.IOException, AutomationException
getBinFunction
in interface IRasterColormap2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void loadFrom(java.lang.String colormapFileName) throws java.io.IOException, AutomationException
loadFrom
in interface IRasterColormap3
colormapFileName
- The colormapFileName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void saveTo(java.lang.String colormapFileName) throws java.io.IOException, AutomationException
saveTo
in interface IRasterColormap3
colormapFileName
- The colormapFileName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getValues() throws java.io.IOException, AutomationException
getValues
in interface IRasterColormap4
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setValues(java.lang.Object pValues) throws java.io.IOException, AutomationException
setValues
in interface IRasterColormap4
pValues
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryMinMax(int[] min, int[] max) throws java.io.IOException, AutomationException
queryMinMax
in interface IRasterColormap4
min
- The min (out: use single element array)max
- The max (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void loadFromString(java.lang.String colormapDefinition) throws java.io.IOException, AutomationException
loadFromString
in interface IRasterColormap4
colormapDefinition
- The colormapDefinition (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getSize() throws java.io.IOException, AutomationException
getSize
in interface IRasterColormap4
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException