|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.RasterStretchColorRampRenderer
public class RasterStretchColorRampRenderer
A renderer with a color ramp for rasters with continuous values.
| Constructor Summary | |
|---|---|
RasterStretchColorRampRenderer()
Constructs a RasterStretchColorRampRenderer using ArcGIS Engine. |
|
RasterStretchColorRampRenderer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterStretchColorRampRenderer theRasterStretchColorRampRenderer = (RasterStretchColorRampRenderer) 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(Object o)
Compare this object with another |
IColor |
getBackgroundColor()
Background display color. |
Object |
getBackgroundValue()
The list of background value(s). |
double |
getBackgroundValues()
Indicates whether an array of background values is being used. |
int |
getBandIndex()
Index of the band to be rendered. |
Object |
getBandIndices()
The band indices being used in the mapping. |
int |
getBrightnessValue()
Brightness value for a raster. |
int |
getClassCount()
Number of classes in the renderer. |
void |
getClassID(GUID[] pClassID)
getClassID |
String |
getClassificationField()
Classification field name or an empty string if a table doesn't exist. |
static String |
getClsid()
getClsid. |
IColorRamp |
getColorRamp()
Color ramp. |
String |
getColorScheme()
ColorScheme name. |
int |
getContrastValue()
Contrast value for a raster. |
double |
getCustomStretchMax()
The custom maximum value for stretch renderer type "Minimum-Maximum". |
double |
getCustomStretchMin()
The custom minimum value for stretch renderer type "Minimum-Maximum". |
String |
getDescription()
The description of the raster renderer. |
int |
getDisplayResolutionFactor()
Display resolution factor. |
ITable |
getDisplayTable()
The renderer display table. |
Object |
getGammaValue()
The list of Gamma value(s). |
String |
getLabelHigh()
Label for highest value. |
String |
getLabelLow()
Label for lowest value. |
String |
getLabelMedium()
Label for medium value. |
String |
getLabelText(int index)
Label Text. |
double |
getLabelValue(int index)
Value. |
ILegendGroup |
getLegendGroup(int index)
Legend group at the specified index. |
int |
getLegendGroupCount()
Number of legend groups contained by the object. |
ILegendItem |
getLegendItem()
Optional. |
String |
getName()
The name of the raster renderer. |
IColor |
getNoDataColor()
Nodata color for a raster. |
String |
getNormalizationField()
Normalization field name or an empty string if none. |
int |
getNumLabels()
Number of labels. |
IRaster |
getRaster()
Raster to be rendered. |
int |
getResamplingType()
Resampling method for displaying a raster. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
IArray |
getSpecificationHistogram()
The statistics for histogram specification stretch. |
double |
getStandardDeviationsParam()
Standard deviation parameter for the stretch renderer. |
double |
getStretchMax()
The maximum value used for stretching cell values. |
double |
getStretchMin()
The minimum value used for stretching cell values. |
IArray |
getStretchStats()
The global raster stretch statistics. |
int |
getStretchStatsType()
The current stretch statistics type. |
int |
getStretchType()
Current stretch type. |
int |
getTransparencyValue()
Transparency value for a raster. |
double |
getZScale()
The Z factor multipled to z valuesg. |
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. |
boolean |
isBackground()
Indicates if a background value is being used. |
void |
isDirty()
isDirty |
boolean |
isGlobeLayerRenderer()
Indicates whether it is a ArcGlobe layer renderer. |
boolean |
isInvert()
Indicates if the stretch is inverted. |
boolean |
isNumericClasses()
Indicates if the classification field is numeric. |
boolean |
isSymbolsAreGraduated()
Indicates if symbols are graduated. |
boolean |
isUpdated()
Indicates whether the renderer requires updating. |
boolean |
isUseAdvancedLabeling()
Indicates whether the advanced labeling is being used. |
boolean |
isUseCustomStretchMinMax()
Indicates whether to use the custom minimum/maximum values for stretch renderer type "Minimum-Maximum". |
boolean |
isUseDefaultMapping()
Indicates whether the default mapping is being used. |
boolean |
isUseGamma()
Indicates if Gamma stretch should be applied. |
boolean |
isUseHillShade()
Indicates whether the hill shading is being used. |
boolean |
isUsesFilter()
Indicates if the current object draws using a filter. |
void |
load(IStream pstm)
load |
void |
queryNumberClass(int classIndex,
double[] minValue,
double[] maxValue,
int[] outValue)
Information for a number class by index. |
void |
queryStringClass(int classIndex,
String[] inValue,
int[] outValue)
Information for a string class by index. |
void |
readExternal(ObjectInput in)
|
void |
recreateRaster(IRasterDataset pDataset,
IRaster pRaster)
Recreates a raster, if necessary, from a given RasterDataset. |
void |
resetLabels()
Makes default labels. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setBackground(boolean b)
Indicates if a background value is being used. |
void |
setBackgroundColorByRef(IColor ppColor)
Background display color. |
void |
setBackgroundValue(Object background)
The list of background value(s). |
void |
setBackgroundValues(double[] pBkg)
Indicates whether an array of background values is being used. |
void |
setBandIndex(int bandIndex)
Index of the band to be rendered. |
void |
setBandIndices(Object vIndex)
The band indices being used in the mapping. |
void |
setBrightnessValue(int pValue)
Brightness value for a raster. |
void |
setColorRamp(IColorRamp ppColorRamp)
Color ramp. |
void |
setColorScheme(String colorScheme)
ColorScheme name. |
void |
setContrastValue(int iValue)
Contrast value for a raster. |
void |
setCustomStretchMax(double param)
The custom maximum value for stretch renderer type "Minimum-Maximum". |
void |
setCustomStretchMin(double param)
The custom minimum value for stretch renderer type "Minimum-Maximum". |
void |
setDisplayResolutionFactor(int pnFactor)
Display resolution factor. |
void |
setDisplayTableByRef(ITable ppTable)
The renderer display table. |
void |
setGammaValue(Object pGamma)
The list of Gamma value(s). |
void |
setInvert(boolean pInvert)
Indicates if the stretch is inverted. |
void |
setIsGlobeLayerRenderer(boolean flag)
Indicates whether it is a ArcGlobe layer renderer. |
void |
setLabelHigh(String label)
Label for highest value. |
void |
setLabelLow(String label)
Label for lowest value. |
void |
setLabelMedium(String label)
Label for medium value. |
void |
setLabelText(int index,
String text)
Label Text. |
void |
setLabelValue(int index,
double value)
Value. |
void |
setNoDataColorByRef(IColor ppColor)
Nodata color for a raster. |
void |
setNumLabels(int numLabels)
Number of labels. |
void |
setRasterByRef(IRaster raster)
Raster to be rendered. |
void |
setResamplingType(int pResamplingType)
Resampling method for displaying a raster. |
void |
setSpecificationHistogramByRef(IArray pRGBStats)
The statistics for histogram specification stretch. |
void |
setStandardDeviationsParam(double param)
Standard deviation parameter for the stretch renderer. |
void |
setStretchStatsByRef(IArray ppRGBStats)
The global raster stretch statistics. |
void |
setStretchStatsType(int stats)
The current stretch statistics type. |
void |
setStretchType(int en_stretch)
Current stretch type. |
void |
setSymbolsAreGraduated(boolean symbolsAreGraduated)
Indicates if symbols are graduated. |
void |
setTransparencyValue(int pValue)
Transparency value for a raster. |
void |
setUseAdvancedLabeling(boolean bAdvanced)
Indicates whether the advanced labeling is being used. |
void |
setUseCustomStretchMinMax(boolean pUse)
Indicates whether to use the custom minimum/maximum values for stretch renderer type "Minimum-Maximum". |
void |
setUseDefaultMapping(boolean bIsDefault)
Indicates whether the default mapping is being used. |
void |
setUseGamma(boolean pUseGamma)
Indicates if Gamma stretch should be applied. |
void |
setUseHillShade(boolean bUse)
Indicates whether the hill shading is being used. |
void |
setZScale(double pZScale)
The Z factor multipled to z valuesg. |
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(ObjectOutput out)
|
| 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 RasterStretchColorRampRenderer()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RasterStretchColorRampRenderer(Object obj)
throws IOException
RasterStretchColorRampRenderer theRasterStretchColorRampRenderer = (RasterStretchColorRampRenderer) obj;
obj to RasterStretchColorRampRenderer.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setBandIndex(int bandIndex)
throws IOException,
AutomationException
setBandIndex in interface IRasterStretchColorRampRendererbandIndex - The bandIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBandIndex()
throws IOException,
AutomationException
The BandIndex property specifies the band in the raster dataset to be drawn. For single-band data, this should be 0, but with multiband data any band may be selected.
getBandIndex in interface IRasterStretchColorRampRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getColorScheme()
throws IOException,
AutomationException
getColorScheme in interface IRasterRendererColorRampgetColorScheme in interface IRasterStretchColorRampRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColorScheme(String colorScheme)
throws IOException,
AutomationException
setColorScheme in interface IRasterRendererColorRampsetColorScheme in interface IRasterStretchColorRampRenderercolorScheme - The colorScheme (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColorRamp getColorRamp()
throws IOException,
AutomationException
getColorRamp in interface IRasterStretchColorRampRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColorRamp(IColorRamp ppColorRamp)
throws IOException,
AutomationException
setColorRamp in interface IRasterRendererColorRampsetColorRamp in interface IRasterStretchColorRampRendererppColorRamp - A reference to a com.esri.arcgis.display.IColorRamp (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLabelLow()
throws IOException,
AutomationException
getLabelLow in interface IRasterStretchColorRampRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabelLow(String label)
throws IOException,
AutomationException
setLabelLow in interface IRasterStretchColorRampRendererlabel - The label (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLabelMedium()
throws IOException,
AutomationException
getLabelMedium in interface IRasterStretchColorRampRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabelMedium(String label)
throws IOException,
AutomationException
setLabelMedium in interface IRasterStretchColorRampRendererlabel - The label (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLabelHigh()
throws IOException,
AutomationException
getLabelHigh in interface IRasterStretchColorRampRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabelHigh(String label)
throws IOException,
AutomationException
setLabelHigh in interface IRasterStretchColorRampRendererlabel - The label (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetLabels()
throws IOException,
AutomationException
resetLabels in interface IRasterStretchColorRampRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isGlobeLayerRenderer()
throws IOException,
AutomationException
isGlobeLayerRenderer in interface IGlobeRasterStretchIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsGlobeLayerRenderer(boolean flag)
throws IOException,
AutomationException
setIsGlobeLayerRenderer in interface IGlobeRasterStretchflag - The flag (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStretchType(int en_stretch)
throws IOException,
AutomationException
setStretchType in interface IRasterStretchsetStretchType in interface IRasterStretch2en_stretch - A com.esri.arcgis.carto.esriRasterStretchTypesEnum constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getStretchType()
throws IOException,
AutomationException
getStretchType in interface IRasterStretchgetStretchType in interface IRasterStretch2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStandardDeviationsParam(double param)
throws IOException,
AutomationException
setStandardDeviationsParam in interface IRasterStretchsetStandardDeviationsParam in interface IRasterStretch2param - The param (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getStandardDeviationsParam()
throws IOException,
AutomationException
getStandardDeviationsParam in interface IRasterStretchgetStandardDeviationsParam in interface IRasterStretch2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInvert(boolean pInvert)
throws IOException,
AutomationException
setInvert in interface IRasterStretchsetInvert in interface IRasterStretch2pInvert - The pInvert (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isInvert()
throws IOException,
AutomationException
isInvert in interface IRasterStretchisInvert in interface IRasterStretch2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackground(boolean b)
throws IOException,
AutomationException
setBackground in interface IRasterStretchsetBackground in interface IRasterStretch2b - The b (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isBackground()
throws IOException,
AutomationException
isBackground in interface IRasterStretchisBackground in interface IRasterStretch2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getBackgroundValues()
throws IOException,
AutomationException
getBackgroundValues in interface IRasterStretchIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackgroundValues(double[] pBkg)
throws IOException,
AutomationException
To set a list of background values, use IRasterStretch2::setBackgroundValue() instead.
setBackgroundValues in interface IRasterStretchpBkg - The pBkg (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getBackgroundColor()
throws IOException,
AutomationException
getBackgroundColor in interface IRasterStretchgetBackgroundColor in interface IRasterStretch2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackgroundColorByRef(IColor ppColor)
throws IOException,
AutomationException
setBackgroundColorByRef in interface IRasterStretchsetBackgroundColorByRef in interface IRasterStretch2ppColor - A reference to a com.esri.arcgis.display.IColor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getBackgroundValue()
throws IOException,
AutomationException
getBackgroundValue in interface IRasterStretch2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackgroundValue(Object background)
throws IOException,
AutomationException
For example :-
IRasterStretch2 rasterStretch2 = ...;
double[] values = new double[1];
values[0] = 1;
rasterStretch.setBackgroundValue(values);
setBackgroundValue in interface IRasterStretch2background - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStretchStatsType(int stats)
throws IOException,
AutomationException
setStretchStatsType in interface IRasterStretch2stats - A com.esri.arcgis.carto.esriRasterStretchStatsTypeEnum constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getStretchStatsType()
throws IOException,
AutomationException
The StretchStatsType property specifies the stretch statistics type. The option esriRasterStretchStats_AreaOfView uses statistics dynamically calculated from the current display area, whereby the option esriRasterStretchStats_Dataset uses statistics from the raster dataset, and the option esriRasterStretchStats_GlobalStats uses user-defined statistics.
getStretchStatsType in interface IRasterStretch2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStretchStatsByRef(IArray ppRGBStats)
throws IOException,
AutomationException
setStretchStatsByRef in interface IRasterStretch2ppRGBStats - A reference to a com.esri.arcgis.system.IArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getStretchStats()
throws IOException,
AutomationException
getStretchStats in interface IRasterStretch2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpecificationHistogramByRef(IArray pRGBStats)
throws IOException,
AutomationException
setSpecificationHistogramByRef in interface IRasterStretch2pRGBStats - A reference to a com.esri.arcgis.system.IArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getSpecificationHistogram()
throws IOException,
AutomationException
The SpecificationHistogram property specifies histograms. You must set the stretch type (IRasterStretch::StretchType) to be esri_HistogramSpecification in order for the specified histograms to be used.
getSpecificationHistogram in interface IRasterStretch2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseGamma(boolean pUseGamma)
throws IOException,
AutomationException
setUseGamma in interface IRasterStretch3pUseGamma - The pUseGamma (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseGamma()
throws IOException,
AutomationException
isUseGamma in interface IRasterStretch3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGammaValue(Object pGamma)
throws IOException,
AutomationException
setGammaValue in interface IRasterStretch3pGamma - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getGammaValue()
throws IOException,
AutomationException
getGammaValue in interface IRasterStretch3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getStretchMin()
throws IOException,
AutomationException
The StretchMax and StretchMin properties return the existing minimum and maximum values from the raster band.
getStretchMin in interface IRasterStretchMinMaxIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getStretchMax()
throws IOException,
AutomationException
The StretchMax and StretchMin properties return the existing minimum and maximum values from the raster band.
getStretchMax in interface IRasterStretchMinMaxIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomStretchMin(double param)
throws IOException,
AutomationException
setCustomStretchMin in interface IRasterStretchMinMaxparam - The param (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getCustomStretchMin()
throws IOException,
AutomationException
The CustomStretchMax and CustomStretchMin properties specify custom minimum and maximum values to be used.
The property IRasterStretchType::StretchType must be set to be esriRasterStretch_MinimumMaximum before using the custom minimum and maximum values.
getCustomStretchMin in interface IRasterStretchMinMaxIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomStretchMax(double param)
throws IOException,
AutomationException
setCustomStretchMax in interface IRasterStretchMinMaxparam - The param (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getCustomStretchMax()
throws IOException,
AutomationException
The CustomStretchMax and CustomStretchMin properties specify custom minimum and maximum values to be used.
The property IRasterStretchType::StretchType must be set to be esriRasterStretch_MinimumMaximum before using the custom minimum and maximum values.
getCustomStretchMax in interface IRasterStretchMinMaxIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseCustomStretchMinMax(boolean pUse)
throws IOException,
AutomationException
setUseCustomStretchMinMax in interface IRasterStretchMinMaxpUse - The pUse (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseCustomStretchMinMax()
throws IOException,
AutomationException
The UseCustomStretchMinMax property must be true in order to use the minimum and maximum values you have specified; setting this property to be false the minimum and maximum values in the raster band or raster dataset will be used in rendering.
isUseCustomStretchMinMax in interface IRasterStretchMinMaxIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canRender(IRaster raster)
throws IOException,
AutomationException
canRender in interface IRasterRendererraster - 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 void setRasterByRef(IRaster raster)
throws IOException,
AutomationException
setRasterByRef in interface IRasterRendererraster - 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 IRaster getRaster()
throws IOException,
AutomationException
The Raster property controls the raster being displayed by the renderer. Because the renderers depend on dataset statistics, after changing the raster to be displayed, the update method must be called before performing using the renderer.
getRaster in interface IRasterRendererIOException - 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 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUpdated()
throws IOException,
AutomationException
isUpdated in interface IRasterRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void update()
throws IOException,
AutomationException
The Update method should also be called after making changes to the renderer but before assigning the renderer to a layer.
update in interface IRasterRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void copy(IRasterRenderer pSource)
throws IOException,
AutomationException
copy in interface IRasterRendererpSource - A reference to a com.esri.arcgis.carto.IRasterRenderer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getResamplingType()
throws IOException,
AutomationException
getResamplingType in interface IRasterRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setResamplingType(int pResamplingType)
throws IOException,
AutomationException
setResamplingType in interface IRasterRendererpResamplingType - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDisplayResolutionFactor(int pnFactor)
throws IOException,
AutomationException
setDisplayResolutionFactor in interface IRasterRendererpnFactor - The pnFactor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDisplayResolutionFactor()
throws IOException,
AutomationException
getDisplayResolutionFactor in interface IRasterRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void recreateRaster(IRasterDataset pDataset,
IRaster pRaster)
throws 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void adaptRaster(IRaster pRaster)
throws IOException,
AutomationException
adaptRaster in interface IRasterRenderer2pRaster - 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 String getName()
throws IOException,
AutomationException
getName in interface IRasterRendererInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDescription()
throws IOException,
AutomationException
getDescription in interface IRasterRendererInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColorRamp IRasterRendererColorRamp_getColorRamp()
throws IOException,
AutomationException
IRasterRendererColorRamp_getColorRamp in interface IRasterRendererColorRampIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setContrastValue(int iValue)
throws IOException,
AutomationException
setContrastValue in interface IRasterDisplayPropsiValue - The iValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getContrastValue()
throws IOException,
AutomationException
The IRasterDisplayProps interface controls display properties common to all raster renderers.
getContrastValue in interface IRasterDisplayPropsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBrightnessValue(int pValue)
throws IOException,
AutomationException
setBrightnessValue in interface IRasterDisplayPropspValue - The pValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBrightnessValue()
throws IOException,
AutomationException
The BrightnessValue property ranges from -100 to 100, representing a percentage of increase or decrease in the property.
getBrightnessValue in interface IRasterDisplayPropsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTransparencyValue(int pValue)
throws IOException,
AutomationException
setTransparencyValue in interface IRasterDisplayPropspValue - The pValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTransparencyValue()
throws IOException,
AutomationException
The TransparencyValue value ranges from 0 to 100, with 0 representing opaque and 100 representing fully transparent.
getTransparencyValue in interface IRasterDisplayPropsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getNoDataColor()
throws IOException,
AutomationException
The NoDataColor property controls how NoData cells in your raster are displayed. By default, NoData cells appear transparent.
getNoDataColor in interface IRasterDisplayPropsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNoDataColorByRef(IColor ppColor)
throws IOException,
AutomationException
setNoDataColorByRef in interface IRasterDisplayPropsppColor - A reference to a com.esri.arcgis.display.IColor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray identify(IGeometry pGeom)
throws 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLegendGroupCount()
throws 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 ILegendInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILegendGroup getLegendGroup(int index)
throws IOException,
AutomationException
getLegendGroup in interface ILegendInfoindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILegendItem getLegendItem()
throws 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 ILegendInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSymbolsAreGraduated()
throws 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 ILegendInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolsAreGraduated(boolean symbolsAreGraduated)
throws IOException,
AutomationException
setSymbolsAreGraduated in interface ILegendInfosymbolsAreGraduated - The symbolsAreGraduated (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUsesFilter()
throws IOException,
AutomationException
The UsesFilter property returns true when the object in question will draw with a filter. Drawing with a filter means means that an object that would normally draw as vector graphics will instead draw as raster. The UsesFilter property is particularly useful for detecting vector map layers that will be rasterized at time of print or export.
isUsesFilter in interface IDisplayAdminIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getClassificationField()
throws IOException,
AutomationException
getClassificationField in interface IRasterRendererClassInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNormalizationField()
throws IOException,
AutomationException
getNormalizationField in interface IRasterRendererClassInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isNumericClasses()
throws IOException,
AutomationException
isNumericClasses in interface IRasterRendererClassInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getClassCount()
throws IOException,
AutomationException
getClassCount in interface IRasterRendererClassInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryNumberClass(int classIndex,
double[] minValue,
double[] maxValue,
int[] outValue)
throws IOException,
AutomationException
queryNumberClass in interface IRasterRendererClassInfoclassIndex - The classIndex (in)minValue - The minValue (out: use single element array)maxValue - The maxValue (out: use single element array)outValue - The outValue (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryStringClass(int classIndex,
String[] inValue,
int[] outValue)
throws IOException,
AutomationException
queryStringClass in interface IRasterRendererClassInfoclassIndex - The classIndex (in)inValue - The inValue (out: use single element array)outValue - The outValue (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseDefaultMapping()
throws IOException,
AutomationException
isUseDefaultMapping in interface IColorChannelMappingIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseDefaultMapping(boolean bIsDefault)
throws IOException,
AutomationException
setUseDefaultMapping in interface IColorChannelMappingbIsDefault - The bIsDefault (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getBandIndices()
throws IOException,
AutomationException
getBandIndices in interface IColorChannelMappingIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBandIndices(Object vIndex)
throws IOException,
AutomationException
setBandIndices in interface IColorChannelMappingvIndex - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseHillShade()
throws IOException,
AutomationException
isUseHillShade in interface IHillShadeInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseHillShade(boolean bUse)
throws IOException,
AutomationException
setUseHillShade in interface IHillShadeInfobUse - The bUse (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getZScale()
throws IOException,
AutomationException
getZScale in interface IHillShadeInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setZScale(double pZScale)
throws IOException,
AutomationException
setZScale in interface IHillShadeInfopZScale - The pZScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDisplayTableByRef(ITable ppTable)
throws IOException,
AutomationException
setDisplayTableByRef in interface IDisplayTableExchangeppTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getDisplayTable()
throws IOException,
AutomationException
getDisplayTable in interface IDisplayTableExchangeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNumLabels(int numLabels)
throws IOException,
AutomationException
setNumLabels in interface IRasterStretchAdvancedLabelsnumLabels - The numLabels (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNumLabels()
throws IOException,
AutomationException
getNumLabels in interface IRasterStretchAdvancedLabelsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLabelText(int index)
throws IOException,
AutomationException
getLabelText in interface IRasterStretchAdvancedLabelsindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabelText(int index,
String text)
throws IOException,
AutomationException
setLabelText in interface IRasterStretchAdvancedLabelsindex - The index (in)text - The text (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLabelValue(int index)
throws IOException,
AutomationException
getLabelValue in interface IRasterStretchAdvancedLabelsindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabelValue(int index,
double value)
throws IOException,
AutomationException
setLabelValue in interface IRasterStretchAdvancedLabelsindex - The index (in)value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseAdvancedLabeling()
throws IOException,
AutomationException
isUseAdvancedLabeling in interface IRasterStretchAdvancedLabelsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseAdvancedLabeling(boolean bAdvanced)
throws IOException,
AutomationException
setUseAdvancedLabeling in interface IRasterStretchAdvancedLabelsbAdvanced - The bAdvanced (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void update(IRasterLayer pRasterLayer)
throws IOException,
AutomationException
update in interface IRasterRendererUpdatepRasterLayer - A reference to a com.esri.arcgis.carto.IRasterLayer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void serialize(IXMLSerializeData data)
throws IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||