|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.UniqueValueRenderer
public class UniqueValueRenderer
A unique values renderer where symbols are assigned to features based on an unique attribute values.

Use the UniqueValueRenderer to display feature data that falls into distinct categories based on attribute values. For example, if you have parcel data with land use types of residential, agriculture, and retail, you can use a different symbol to represent each unique land use type.
Each unique value can define a unique category, represented with a single symbol, or values can by combined by grouping so that more than one value is symbolized with the same symbol. Grouping is implemented by utilizing IUniqueValueRenderer::ReferenceValue. Also, headings can be used to organize categories in the table of contents and legend, see IUniqueValueRenderer::Heading.
Unique value renderering is typically based on a single attribute field, however up to 3 fields can be used. When more than one field is used, the combinations of the unique values from each field are used to define the categories. So, for example if two fields are used which store the values A and B; and X, Y, and Z respectively, then the initial categories will be defined as A|X, A|Y, A|Z, B|X, B|Y, and B|Z.
| Constructor Summary | |
|---|---|
UniqueValueRenderer()
Constructs a UniqueValueRenderer using ArcGIS Engine. |
|
UniqueValueRenderer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. UniqueValueRenderer theUniqueValueRenderer = (UniqueValueRenderer) obj; |
|
| Method Summary | |
|---|---|
void |
addReferenceValue(String value,
String refValue)
Adds a value to the renderer to be grouped with refValue, which has already been added to the renderer. |
void |
addValue(String value,
String heading,
ISymbol symbol)
Adds a value and corresponding symbol to the list. |
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 |
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. |
int |
getClassCount()
Number of classes. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getColorScheme()
Color scheme (user interface property only). |
String |
getDefaultLabel()
Label used for unspecified values. |
ISymbol |
getDefaultSymbol()
Symbol used to draw any unspecified values (may be NULL). |
String |
getDescription(String value)
Desription for the specified label. |
String |
getField(int index)
Field at the specified index that is used to categorize features. |
int |
getFieldCount()
Number of fields used by the renderer (0-3). |
String |
getFieldDelimiter()
Delimiter used to separate field values. |
String |
getHeading(String value)
Heading that contains the specified value. |
String |
getLabel(String value)
Label for the specified value. |
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). |
String |
getLookupStyleset()
Style used for matching (user interface property only). |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
String |
getReferenceValue(String value)
Reference value for the specified value. |
String |
getRotationField()
Rotation field. |
int |
getRotationType()
Rotation type. |
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(String value)
Symbol associated with the specified value. |
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). |
String |
getTransparencyField()
Transparency field. |
String |
getValue(int index)
Value at the specified index. |
int |
getValueCount()
Number of unique values used to categorize the data. |
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 |
isSymbolsAreGraduated()
Indicates if symbols are graduated. |
boolean |
isUseDefaultSymbol()
Indicates if DefaultSymbol is used for drawing unspecified values. |
boolean |
isUsesFilter()
Indicates if the current object draws using a filter. |
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 |
readExternal(ObjectInput in)
|
void |
removeAllValues()
Removes all values from the renderer. |
void |
removeValue(String value)
Removes a value from the renderer. |
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 |
setColorScheme(String name)
Color scheme (user interface property only). |
void |
setCurrentDrawLevel(int rhs1)
The current draw level, (set to -1 to draw all levels). |
void |
setDefaultLabel(String label)
Label used for unspecified values. |
void |
setDefaultSymbol(ISymbol symbol)
Symbol used to draw any unspecified values (may be NULL). |
void |
setDescription(String value,
String text)
Desription for the specified label. |
void |
setExclusionSetByRef(IFeatureIDSet rhs1)
An object reference to a temporary drawing exclusion set. |
void |
setExportInfoByRef(IFeatureExportInfoGenerator rhs1)
The helper oject to generate export information. |
void |
setField(int index,
String field)
Field at the specified index that is used to categorize features. |
void |
setFieldCount(int fieldCount)
Number of fields used by the renderer (0-3). |
void |
setFieldDelimiter(String delimiter)
Delimiter used to separate field values. |
void |
setFieldType(int index,
boolean rhs2)
Indicates if the field at the specified index is a string. |
void |
setHeading(String value,
String heading)
Heading that contains the specified value. |
void |
setLabel(String value,
String label)
Label for the specified value. |
void |
setLookupStyleset(String name)
Style used for matching (user interface property only). |
void |
setRotationField(String fieldName)
Rotation field. |
void |
setRotationType(int type)
Rotation type. |
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 |
setSymbol(String value,
ISymbol symbol)
Symbol associated with the specified value. |
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 |
setTransparencyField(String fieldName)
Transparency field. |
void |
setUseDefaultSymbol(boolean flag)
Indicates if DefaultSymbol is used for drawing unspecified values. |
void |
setValue(int index,
String value)
Value at the specified index. |
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 UniqueValueRenderer()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public UniqueValueRenderer(Object obj)
throws IOException
UniqueValueRenderer theUniqueValueRenderer = (UniqueValueRenderer) obj;
obj to UniqueValueRenderer.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getField(int index)
throws IOException,
AutomationException
getField in interface ILookupLegendClassgetField in interface IUniqueValueRendererindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setField(int index,
String field)
throws IOException,
AutomationException
setField in interface IUniqueValueRendererindex - The index (in)field - The field (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldType(int index,
boolean rhs2)
throws IOException,
AutomationException
setFieldType in interface IUniqueValueRendererindex - The index (in)rhs2 - The rhs2 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getFieldDelimiter()
throws IOException,
AutomationException
getFieldDelimiter in interface IUniqueValueRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldDelimiter(String delimiter)
throws IOException,
AutomationException
setFieldDelimiter in interface IUniqueValueRendererdelimiter - The delimiter (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFieldCount()
throws IOException,
AutomationException
getFieldCount in interface ILookupLegendClassgetFieldCount in interface IUniqueValueRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldCount(int fieldCount)
throws IOException,
AutomationException
setFieldCount in interface IUniqueValueRendererfieldCount - The fieldCount (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getDefaultSymbol()
throws IOException,
AutomationException
Values that have not been
added to the renderer object can be drawn according to the symbol
set for this property. To enable the drawing of this symbol
you must also set UseDefaultSymbol
= True. Access the label for the default symbol
through DefaultLabel.
getDefaultSymbol in interface IUniqueValueRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultSymbol(ISymbol symbol)
throws IOException,
AutomationException
setDefaultSymbol in interface IUniqueValueRenderersymbol - 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 getDefaultLabel()
throws IOException,
AutomationException
getDefaultLabel in interface IUniqueValueRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultLabel(String label)
throws IOException,
AutomationException
setDefaultLabel in interface IUniqueValueRendererlabel - The label (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseDefaultSymbol()
throws IOException,
AutomationException
isUseDefaultSymbol in interface IUniqueValueRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseDefaultSymbol(boolean flag)
throws IOException,
AutomationException
setUseDefaultSymbol in interface IUniqueValueRendererflag - The flag (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getValueCount()
throws IOException,
AutomationException
To iterate through all of the renderer values, use the Value property and iterate from index 0 through index ValueCount - 1.
getValueCount in interface IUniqueValueRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getValue(int index)
throws IOException,
AutomationException
getValue in interface IUniqueValueRendererindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setValue(int index,
String value)
throws IOException,
AutomationException
setValue in interface IUniqueValueRendererindex - The index (in)value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getReferenceValue(String value)
throws IOException,
AutomationException
getReferenceValue in interface IUniqueValueRenderervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addReferenceValue(String value,
String refValue)
throws IOException,
AutomationException
addReferenceValue in interface IUniqueValueRenderervalue - The value (in)refValue - The refValue (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getSymbol(String value)
throws IOException,
AutomationException
getSymbol in interface IUniqueValueRenderervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbol(String value,
ISymbol symbol)
throws IOException,
AutomationException
setSymbol in interface IUniqueValueRenderervalue - The value (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(String value)
throws IOException,
AutomationException
getLabel in interface IUniqueValueRenderervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabel(String value,
String label)
throws IOException,
AutomationException
setLabel in interface IUniqueValueRenderervalue - The value (in)label - The label (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDescription(String value)
throws IOException,
AutomationException
getDescription in interface IUniqueValueRenderervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDescription(String value,
String text)
throws IOException,
AutomationException
setDescription in interface IUniqueValueRenderervalue - The value (in)text - The text (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getHeading(String value)
throws IOException,
AutomationException
getHeading in interface IUniqueValueRenderervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHeading(String value,
String heading)
throws IOException,
AutomationException
setHeading in interface IUniqueValueRenderervalue - The value (in)heading - The heading (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addValue(String value,
String heading,
ISymbol symbol)
throws IOException,
AutomationException
After setting
FieldCount and setting at least one
Field, use this method to add a unique value and
corresponding symbol to the renderer. You can later retrieve and/or
change the symbol for particular value using the
Symbol property.
If you pass a
Value that already exists in the renderer, then the
existing symbol for the Value will be replaced by the
object passed as the Symbol parameter.
If
FieldCount > 1 then the Value you pass should
be a list of values, one for each field, separated by the
FieldDelimitter. By default this is a
comma.
To add a value to the
renderer, and have that value be drawn with the same symbol as
another existing value or values, use
AddReferenceValue instead of
AddValue. When more than one value is drawn with
the same symbol, the values are said to be
grouped.
Null Values
At ArcGIS versions 8.2 and later, special behavior was added to the UniqueValueRenderer to handle Null values. If you add the special value "<Null>" to your renderer and your database supports Nulls, then features where Field = Null will be drawn with the "<Null>" symbol.
addValue in interface IUniqueValueRenderervalue - The value (in)heading - The heading (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 void removeValue(String value)
throws IOException,
AutomationException
removeValue in interface IUniqueValueRenderervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAllValues()
throws IOException,
AutomationException
removeAllValues in interface IUniqueValueRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getColorScheme()
throws IOException,
AutomationException
getColorScheme in interface IUniqueValueRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColorScheme(String name)
throws IOException,
AutomationException
setColorScheme in interface IUniqueValueRenderername - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLookupStyleset()
throws IOException,
AutomationException
getLookupStyleset in interface IUniqueValueRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLookupStyleset(String name)
throws IOException,
AutomationException
setLookupStyleset in interface IUniqueValueRenderername - The name (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 IFeatureRendererfeatClass - 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 IFeatureRendererfc - 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 IFeatureRenderercursor - 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 IFeatureRendererfeature - 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 IFeatureRendererdrawPhase - 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 IFeatureRendererrhs1 - 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 ILevelRendererrhs1 - 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 ILevelRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLegendGroupCount()
throws IOException,
AutomationException
The number of legend groups is determined by the implementation of the renderer, consequently this property is read only. For example, SimpleRenderer has one group, while a BiUniqueValueRenderer has any number of groups.
getLegendGroupCount in interface ILegendInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILegendGroup getLegendGroup(int index)
throws IOException,
AutomationException
getLegendGroup in interface ILegendInfoindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILegendItem getLegendItem()
throws IOException,
AutomationException
Layer or renderer legend information is further formatted for display in ArcMap legends. A renderer can override this formatting by returning a LegendItem for this property. ESRI renderers typically do not return anything for this property. With this configuration, legend formatting becomes a user or developer choice on the legend object.
getLegendItem in interface ILegendInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSymbolsAreGraduated()
throws IOException,
AutomationException
Indicates whether the symbols used for a layer or renderer's legend vary by size.
For example the proportional symbol renderer returns True for this property.
You can use this property to distinguish between a layer symbolized with graduated color or graduated symbol type layer symbology. Both of these symbolizations use a ClassBreaksRenderer, but only a graduated symbol symbolization will return True for this property.
isSymbolsAreGraduated in interface ILegendInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolsAreGraduated(boolean symbolsAreGraduated)
throws IOException,
AutomationException
setSymbolsAreGraduated in interface ILegendInfosymbolsAreGraduated - The symbolsAreGraduated (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getClassCount()
throws IOException,
AutomationException
getClassCount in interface IRendererClassesIOException - 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 IRendererClassesindex - 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 IRendererClassesindex - 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 String getRotationField()
throws IOException,
AutomationException
getRotationField in interface IRotationRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRotationField(String fieldName)
throws IOException,
AutomationException
setRotationField in interface IRotationRendererfieldName - 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 IRotationRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRotationType(int type)
throws IOException,
AutomationException
setRotationType in interface IRotationRenderertype - 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 IRotationRenderer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolRotation3DFlags(int pFlags)
throws IOException,
AutomationException
setSymbolRotation3DFlags in interface IRotationRenderer2pFlags - 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 IRotationRenderer2pFlagX - 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 IRotationRenderer2flagX - 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 IRotationRenderer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolRotation3DRotationTypeZ(int pType)
throws IOException,
AutomationException
setSymbolRotation3DRotationTypeZ in interface IRotationRenderer2pType - 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 IRotationRenderer2pExpressionX - 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 IRotationRenderer2expressionX - 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 IRotationRenderer2pMinRotationX - 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 IRotationRenderer2minRotationX - 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 ISizeRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSizeRendererFlags(int pFlags)
throws IOException,
AutomationException
setSizeRendererFlags in interface ISizeRendererpFlags - 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 ISizeRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSizeRendererExpression(String pExpression)
throws IOException,
AutomationException
setSizeRendererExpression in interface ISizeRendererpExpression - 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 ISizeRendererpMinSize - 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 ISizeRendererminSize - The minSize (in)maxSize - The maxSize (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTransparencyField()
throws IOException,
AutomationException
getTransparencyField in interface ITransparencyRendererIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTransparencyField(String fieldName)
throws IOException,
AutomationException
setTransparencyField in interface ITransparencyRendererfieldName - The fieldName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUsesFilter()
throws IOException,
AutomationException
The UsesFilter property returns true when the object in question will draw with a filter. Drawing with a filter means means that an object that would normally draw as vector graphics will instead draw as raster. The UsesFilter property is particularly useful for detecting vector map layers that will be rasterized at time of print or export.
isUsesFilter in interface IDisplayAdminIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public 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 ILookupSymbolfirstPass - 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 ILookupSymbolsymbol - 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 void serialize(IXMLSerializeData data)
throws IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getMinNamespaceSupported()
throws IOException,
AutomationException
getMinNamespaceSupported in interface IXMLVersionSupportIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExportInfoByRef(IFeatureExportInfoGenerator rhs1)
throws IOException,
AutomationException
setExportInfoByRef in interface IExportSupportrhs1 - 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 ILookupLegendClassfeature - 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 void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||