|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.RasterClassifyColorRampRenderer
public class RasterClassifyColorRampRenderer
A renderer with a color ramp for rasters with classified values.
Constructor Summary | |
---|---|
RasterClassifyColorRampRenderer()
Constructs a RasterClassifyColorRampRenderer using ArcGIS Engine. |
|
RasterClassifyColorRampRenderer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterClassifyColorRampRenderer theRasterClassifyColorRampRenderer = (RasterClassifyColorRampRenderer) 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 |
double |
getBreak(int index)
Break at the index. |
int |
getBrightnessValue()
Brightness value for a raster. |
int |
getClassCount()
Number of classes. |
String |
getClassField()
Field this renderer is using. |
void |
getClassID(GUID[] pClassID)
getClassID |
String |
getClassificationField()
Classification field name or an empty string if a table doesn't exist. |
IUID |
getClassificationMethod()
Classification method. |
static String |
getClsid()
getClsid. |
String |
getColorRamp()
Color ramp name. |
String |
getColorScheme()
The color scheme name. |
int |
getContrastValue()
Contrast value for a raster. |
String |
getDescription()
The description of the raster renderer. |
String |
getDescription(int index)
Description for the class at the given index. |
double |
getDeviationInterval()
Deviation interval. |
int |
getDisplayResolutionFactor()
Display resolution factor. |
ITable |
getDisplayTable()
The renderer display table. |
IColor |
getExcludeColor()
Color for the excluded values. |
String |
getExcludeDescription()
Description for the excluded values. |
String |
getExcludeLabel()
Label for the excluded values. |
Object |
getExcludeRanges()
Array of doubles indicating the excluded ranges. |
Object |
getExcludeValues()
Array of doubles indicating the excluded values. |
String |
getLabel(int index)
Label for the class at the given index. |
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. |
String |
getNormField()
Normalization field this renderer is using. |
INumberFormat |
getNumberFormat()
Number format for labels. |
IRaster |
getRaster()
Raster to be rendered. |
int |
getResamplingType()
Resampling method for displaying a raster. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ISymbol |
getSymbol(int index)
Symbol representing the class at the index. |
int |
getTransparencyValue()
Transparency value for a raster. |
IUniqueValues |
getUniqueValues()
The list of unique values. |
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. |
void |
isDirty()
isDirty |
boolean |
isExcludeShowClass()
Indicates if color is shown for the excluded values. |
boolean |
isNumericClasses()
Indicates if the classification field is numeric. |
boolean |
isShowClassGaps()
Indicates if gaps between classes are shown. |
boolean |
isSortClassesAscending()
Indicates if the sort direction for the class labels is ascending. |
boolean |
isSymbolsAreGraduated()
Indicates if symbols are graduated. |
boolean |
isUpdated()
Indicates whether the renderer requires updating. |
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 |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setBreak(int index,
double value)
Break at the index. |
void |
setBrightnessValue(int pValue)
Brightness value for a raster. |
void |
setClassCount(int value)
Number of classes. |
void |
setClassField(String field)
Field this renderer is using. |
void |
setClassificationMethodByRef(IUID ppClsid)
Classification method. |
void |
setColorRamp(IColorRamp ppColorRamp)
The color ramp of the color map. |
void |
setColorRamp(String colorRamp)
Color ramp name. |
void |
setColorScheme(String colorScheme)
The color scheme name. |
void |
setContrastValue(int iValue)
Contrast value for a raster. |
void |
setDescription(int index,
String description)
Description for the class at the given index. |
void |
setDeviationInterval(double interval)
Deviation interval. |
void |
setDisplayResolutionFactor(int pnFactor)
Display resolution factor. |
void |
setDisplayTableByRef(ITable ppTable)
The renderer display table. |
void |
setExcludeColor(IColor color)
Color for the excluded values. |
void |
setExcludeDescription(String description)
Description for the excluded values. |
void |
setExcludeLabel(String label)
Label for the excluded values. |
void |
setExcludeRanges(Object values)
Array of doubles indicating the excluded ranges. |
void |
setExcludeShowClass(boolean show)
Indicates if color is shown for the excluded values. |
void |
setExcludeValues(Object values)
Array of doubles indicating the excluded values. |
void |
setLabel(int index,
String label)
Label for the class at the given index. |
void |
setNoDataColorByRef(IColor ppColor)
Nodata color for a raster. |
void |
setNormField(String field)
Normalization field this renderer is using. |
void |
setNumberFormatByRef(INumberFormat format)
Number format for labels. |
void |
setRasterByRef(IRaster raster)
Raster to be rendered. |
void |
setResamplingType(int pResamplingType)
Resampling method for displaying a raster. |
void |
setShowClassGaps(boolean showGaps)
Indicates if gaps between classes are shown. |
void |
setSortClassesAscending(boolean ascending)
Indicates if the sort direction for the class labels is ascending. |
void |
setSymbol(int index,
ISymbol symbol)
Symbol representing the class at the index. |
void |
setSymbolsAreGraduated(boolean symbolsAreGraduated)
Indicates if symbols are graduated. |
void |
setTransparencyValue(int pValue)
Transparency value for a raster. |
void |
setUniqueValuesByRef(IUniqueValues ppUniqueValues)
The list of unique values. |
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 RasterClassifyColorRampRenderer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterClassifyColorRampRenderer(Object obj) throws IOException
RasterClassifyColorRampRenderer theRasterClassifyColorRampRenderer = (RasterClassifyColorRampRenderer) obj;
obj
to RasterClassifyColorRampRenderer
.
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 String getClassField() throws IOException, AutomationException
The ClassField property determines the field of the raster on which the classification will be performed. With the NormField property, you may optionally specify another field by which the class field will be divided/normalized before the classes are determined. The ClassField and NormField must be numeric. By default, the ClassField is Value and the NormField is empty.
getClassField
in interface IRasterClassifyColorRampRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setClassField(String field) throws IOException, AutomationException
setClassField
in interface IRasterClassifyColorRampRenderer
field
- The field (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNormField() throws IOException, AutomationException
getNormField
in interface IRasterClassifyColorRampRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNormField(String field) throws IOException, AutomationException
setNormField
in interface IRasterClassifyColorRampRenderer
field
- The field (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getClassCount() throws IOException, AutomationException
The ClassCount property controls the number of classes into which the dataset is divided. The rest of the properties are specific to each class.
getClassCount
in interface IRasterClassifyColorRampRenderer
getClassCount
in interface IRasterRendererClassInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setClassCount(int value) throws IOException, AutomationException
setClassCount
in interface IRasterClassifyColorRampRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getBreak(int index) throws IOException, AutomationException
getBreak
in interface IRasterClassifyColorRampRenderer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBreak(int index, double value) throws IOException, AutomationException
setBreak
in interface IRasterClassifyColorRampRenderer
index
- The index (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getSymbol(int index) throws IOException, AutomationException
getSymbol
in interface IRasterClassifyColorRampRenderer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbol(int index, ISymbol symbol) throws IOException, AutomationException
setSymbol
in interface IRasterClassifyColorRampRenderer
index
- The index (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLabel(int index) throws IOException, AutomationException
getLabel
in interface IRasterClassifyColorRampRenderer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(int index, String label) throws IOException, AutomationException
setLabel
in interface IRasterClassifyColorRampRenderer
index
- The index (in)label
- The label (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription(int index) throws IOException, AutomationException
getDescription
in interface IRasterClassifyColorRampRenderer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(int index, String description) throws IOException, AutomationException
setDescription
in interface IRasterClassifyColorRampRenderer
index
- The index (in)description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSortClassesAscending() throws IOException, AutomationException
isSortClassesAscending
in interface IRasterClassifyColorRampRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSortClassesAscending(boolean ascending) throws IOException, AutomationException
setSortClassesAscending
in interface IRasterClassifyColorRampRenderer
ascending
- The ascending (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getClassificationMethod() throws IOException, AutomationException
The ClassificationMethod controls the classification method used to divide the dataset into classes. The default is a natural break classification. This must be specified as a ClassID of the classification coclass. This can be obtained by QI’ing for the IClassify interface on any of the coclasses that support IClassify, then passing the ClassID property to the ClassificationMethod property of the renderer.
If the ClassificationMethod uses standard deviations, the DeviationInterval property determines the number of standard deviations that separate each class.
getClassificationMethod
in interface IRasterClassifyUIProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setClassificationMethodByRef(IUID ppClsid) throws IOException, AutomationException
setClassificationMethodByRef
in interface IRasterClassifyUIProperties
ppClsid
- A reference to a com.esri.arcgis.system.IUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getColorRamp() throws IOException, AutomationException
The ColorRamp property controls the name of the color scheme from the style gallery that is selected in the dropdown list on the raster property page.
getColorRamp
in interface IRasterClassifyUIProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColorRamp(String colorRamp) throws IOException, AutomationException
setColorRamp
in interface IRasterClassifyUIProperties
colorRamp
- The colorRamp (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INumberFormat getNumberFormat() throws IOException, AutomationException
The NumberFormat property passes an object supporting the INumberFormat interface, which controls how the data values are formatted in the Classification dialog box.
getNumberFormat
in interface IRasterClassifyUIProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNumberFormatByRef(INumberFormat format) throws IOException, AutomationException
setNumberFormatByRef
in interface IRasterClassifyUIProperties
format
- A reference to a com.esri.arcgis.system.INumberFormat (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowClassGaps() throws IOException, AutomationException
If ShowClassGaps is True, neighboring classes that have gaps between them will have classification boundaries that do not visibly match through the user interface.
isShowClassGaps
in interface IRasterClassifyUIProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowClassGaps(boolean showGaps) throws IOException, AutomationException
setShowClassGaps
in interface IRasterClassifyUIProperties
showGaps
- The showGaps (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDeviationInterval() throws IOException, AutomationException
getDeviationInterval
in interface IRasterClassifyUIProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDeviationInterval(double interval) throws IOException, AutomationException
setDeviationInterval
in interface IRasterClassifyUIProperties
interval
- The interval (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExcludeValues(Object values) throws IOException, AutomationException
setExcludeValues
in interface IRasterDataExclusion
values
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getExcludeValues() throws IOException, AutomationException
The ExcludeValues property allows you to select the value or values that will not be included in any class.
getExcludeValues
in interface IRasterDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExcludeRanges(Object values) throws IOException, AutomationException
setExcludeRanges
in interface IRasterDataExclusion
values
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getExcludeRanges() throws IOException, AutomationException
The ExcludeRanges property specifies a range of values to exclude. The ExcludeShowClass property determines whether this class will appear in the table of contents with the rest of the classes.
getExcludeRanges
in interface IRasterDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExcludeShowClass(boolean show) throws IOException, AutomationException
setExcludeShowClass
in interface IRasterDataExclusion
show
- The show (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isExcludeShowClass() throws IOException, AutomationException
isExcludeShowClass
in interface IRasterDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExcludeColor(IColor color) throws IOException, AutomationException
setExcludeColor
in interface IRasterDataExclusion
color
- 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 IColor getExcludeColor() throws IOException, AutomationException
The ExcludeColor property controls the color with which any excluded values will be displayed. The different display for excluded values is black.
getExcludeColor
in interface IRasterDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExcludeLabel(String label) throws IOException, AutomationException
The ExcludeLabel and ExcludeDescription properties determine the labels used for this class in the table of contents and the legend.
setExcludeLabel
in interface IRasterDataExclusion
label
- The label (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getExcludeLabel() throws IOException, AutomationException
getExcludeLabel
in interface IRasterDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExcludeDescription(String description) throws IOException, AutomationException
setExcludeDescription
in interface IRasterDataExclusion
description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getExcludeDescription() throws IOException, AutomationException
getExcludeDescription
in interface IRasterDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canRender(IRaster raster) throws IOException, AutomationException
canRender
in interface IRasterRenderer
raster
- 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 IRasterRenderer
raster
- 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 IRasterRenderer
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 IOException, AutomationException
draw
in interface IRasterRenderer
raster
- 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 IRasterRenderer
IOException
- 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 IRasterRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void copy(IRasterRenderer pSource) throws IOException, AutomationException
copy
in interface IRasterRenderer
pSource
- 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 IRasterRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setResamplingType(int pResamplingType) throws IOException, AutomationException
setResamplingType
in interface IRasterRenderer
pResamplingType
- 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 IRasterRenderer
pnFactor
- 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 IRasterRenderer
IOException
- 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 IRasterRenderer2
pDataset
- 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 IRasterRenderer2
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 String getName() throws IOException, AutomationException
getName
in interface IRasterRendererInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
getDescription
in interface IRasterRendererInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getColorScheme() throws IOException, AutomationException
getColorScheme
in interface IRasterRendererColorRamp
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColorScheme(String colorScheme) throws IOException, AutomationException
setColorScheme
in interface IRasterRendererColorRamp
colorScheme
- The colorScheme (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColorRamp IRasterRendererColorRamp_getColorRamp() throws IOException, AutomationException
IRasterRendererColorRamp_getColorRamp
in interface IRasterRendererColorRamp
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColorRamp(IColorRamp ppColorRamp) throws IOException, AutomationException
setColorRamp
in interface IRasterRendererColorRamp
ppColorRamp
- 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 void setContrastValue(int iValue) throws IOException, AutomationException
setContrastValue
in interface IRasterDisplayProps
iValue
- 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 IRasterDisplayProps
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBrightnessValue(int pValue) throws IOException, AutomationException
setBrightnessValue
in interface IRasterDisplayProps
pValue
- 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 IRasterDisplayProps
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransparencyValue(int pValue) throws IOException, AutomationException
setTransparencyValue
in interface IRasterDisplayProps
pValue
- 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 IRasterDisplayProps
IOException
- 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 IRasterDisplayProps
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNoDataColorByRef(IColor ppColor) throws IOException, AutomationException
setNoDataColorByRef
in interface IRasterDisplayProps
ppColor
- 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 IIdentify
pGeom
- 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 ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendGroup getLegendGroup(int index) throws IOException, AutomationException
getLegendGroup
in interface ILegendInfo
index
- 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 ILegendInfo
IOException
- 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 ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolsAreGraduated(boolean symbolsAreGraduated) throws IOException, AutomationException
setSymbolsAreGraduated
in interface ILegendInfo
symbolsAreGraduated
- 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 IDisplayAdmin
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 IPersistStream
IOException
- 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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- 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 String getClassificationField() throws IOException, AutomationException
getClassificationField
in interface IRasterRendererClassInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNormalizationField() throws IOException, AutomationException
getNormalizationField
in interface IRasterRendererClassInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isNumericClasses() throws IOException, AutomationException
isNumericClasses
in interface IRasterRendererClassInfo
IOException
- 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 IRasterRendererClassInfo
classIndex
- 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 IRasterRendererClassInfo
classIndex
- 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 void setUniqueValuesByRef(IUniqueValues ppUniqueValues) throws IOException, AutomationException
setUniqueValuesByRef
in interface IRasterRendererUniqueValues
ppUniqueValues
- A reference to a com.esri.arcgis.datasourcesraster.IUniqueValues (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUniqueValues getUniqueValues() throws IOException, AutomationException
The UniqueValues property specifies the UniqueValues (the pixel information of the raster) for the renderer.
getUniqueValues
in interface IRasterRendererUniqueValues
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseHillShade() throws IOException, AutomationException
isUseHillShade
in interface IHillShadeInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseHillShade(boolean bUse) throws IOException, AutomationException
setUseHillShade
in interface IHillShadeInfo
bUse
- 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 IHillShadeInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setZScale(double pZScale) throws IOException, AutomationException
setZScale
in interface IHillShadeInfo
pZScale
- 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 IDisplayTableExchange
ppTable
- 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 IDisplayTableExchange
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 IRasterRendererUpdate
pRasterLayer
- 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 serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- 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 IXMLSerialize
data
- 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |