|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.RasterDiscreteColorRenderer
public class RasterDiscreteColorRenderer
COM Class 'RasterDiscreteColorRenderer'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'A raster discrete color renderer.' 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 =
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Fields inherited from interface com.esri.arcgis.carto.IRasterDiscreteColorRenderer |
|---|
IID, IID7eda4f65_67e5_4bab_9916_80aea4a414c0, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IRasterRenderer |
|---|
IID, IID6f5322d1_3790_11d2_8d26_0000f8780535, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IRasterRenderer2 |
|---|
IID, IID36695416_2a62_4f24_a97c_5b60f40cf311, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IRasterRendererInfo |
|---|
IID, IID2546feb5_7334_41c7_9160_0b15ba62c809, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IRasterDisplayProps |
|---|
IID, IIDa6a46058_92f3_11d3_aba5_0008c73fca1c, xxDummy |
| Fields inherited from interface com.esri.arcgis.display.IDisplayAdmin |
|---|
IID, IID12e361f0_1907_11d3_80c7_0080c79f0371, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IDisplayTableExchange |
|---|
IID, IID56448e92_9ef7_11d4_b286_00508bcdc7c8, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IRasterRendererColorRamp |
|---|
IID, IID04402b9e_6136_4ba4_a5f7_50fdbc245d9c, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IRasterRendererUpdate |
|---|
IID, IID76877c54_c010_4550_a202_bc882196af40, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersistStream |
|---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersist |
|---|
IID0000010c_0000_0000_c000_000000000046 |
| Fields inherited from interface com.esri.arcgis.system.IXMLSerialize |
|---|
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy |
| Constructor Summary | |
|---|---|
RasterDiscreteColorRenderer()
Constructs a RasterDiscreteColorRenderer using ArcGIS Engine. |
|
RasterDiscreteColorRenderer(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterDiscreteColorRenderer theRasterDiscreteColorRenderer = (RasterDiscreteColorRenderer) obj; |
|
| Method Summary | |
|---|---|
void |
adaptRaster(IRaster pRaster)
Adapts to the new raster. |
boolean |
canRender(IRaster raster)
Indicates if the raster can be rendered. |
void |
copy(IRasterRenderer pSource)
Selects a raster as the current copy object. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
draw(IRaster raster,
int drawPhase,
IDisplay pDisplay,
ITrackCancel pTrackCancel)
Draws the raster on the display. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
int |
getBrightnessValue()
Brightness value for a raster. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
java.lang.String |
getColorScheme()
The color scheme name. |
int |
getContrastValue()
Contrast value for a raster. |
java.lang.String |
getDescription()
The description of the raster renderer. |
int |
getDisplayResolutionFactor()
Display resolution factor. |
ITable |
getDisplayTable()
The renderer display table. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
ILegendGroup |
getLegendGroup(int index)
Legend group at the specified index. |
int |
getLegendGroupCount()
Number of legend groups contained by the object. |
ILegendItem |
getLegendItem()
Optional. |
java.lang.String |
getName()
The name of the raster renderer. |
IColor |
getNoDataColor()
Nodata color for a raster. |
int |
getNumColors()
The number of colors. |
IRaster |
getRaster()
Raster to be rendered. |
int |
getResamplingType()
Resampling method for displaying a raster. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getTransparencyValue()
Transparency value for a raster. |
int |
hashCode()
the hashcode for this object |
IArray |
identify(IGeometry pGeom)
Identifies objects at the specified location. |
IColorRamp |
IRasterRendererColorRamp_getColorRamp()
The color ramp of the color map. |
void |
isDirty()
isDirty |
boolean |
isSymbolsAreGraduated()
Indicates if symbols are graduated. |
boolean |
isUpdated()
Indicates whether the renderer requires updating. |
boolean |
isUsesFilter()
Indicates if the current object draws using a filter. |
void |
load(IStream pstm)
load |
void |
readExternal(java.io.ObjectInput in)
|
void |
recreateRaster(IRasterDataset pDataset,
IRaster pRaster)
Recreates a raster, if necessary, from a given RasterDataset. |
void |
release()
Release a RasterDiscreteColorRenderer. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setBrightnessValue(int pValue)
Brightness value for a raster. |
void |
setColormap(IRasterColormap rhs1)
The custom colormap. |
void |
setColorRamp(IColorRamp ppColorRamp)
The color ramp of the color map. |
void |
setColorScheme(java.lang.String colorScheme)
The color scheme name. |
void |
setContrastValue(int iValue)
Contrast value for a raster. |
void |
setDisplayResolutionFactor(int pnFactor)
Display resolution factor. |
void |
setDisplayTableByRef(ITable ppTable)
The renderer display table. |
void |
setNoDataColorByRef(IColor ppColor)
Nodata color for a raster. |
void |
setNumColors(int pNumColors)
The number of colors. |
void |
setRasterByRef(IRaster raster)
Raster to be rendered. |
void |
setResamplingType(int pResamplingType)
Resampling method for displaying a raster. |
void |
setSymbolsAreGraduated(boolean symbolsAreGraduated)
Indicates if symbols are graduated. |
void |
setTransparencyValue(int pValue)
Transparency value for a raster. |
void |
update()
Updates the renderer for any changes that have been made. |
void |
update(IRasterLayer pRasterLayer)
Updates this raster renderer using a given raster layer. |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public RasterDiscreteColorRenderer()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public RasterDiscreteColorRenderer(java.lang.Object obj)
throws java.io.IOException
RasterDiscreteColorRenderer theRasterDiscreteColorRenderer = (RasterDiscreteColorRenderer) obj;
obj to RasterDiscreteColorRenderer.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void setNumColors(int pNumColors)
throws java.io.IOException,
AutomationException
setNumColors in interface IRasterDiscreteColorRendererpNumColors - The pNumColors (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNumColors()
throws java.io.IOException,
AutomationException
getNumColors in interface IRasterDiscreteColorRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColormap(IRasterColormap rhs1)
throws java.io.IOException,
AutomationException
setColormap in interface IRasterDiscreteColorRendererrhs1 - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canRender(IRaster raster)
throws java.io.IOException,
AutomationException
canRender in interface IRasterRendererraster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRasterByRef(IRaster raster)
throws java.io.IOException,
AutomationException
setRasterByRef in interface IRasterRendererraster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRaster getRaster()
throws java.io.IOException,
AutomationException
getRaster in interface IRasterRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IRaster raster,
int drawPhase,
IDisplay pDisplay,
ITrackCancel pTrackCancel)
throws java.io.IOException,
AutomationException
draw in interface IRasterRendererraster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)drawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUpdated()
throws java.io.IOException,
AutomationException
isUpdated in interface IRasterRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void update()
throws java.io.IOException,
AutomationException
update in interface IRasterRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void copy(IRasterRenderer pSource)
throws java.io.IOException,
AutomationException
copy in interface IRasterRendererpSource - A reference to a com.esri.arcgis.carto.IRasterRenderer (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getResamplingType()
throws java.io.IOException,
AutomationException
getResamplingType in interface IRasterRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setResamplingType(int pResamplingType)
throws java.io.IOException,
AutomationException
setResamplingType in interface IRasterRendererpResamplingType - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDisplayResolutionFactor(int pnFactor)
throws java.io.IOException,
AutomationException
setDisplayResolutionFactor in interface IRasterRendererpnFactor - The pnFactor (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDisplayResolutionFactor()
throws java.io.IOException,
AutomationException
getDisplayResolutionFactor in interface IRasterRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void recreateRaster(IRasterDataset pDataset,
IRaster pRaster)
throws java.io.IOException,
AutomationException
recreateRaster in interface IRasterRenderer2pDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void adaptRaster(IRaster pRaster)
throws java.io.IOException,
AutomationException
adaptRaster in interface IRasterRenderer2pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IRasterRendererInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDescription()
throws java.io.IOException,
AutomationException
getDescription in interface IRasterRendererInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setContrastValue(int iValue)
throws java.io.IOException,
AutomationException
setContrastValue in interface IRasterDisplayPropsiValue - The iValue (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getContrastValue()
throws java.io.IOException,
AutomationException
getContrastValue in interface IRasterDisplayPropsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBrightnessValue(int pValue)
throws java.io.IOException,
AutomationException
setBrightnessValue in interface IRasterDisplayPropspValue - The pValue (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBrightnessValue()
throws java.io.IOException,
AutomationException
getBrightnessValue in interface IRasterDisplayPropsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTransparencyValue(int pValue)
throws java.io.IOException,
AutomationException
setTransparencyValue in interface IRasterDisplayPropspValue - The pValue (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTransparencyValue()
throws java.io.IOException,
AutomationException
getTransparencyValue in interface IRasterDisplayPropsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getNoDataColor()
throws java.io.IOException,
AutomationException
getNoDataColor in interface IRasterDisplayPropsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNoDataColorByRef(IColor ppColor)
throws java.io.IOException,
AutomationException
setNoDataColorByRef in interface IRasterDisplayPropsppColor - A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray identify(IGeometry pGeom)
throws java.io.IOException,
AutomationException
When the IIdentify interface is on a map layer, the Identify method returns an array of FeatureIdentifyObject objects.
On a FeatureIdentifyObject, you can do a QI to the IIdentifyObj interface to get more information about the identified feature. The IIdentifyObj interface returns the window handle, layer, and name of the feature; it has methods to flash the feature in the display and to display a context menu at the Identify location.
This method performs an identify operation with the provided geometry. When identifying layers, typically a small envelope is passed in rather than a point to account for differences in the precision of the display and the feature geometry.
identify in interface IIdentifypGeom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLegendGroupCount()
throws java.io.IOException,
AutomationException
The number of legend groups is determined by the implementation of the renderer, consequently this property is read only. For example, SimpleRenderer has one group, while a BiUniqueValueRenderer has any number of groups.
getLegendGroupCount in interface ILegendInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILegendGroup getLegendGroup(int index)
throws java.io.IOException,
AutomationException
getLegendGroup in interface ILegendInfoindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILegendItem getLegendItem()
throws java.io.IOException,
AutomationException
Layer or renderer legend information is further formatted for display in ArcMap legends. A renderer can override this formatting by returning a LegendItem for this property. ESRI renderers typically do not return anything for this property. With this configuration, legend formatting becomes a user or developer choice on the legend object.
getLegendItem in interface ILegendInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSymbolsAreGraduated()
throws java.io.IOException,
AutomationException
Indicates whether the symbols used for a layer or renderer's legend vary by size.
For example the proportional symbol renderer returns True for this property.
You can use this property to distinguish between a layer symbolized with graduated color or graduated symbol type layer symbology. Both of these symbolizations use a ClassBreaksRenderer, but only a graduated symbol symbolization will return True for this property.
isSymbolsAreGraduated in interface ILegendInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolsAreGraduated(boolean symbolsAreGraduated)
throws java.io.IOException,
AutomationException
setSymbolsAreGraduated in interface ILegendInfosymbolsAreGraduated - The symbolsAreGraduated (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUsesFilter()
throws java.io.IOException,
AutomationException
isUsesFilter in interface IDisplayAdminjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDisplayTableByRef(ITable ppTable)
throws java.io.IOException,
AutomationException
setDisplayTableByRef in interface IDisplayTableExchangeppTable - 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 ITable getDisplayTable()
throws java.io.IOException,
AutomationException
getDisplayTable in interface IDisplayTableExchangejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getColorScheme()
throws java.io.IOException,
AutomationException
getColorScheme in interface IRasterRendererColorRampjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColorScheme(java.lang.String colorScheme)
throws java.io.IOException,
AutomationException
setColorScheme in interface IRasterRendererColorRampcolorScheme - The colorScheme (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColorRamp IRasterRendererColorRamp_getColorRamp()
throws java.io.IOException,
AutomationException
IRasterRendererColorRamp_getColorRamp in interface IRasterRendererColorRampjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColorRamp(IColorRamp ppColorRamp)
throws java.io.IOException,
AutomationException
setColorRamp in interface IRasterRendererColorRampppColorRamp - A reference to a com.esri.arcgis.display.IColorRamp (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void update(IRasterLayer pRasterLayer)
throws java.io.IOException,
AutomationException
update in interface IRasterRendererUpdatepRasterLayer - A reference to a com.esri.arcgis.carto.IRasterLayer (in)
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 IPersistpClassID - 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 IPersistStreamjava.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 IPersistStreampstm - 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 IPersistStreampstm - 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 IPersistStreampcbSize - 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 serialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
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.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||