|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.ClassBreaksRenderer
public class ClassBreaksRenderer
A renderer that can be used to draw graduated color (choropleth) and graduated symbol maps.
StandardDeviation
,
EqualInterval
,
NaturalBreaks
,
ClassBreaksRenderer
,
DefinedInterval
,
Quantile
,
Serialized FormConstructor Summary | |
---|---|
ClassBreaksRenderer()
Constructs a ClassBreaksRenderer using ArcGIS Engine. |
|
ClassBreaksRenderer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ClassBreaksRenderer theClassBreaksRenderer = (ClassBreaksRenderer) obj; |
Method Summary | |
---|---|
boolean |
canRender(IFeatureClass featClass,
IDisplay display)
Indicates if the specified feature class can be rendered on the given display. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
disconnect()
Disconnects the data from the renderer. |
void |
draw(IFeatureCursor cursor,
int drawPhase,
IDisplay display,
ITrackCancel trackCancel)
Draws features from the specified cursor on the given display. |
boolean |
equals(Object o)
Compare this object with another |
String |
esri_getClass(int index)
Class name. |
IFillSymbol |
getBackgroundSymbol()
Background fill symbol used when graduated marker symbols are draw on polygon features. |
double |
getBreak(int index)
Break value at the specified index. |
int |
getBreakCount()
Number of class breaks (equal to the number of classes). |
int |
getClassCount()
Number of classes. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getColorRamp()
File and path name of the color ramp. |
String |
getDescription(int index)
Description at the specified index. |
double |
getDeviationInterval()
Deviation interval (0-1), where 0 means that no deviation is used. |
String |
getExclusionClause()
Data exclusion where clause. |
String |
getExclusionDescription()
Description for the excluded data. |
String |
getExclusionLabel()
Label for the excluded data. |
ISymbol |
getExclusionSymbol()
Symbol used to draw excluded values. |
String |
getField()
Classification field. |
String |
getField(int index)
Field at the specified index. |
int |
getFieldCount()
Number of fields. |
String |
getLabel(int index)
Label at the specified index. |
ILegendGroup |
getLegendGroup(int index)
Legend group at the specified index. |
int |
getLegendGroupCount()
Number of legend groups contained by the object. |
ILegendItem |
getLegendItem()
Optional. |
Object |
getLevelArray()
Array that contains all levels used by the symbols, (symbols without a level get a level of 0). |
double |
getLowBreak(int index)
Lower bound of the class at the specified index. |
int |
getMaxSampleSize()
Maximum sample size. |
IUID |
getMethod()
Classification method. |
double |
getMinimumBreak()
Minimum break, i.e. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
String |
getNormalizationField()
Normalization field. |
String |
getNormalizationFieldAlias()
Normalization field alias. |
double |
getNormalizationTotal()
Total of all values (used when normalizing by percent of total). |
int |
getNormalizationType()
Normalization type. |
String |
getNormField()
Normalization field. |
INumberFormat |
getNumberFormat()
Number format for class labels. |
String |
getRotationField()
Rotation field. |
int |
getRotationType()
Rotation type. |
int |
getSamplingMethod()
Data sampling method. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
String |
getSizeRendererExpression()
Gets size expression. |
int |
getSizeRendererFlags()
Gets sizing flags composed of enum esriSizeRendererFlags. |
void |
getSizeRendererRandomRange(double[] pMinSize,
double[] pMaxSize)
Gets size range for random sizing. |
ISymbol |
getSymbol(int index)
Symbol at the specified index (used to draw features in the specified class). |
ISymbol |
getSymbolByFeature(IFeature feature)
Symbol used to draw the specified feature. |
void |
getSymbolRotation3DExpressions(String[] pExpressionX,
String[] pExpressionY,
String[] pExpressionZ)
Gets expressions for rotation about each axis. |
int |
getSymbolRotation3DFlags()
Gets rotation flags composed of enum esriSymbolRotation3DFlags. |
void |
getSymbolRotation3DFlags2(int[] pFlagX,
int[] pFlagY,
int[] pFlagZ)
Gets one flag for each axis. |
void |
getSymbolRotation3DRandomRanges(double[] pMinRotationX,
double[] pMinRotationY,
double[] pMinRotationZ,
double[] pMaxRotationX,
double[] pMaxRotationY,
double[] pMaxRotationZ)
Gets rotation range for each axis (for random rotation). |
int |
getSymbolRotation3DRotationTypeZ()
Gets rotation type (geographic or arithmetic) about the Z axis (hardcoded arithmetic about other axes). |
int |
getWeight()
Weight of the barriers for this layer. |
String |
getWhereClause(int index,
ITable table)
WhereClause. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isRenderPhase(int drawPhase)
Indicates if renderer uses the specified draw phase. |
boolean |
isShowClassGaps()
Indicates if each lower bound is adjusted up to the nearest existing data value. |
boolean |
isShowExclusionClass()
Indicates if the exclusion symbol is used. |
boolean |
isSortClassesAscending()
Indicates if classes are displayed in increasing order in legends/TOC. |
boolean |
isSymbolsAreGraduated()
Indicates if symbols are graduated. |
void |
load(IStream pstm)
load |
int |
lookupLegendClass(IFeature feature,
int[] legendGroupIdx)
Returns the legend group and the legend class indexes for the input feature. |
ISymbol |
lookupSymbol(boolean firstPass,
IFeature feature)
Returns a reference to the renderer's symbol for the input feature. |
void |
prepareFilter(IFeatureClass fc,
IQueryFilter queryFilter)
Prepares the query filter for the rendering process. |
void |
queryBarriers(IDisplay display,
IGeometryCollection pBarriers,
IEnvelope extent,
ITrackCancel trackCancel)
List of barriers within the specified extent, or all barriers if no extent given. |
void |
readExternal(ObjectInput in)
|
void |
resetLookupSymbol(ISymbol symbol)
Resets temporary options on the symbol (e.g. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setBackgroundSymbol(IFillSymbol sym)
Background fill symbol used when graduated marker symbols are draw on polygon features. |
void |
setBreak(int index,
double value)
Break value at the specified index. |
void |
setBreakCount(int valueCount)
Number of class breaks (equal to the number of classes). |
void |
setColorRamp(String colorRamp)
File and path name of the color ramp. |
void |
setCurrentDrawLevel(int rhs1)
The current draw level, (set to -1 to draw all levels). |
void |
setDescription(int index,
String text)
Description at the specified index. |
void |
setDeviationInterval(double interval)
Deviation interval (0-1), where 0 means that no deviation is used. |
void |
setExclusionClause(String clause)
Data exclusion where clause. |
void |
setExclusionDescription(String text)
Description for the excluded data. |
void |
setExclusionLabel(String label)
Label for the excluded data. |
void |
setExclusionSetByRef(IFeatureIDSet rhs1)
An object reference to a temporary drawing exclusion set. |
void |
setExclusionSymbol(ISymbol symbol)
Symbol used to draw excluded values. |
void |
setExportInfoByRef(IFeatureExportInfoGenerator rhs1)
The helper oject to generate export information. |
void |
setField(String field)
Classification field. |
void |
setLabel(int index,
String label)
Label at the specified index. |
void |
setLowBreak(int index,
double value)
Lower bound of the class at the specified index. |
void |
setMaxSampleSize(int size)
Maximum sample size. |
void |
setMethodByRef(IUID clsid)
Classification method. |
void |
setMinimumBreak(double value)
Minimum break, i.e. |
void |
setNormalizationField(String fieldName)
Normalization field. |
void |
setNormalizationFieldAlias(String name)
Normalization field alias. |
void |
setNormalizationTotal(double value)
Total of all values (used when normalizing by percent of total). |
void |
setNormalizationType(int type)
Normalization type. |
void |
setNormField(String field)
Normalization field. |
void |
setNumberFormatByRef(INumberFormat format)
Number format for class labels. |
void |
setRotationField(String fieldName)
Rotation field. |
void |
setRotationType(int type)
Rotation type. |
void |
setSamplingMethod(int method)
Data sampling method. |
void |
setShowClassGaps(boolean showGaps)
Indicates if each lower bound is adjusted up to the nearest existing data value. |
void |
setShowExclusionClass(boolean show)
Indicates if the exclusion symbol is used. |
void |
setSizeRendererExpression(String pExpression)
Gets size expression. |
void |
setSizeRendererFlags(int pFlags)
Gets sizing flags composed of enum esriSizeRendererFlags. |
void |
setSizeRendererRandomRange(double minSize,
double maxSize)
Sets size range for random sizing. |
void |
setSortClassesAscending(boolean ascending)
Indicates if classes are displayed in increasing order in legends/TOC. |
void |
setSymbol(int index,
ISymbol sym)
Symbol at the specified index (used to draw features in the specified class). |
void |
setSymbolRotation3DExpressions(String expressionX,
String expressionY,
String expressionZ)
Sets expressions for rotation about each axis. |
void |
setSymbolRotation3DFlags(int pFlags)
Gets rotation flags composed of enum esriSymbolRotation3DFlags. |
void |
setSymbolRotation3DFlags2(int flagX,
int flagY,
int flagZ)
Sets one flag for each axis. |
void |
setSymbolRotation3DRandomRanges(double minRotationX,
double minRotationY,
double minRotationZ,
double maxRotationX,
double maxRotationY,
double maxRotationZ)
Sets rotation range for each axis (for random rotation). |
void |
setSymbolRotation3DRotationTypeZ(int pType)
Gets rotation type (geographic or arithmetic) about the Z axis (hardcoded arithmetic about other axes). |
void |
setSymbolsAreGraduated(boolean symbolsAreGraduated)
Indicates if symbols are graduated. |
void |
setWeight(int weight)
Weight of the barriers for this 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 ClassBreaksRenderer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ClassBreaksRenderer(Object obj) throws IOException
ClassBreaksRenderer theClassBreaksRenderer = (ClassBreaksRenderer) obj;
obj
to ClassBreaksRenderer
.
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 int getBreakCount() throws IOException, AutomationException
BreakCount is the number of class breaks which is equal to the number of classes in which the features are grouped for symbolization.
Increasing this property preserves existing breaks, but decreasing it removes excess break values.
getBreakCount
in interface IClassBreaksRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBreakCount(int valueCount) throws IOException, AutomationException
setBreakCount
in interface IClassBreaksRenderer
valueCount
- The valueCount (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getField() throws IOException, AutomationException
This field must be numeric.
getField
in interface IClassBreaksRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setField(String field) throws IOException, AutomationException
setField
in interface IClassBreaksRenderer
field
- The field (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNormField() throws IOException, AutomationException
NormField is the field that contains the values that the Field values will be divided by to produce the symbolization.
Normalizing, i.e. dividing, by a field is the most common way to normalize data for a ClassBreaksRenderer. In general, mapping of ratios or densities is preferrable to mapping counts and a NormField can be used to generate these types of values. Normalize by an area field to represent a density, or normalize by another field with the same units as the values in Field to produce a rate. For example, to map a rate set Field to a field that stores the count of hispanic persons, and set NormField to a field that stores total persons.
Setting NormField is the same as setting IDataNormalization::NormalizationField and setting IDataNormalization::NormalizationType to esriNormalizeByField. You can use IDataNormalization to do other types of normalization.
getNormField
in interface IClassBreaksRenderer
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 IClassBreaksRenderer
field
- The field (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 IClassBreaksRenderer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbol(int index, ISymbol sym) throws IOException, AutomationException
setSymbol
in interface IClassBreaksRenderer
index
- The index (in)sym
- 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 IClassBreaksRenderer
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 IClassBreaksRenderer
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 IClassBreaksRenderer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(int index, String text) throws IOException, AutomationException
setDescription
in interface IClassBreaksRenderer
index
- The index (in)text
- The text (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 IClassBreaksRenderer
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 IClassBreaksRenderer
index
- The index (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMinimumBreak() throws IOException, AutomationException
Represents the minimum value symbolized by the renderer. Values less than the MinimumBreak will not be drawn by the renderer, thererfore is is common to set this property to the minimum value in the dataset being symbolized.
If you change the data being symbolized, you may need to reset the MinimumBreak if the minimum value in the data is affected.
MinimumBreak does NOT equal Break(0). Break(0) is the highest value in the first class, while MinimumBreak is functionally the lowest value in the first class.
getMinimumBreak
in interface IClassBreaksRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMinimumBreak(double value) throws IOException, AutomationException
Commonly the minimum value in the dataset. Does NOT equal Break(0).
setMinimumBreak
in interface IClassBreaksRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSortClassesAscending() throws IOException, AutomationException
Changing this property reverses the Break array, but keeps the Symbol, Label, and Description arrays intact and in the same order.
isSortClassesAscending
in interface IClassBreaksRenderer
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 IClassBreaksRenderer
ascending
- The ascending (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFillSymbol getBackgroundSymbol() throws IOException, AutomationException
getBackgroundSymbol
in interface IClassBreaksRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackgroundSymbol(IFillSymbol sym) throws IOException, AutomationException
setBackgroundSymbol
in interface IClassBreaksRenderer
sym
- A reference to a com.esri.arcgis.display.IFillSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canRender(IFeatureClass featClass, IDisplay display) throws IOException, AutomationException
If the renderer is not applicable to a feature layer, then it can return False in response to a CanRender method. For example, the dot-density renderer is only applicable to polygon feature layers and returns False in response to other feature layers.
canRender
in interface IFeatureRenderer
featClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void prepareFilter(IFeatureClass fc, IQueryFilter queryFilter) throws IOException, AutomationException
This method is called prior to the Draw method and gives the renderer a chance to adjust the query filter to incorporate extra constraints. For example, if a particular field is required for the renderer, it would add this field to the filter to ensure it is accessible during the Draw method.
prepareFilter
in interface IFeatureRenderer
fc
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IFeatureCursor cursor, int drawPhase, IDisplay display, ITrackCancel trackCancel) throws IOException, AutomationException
This method is typically called by the framework to renderer features to a display. This could be in response to a refresh on the map. This method typically iterates through all the features and renders each feature with an appropriate symbol.
An individual feature is typically drawn by calling the Draw method on the feature's IFeatureDraw with the symbol created by the renderer. However, when writing a custom feature renderer you can draw anything you want using a number of different methods. To learn more see the section on writing a custom feature renderer in Extending ArcObjects.
To allow complex rendering to be canceled halfway through a draw, the renderer typically checks the TrackCancel object after each feature or set of features. If a cancel action has occurred, the renderer will exit.
There are three drawing phases: selection, annotation, and geography, and this method can be called by the framework up to three times. With the exception of the selection phase, this method will only be called for a particular draw phase if the call by the framework to RenderPhase returns true for that phase.
Feature renderers typically only draw features during the geography phase, though in some cases features are drawn in the annotation phase. Take for example a case where proportional symbols are drawn for polygon features. The ProportionalSymbolRenderer draws the background fill symbol during the geography phase and the proportionally sized marker symbol during the annotation phase.
draw
in interface IFeatureRenderer
cursor
- A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel
- 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 ISymbol getSymbolByFeature(IFeature feature) throws IOException, AutomationException
getSymbolByFeature
in interface IFeatureRenderer
feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRenderPhase(int drawPhase) throws IOException, AutomationException
isRenderPhase
in interface IFeatureRenderer
drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExclusionSetByRef(IFeatureIDSet rhs1) throws IOException, AutomationException
The list of feature IDs to be excluded from drawing.
Some feature renderers support IDataExclusion which allows you to build a where clause to exclude features.
Exclusion prevents features from drawing. To prevent features from drawing as well as from appearing in tables and in query results, set a layer definition query using IFeatureLayerDefinition.
setExclusionSetByRef
in interface IFeatureRenderer
rhs1
- A reference to a com.esri.arcgis.carto.IFeatureIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentDrawLevel(int rhs1) throws IOException, AutomationException
This property is set by the framework at draw time to specify which symbol level the renderer is to draw. If implementing a custom renderer that implements ILevelRenderer, you can check this property in your implementation of IFeatureRenderer::Draw to know which symbol level to draw.
setCurrentDrawLevel
in interface ILevelRenderer
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getLevelArray() throws IOException, AutomationException
This property returns an
array of long integers representing all the the symbol levels of
the symbols used by the renderer.
getLevelArray
in interface ILevelRenderer
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 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 double getLowBreak(int index) throws IOException, AutomationException
getLowBreak
in interface IClassBreaksUIProperties
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLowBreak(int index, double value) throws IOException, AutomationException
setLowBreak
in interface IClassBreaksUIProperties
index
- The index (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getColorRamp() throws IOException, AutomationException
getColorRamp
in interface IClassBreaksUIProperties
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 IClassBreaksUIProperties
colorRamp
- The colorRamp (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getMethod() throws IOException, AutomationException
getMethod
in interface IClassBreaksUIProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMethodByRef(IUID clsid) throws IOException, AutomationException
setMethodByRef
in interface IClassBreaksUIProperties
clsid
- 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 INumberFormat getNumberFormat() throws IOException, AutomationException
This property affects the formatting of the class labels on the layer properties dialog's symbology tab.
getNumberFormat
in interface IClassBreaksUIProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILatLonFormat2
,
CustomNumberFormat
,
IRateFormat
,
IAngleFormat
,
NumericFormat
,
LatLonFormat
,
CurrencyFormat
,
INumericFormat
,
IFractionFormat
,
RateFormat
,
IScientificNumberFormat
,
ICustomNumberFormat
,
ILatLonFormat
,
IPercentageFormat
,
INumberFormat
,
ScientificFormat
,
FractionFormat
,
PercentageFormat
,
AngleFormat
public void setNumberFormatByRef(INumberFormat format) throws IOException, AutomationException
setNumberFormatByRef
in interface IClassBreaksUIProperties
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
isShowClassGaps
in interface IClassBreaksUIProperties
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 IClassBreaksUIProperties
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 IClassBreaksUIProperties
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 IClassBreaksUIProperties
interval
- The interval (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxSampleSize() throws IOException, AutomationException
getMaxSampleSize
in interface IDataSampling
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxSampleSize(int size) throws IOException, AutomationException
setMaxSampleSize
in interface IDataSampling
size
- The size (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSamplingMethod() throws IOException, AutomationException
esriAllRecords samples all features up to the maximum sample size
esriRandomRecords is not implemented
esriEveryNthRecord is not implemented
getSamplingMethod
in interface IDataSampling
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSamplingMethod(int method) throws IOException, AutomationException
setSamplingMethod
in interface IDataSampling
method
- A com.esri.arcgis.carto.esriDataSampling constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getExclusionClause() throws IOException, AutomationException
getExclusionClause
in interface IDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExclusionClause(String clause) throws IOException, AutomationException
setExclusionClause
in interface IDataExclusion
clause
- The clause (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getExclusionSymbol() throws IOException, AutomationException
getExclusionSymbol
in interface IDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExclusionSymbol(ISymbol symbol) throws IOException, AutomationException
setExclusionSymbol
in interface IDataExclusion
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 boolean isShowExclusionClass() throws IOException, AutomationException
Setting ShowExclusionClass to TRUE creates a new LegendClass that appears in the TOC containing the ExclusionSymbol, ExclusionLabel, and ExclusionDescription. Also, use this property to control whether the ExclusionSymbol is drawn on the map. IDataExclusion provides no mechanism to make the symbol appear on the map, but not in the TOC.
isShowExclusionClass
in interface IDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowExclusionClass(boolean show) throws IOException, AutomationException
setShowExclusionClass
in interface IDataExclusion
show
- The show (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getExclusionLabel() throws IOException, AutomationException
getExclusionLabel
in interface IDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExclusionLabel(String label) throws IOException, AutomationException
setExclusionLabel
in interface IDataExclusion
label
- The label (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getExclusionDescription() throws IOException, AutomationException
getExclusionDescription
in interface IDataExclusion
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExclusionDescription(String text) throws IOException, AutomationException
setExclusionDescription
in interface IDataExclusion
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void disconnect() throws IOException, AutomationException
disconnect
in interface IDataExclusion2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRotationField() throws IOException, AutomationException
getRotationField
in interface IRotationRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRotationField(String fieldName) throws IOException, AutomationException
setRotationField
in interface IRotationRenderer
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRotationType() throws IOException, AutomationException
getRotationType
in interface IRotationRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRotationType(int type) throws IOException, AutomationException
setRotationType
in interface IRotationRenderer
type
- A com.esri.arcgis.carto.esriSymbolRotationType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSymbolRotation3DFlags() throws IOException, AutomationException
getSymbolRotation3DFlags
in interface IRotationRenderer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolRotation3DFlags(int pFlags) throws IOException, AutomationException
setSymbolRotation3DFlags
in interface IRotationRenderer2
pFlags
- The pFlags (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSymbolRotation3DFlags2(int[] pFlagX, int[] pFlagY, int[] pFlagZ) throws IOException, AutomationException
getSymbolRotation3DFlags2
in interface IRotationRenderer2
pFlagX
- A com.esri.arcgis.carto.esriSymbolRotation3DFlags constant (out: use single element array)pFlagY
- A com.esri.arcgis.carto.esriSymbolRotation3DFlags constant (out: use single element array)pFlagZ
- A com.esri.arcgis.carto.esriSymbolRotation3DFlags constant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolRotation3DFlags2(int flagX, int flagY, int flagZ) throws IOException, AutomationException
setSymbolRotation3DFlags2
in interface IRotationRenderer2
flagX
- A com.esri.arcgis.carto.esriSymbolRotation3DFlags constant (in)flagY
- A com.esri.arcgis.carto.esriSymbolRotation3DFlags constant (in)flagZ
- A com.esri.arcgis.carto.esriSymbolRotation3DFlags constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSymbolRotation3DRotationTypeZ() throws IOException, AutomationException
getSymbolRotation3DRotationTypeZ
in interface IRotationRenderer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolRotation3DRotationTypeZ(int pType) throws IOException, AutomationException
setSymbolRotation3DRotationTypeZ
in interface IRotationRenderer2
pType
- A com.esri.arcgis.carto.esriSymbolRotationType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSymbolRotation3DExpressions(String[] pExpressionX, String[] pExpressionY, String[] pExpressionZ) throws IOException, AutomationException
getSymbolRotation3DExpressions
in interface IRotationRenderer2
pExpressionX
- The pExpressionX (out: use single element array)pExpressionY
- The pExpressionY (out: use single element array)pExpressionZ
- The pExpressionZ (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolRotation3DExpressions(String expressionX, String expressionY, String expressionZ) throws IOException, AutomationException
setSymbolRotation3DExpressions
in interface IRotationRenderer2
expressionX
- The expressionX (in)expressionY
- The expressionY (in)expressionZ
- The expressionZ (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSymbolRotation3DRandomRanges(double[] pMinRotationX, double[] pMinRotationY, double[] pMinRotationZ, double[] pMaxRotationX, double[] pMaxRotationY, double[] pMaxRotationZ) throws IOException, AutomationException
getSymbolRotation3DRandomRanges
in interface IRotationRenderer2
pMinRotationX
- The pMinRotationX (out: use single element array)pMinRotationY
- The pMinRotationY (out: use single element array)pMinRotationZ
- The pMinRotationZ (out: use single element array)pMaxRotationX
- The pMaxRotationX (out: use single element array)pMaxRotationY
- The pMaxRotationY (out: use single element array)pMaxRotationZ
- The pMaxRotationZ (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolRotation3DRandomRanges(double minRotationX, double minRotationY, double minRotationZ, double maxRotationX, double maxRotationY, double maxRotationZ) throws IOException, AutomationException
setSymbolRotation3DRandomRanges
in interface IRotationRenderer2
minRotationX
- The minRotationX (in)minRotationY
- The minRotationY (in)minRotationZ
- The minRotationZ (in)maxRotationX
- The maxRotationX (in)maxRotationY
- The maxRotationY (in)maxRotationZ
- The maxRotationZ (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSizeRendererFlags() throws IOException, AutomationException
getSizeRendererFlags
in interface ISizeRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSizeRendererFlags(int pFlags) throws IOException, AutomationException
setSizeRendererFlags
in interface ISizeRenderer
pFlags
- The pFlags (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSizeRendererExpression() throws IOException, AutomationException
getSizeRendererExpression
in interface ISizeRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSizeRendererExpression(String pExpression) throws IOException, AutomationException
setSizeRendererExpression
in interface ISizeRenderer
pExpression
- The pExpression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeRendererRandomRange(double[] pMinSize, double[] pMaxSize) throws IOException, AutomationException
getSizeRendererRandomRange
in interface ISizeRenderer
pMinSize
- The pMinSize (out: use single element array)pMaxSize
- The pMaxSize (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSizeRendererRandomRange(double minSize, double maxSize) throws IOException, AutomationException
setSizeRendererRandomRange
in interface ISizeRenderer
minSize
- The minSize (in)maxSize
- The maxSize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNormalizationField() throws IOException, AutomationException
getNormalizationField
in interface IDataNormalization
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNormalizationField(String fieldName) throws IOException, AutomationException
setNormalizationField
in interface IDataNormalization
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNormalizationFieldAlias() throws IOException, AutomationException
NormalizationField alias is not implemented by many of the classes implementing IDataNormalization and will return E_NOTIMPL in those cases.
getNormalizationFieldAlias
in interface IDataNormalization
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNormalizationFieldAlias(String name) throws IOException, AutomationException
setNormalizationFieldAlias
in interface IDataNormalization
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNormalizationType() throws IOException, AutomationException
esriNormalizeByField requires that the NormalizationField be set.
esriNormalizeByLog takes a base 10 logarithm of the data values.
esriNormalizeByPercentageOfTotal requires the NormalizationTotal field to be set to the total data value. This is used to calculate percentages. Each value is divided by the NormalizationTotal and then multiplied by 100. You can use IDataStatistics to generate NormalizationTotal .
esriNormalizeByArea is not implemented.
esriNormalizeByNothing disables normalization.
getNormalizationType
in interface IDataNormalization
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNormalizationType(int type) throws IOException, AutomationException
setNormalizationType
in interface IDataNormalization
type
- A com.esri.arcgis.carto.esriDataNormalization constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getNormalizationTotal() throws IOException, AutomationException
Not implemented by ProportionalSymbolRenderer .
getNormalizationTotal
in interface IDataNormalization
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNormalizationTotal(double value) throws IOException, AutomationException
Not implemented by ProportionalSymbolRenderer.
setNormalizationTotal
in interface IDataNormalization
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getWeight() throws IOException, AutomationException
A Long value corresponding to a weight in esriBasicOverposterWeight.
getWeight
in interface IBarrierProperties2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWeight(int weight) throws IOException, AutomationException
setWeight
in interface IBarrierProperties2
weight
- The weight (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryBarriers(IDisplay display, IGeometryCollection pBarriers, IEnvelope extent, ITrackCancel trackCancel) throws IOException, AutomationException
queryBarriers
in interface IBarrierProperties2
display
- A reference to a com.esri.arcgis.display.IDisplay (in)pBarriers
- A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)trackCancel
- 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 ISymbol lookupSymbol(boolean firstPass, IFeature feature) throws IOException, AutomationException
This method hands out a reference to the symbol for a specific feature. The firstPass parameter is passed in as True on the first call of this method. This allows the renderer to internally cache the symbols for succesive calls.
lookupSymbol
in interface ILookupSymbol
firstPass
- The firstPass (in)feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetLookupSymbol(ISymbol symbol) throws IOException, AutomationException
This method resets modifications to marker symbol angles that may be set on the symbol reference handed to the label engine. When implementing this interface it is important to reset any marker symbol rotation changes in this method.
resetLookupSymbol
in interface ILookupSymbol
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 int getClassCount() throws IOException, AutomationException
getClassCount
in interface IRendererClasses
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String esri_getClass(int index) throws IOException, AutomationException
esri_getClass
in interface IRendererClasses
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getWhereClause(int index, ITable table) throws IOException, AutomationException
getWhereClause
in interface IRendererClasses
index
- The index (in)table
- 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 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 String getMinNamespaceSupported() throws IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExportInfoByRef(IFeatureExportInfoGenerator rhs1) throws IOException, AutomationException
setExportInfoByRef
in interface IExportSupport
rhs1
- A reference to a com.esri.arcgis.carto.IFeatureExportInfoGenerator (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int lookupLegendClass(IFeature feature, int[] legendGroupIdx) throws IOException, AutomationException
lookupLegendClass
in interface ILookupLegendClass
feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)legendGroupIdx
- The legendGroupIdx (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFieldCount() throws IOException, AutomationException
getFieldCount
in interface ILookupLegendClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getField(int index) throws IOException, AutomationException
getField
in interface ILookupLegendClass
index
- The index (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 |