|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.RasterRendererMakerDefault
public class RasterRendererMakerDefault
A way to determine which renderer is used for the default display of a raster dataset.
The RasterRendererMakerDefault object is used by the system to determine the default renderer used to display a raster. The default renderer is used when a raster is initially added to ArcMap, ArcScene, ArcGlobe or the raster is displayed in ArcCatalog. The renderer can later be changed in ArcMap, ArcScene, and ArcGlobe, but is not adjustable within ArcCatalog. Custom renderer maker objects can be created if you wish to use different renderer defaults than those provided by this object. This object can be cocreated to see which renderer will be used by default for any raster.
Constructor Summary | |
---|---|
RasterRendererMakerDefault()
Constructs a RasterRendererMakerDefault using ArcGIS Engine. |
|
RasterRendererMakerDefault(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterRendererMakerDefault theRasterRendererMakerDefault = (RasterRendererMakerDefault) obj; |
Method Summary | |
---|---|
IRasterRenderer |
createDefaultRasterRenderer(IRaster pRaster)
Returns the raster renderer which should be used for the default display of the input raster. |
IRasterRenderer |
createDefaultRasterRenderer(IRasterDataset pRasterDataset)
Returns the raster renderer which should be used for the default display of the input raster. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getPriority()
Controls the order in which renderer makers are selected. |
int |
hashCode()
the hashcode for this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public RasterRendererMakerDefault() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterRendererMakerDefault(Object obj) throws IOException
RasterRendererMakerDefault theRasterRendererMakerDefault = (RasterRendererMakerDefault) obj;
obj
to RasterRendererMakerDefault
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IRasterRenderer createDefaultRasterRenderer(IRaster pRaster) throws IOException, AutomationException
createDefaultRasterRenderer
in interface IRasterRendererMaker
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPriority() throws IOException, AutomationException
The priority method returns the priority of this renderer maker relative to others in the system. Renderer makers are called with decreasing priority until a renderer is provided for a raster. As soon as a renderer is returned, the priority of the RasterRendererMakerDefault is 0. The CreateRasterDefaultRenderer method returns the renderer that will be used by default for the input raster.
getPriority
in interface IRasterRendererMaker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRasterRenderer createDefaultRasterRenderer(IRasterDataset pRasterDataset) throws IOException, AutomationException
createDefaultRasterRenderer
in interface IRasterRendererMaker2
pRasterDataset
- A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |