|
|||||||||
| 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
COM Class 'UniqueValueRenderer'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'A unique values renderer where symbols are assigned to features based on an unique attribute values.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Fields inherited from interface com.esri.arcgis.carto.IUniqueValueRenderer |
|---|
IID, IIDc3346d2a_b2bc_11d1_8817_080009ec732a, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IUniqueValueRenderer2 |
|---|
IID, IID78b2e6fc_a027_4b63_a52d_3ad0ba2f2e81, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IFeatureRendererUpdate |
|---|
IID, IID735c4d99_e28d_4ad4_b5b9_a12c1d8319fc, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.ILevelRenderer |
|---|
IID, IIDdc3d8097_c1ed_11d2_9f21_00c04f6bc709, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersistStream |
|---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersist |
|---|
IID0000010c_0000_0000_c000_000000000046 |
| Fields inherited from interface com.esri.arcgis.carto.IRendererClasses |
|---|
IID, IID3f25cc56_cc66_4930_a5fd_bc981601cea6, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IRotationRenderer |
|---|
IID, IID2f2047a6_42bd_11d2_aafd_00c04fa334b3, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IRotationRenderer2 |
|---|
IID, IIDd85e5b0c_68b3_48c8_b8d2_087806273b47, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.ISizeRenderer |
|---|
IID, IID5ba3418a_4ba5_431a_b879_f2539c7be5ff, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.ITransparencyRenderer |
|---|
IID, IIDfb20665d_db1c_11d2_9f2e_00c04f6bc709, xxDummy |
| Fields inherited from interface com.esri.arcgis.display.IDisplayAdmin |
|---|
IID, IID12e361f0_1907_11d3_80c7_0080c79f0371, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.ILookupSymbol |
|---|
IID, IID736a377d_a1eb_4ce4_84b9_90f9588374c2, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IXMLSerialize |
|---|
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IXMLVersionSupport |
|---|
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IExportSupport |
|---|
IID, IIDf6448010_3cc8_435e_b042_540e9a328f3b, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.ILookupLegendClass |
|---|
IID, IIDbdb4bf86_8691_4f1c_b009_42e39035f40e, xxDummy |
| Constructor Summary | |
|---|---|
UniqueValueRenderer()
Constructs a UniqueValueRenderer using ArcGIS Engine. |
|
UniqueValueRenderer(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. UniqueValueRenderer theUniqueValueRenderer = (UniqueValueRenderer) obj; |
|
| Method Summary | |
|---|---|
void |
addReferenceValue(java.lang.String value,
java.lang.String refValue)
Adds a value to the renderer to be grouped with refValue, which has already been added to the renderer. |
void |
addValue(java.lang.String value,
java.lang.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(java.lang.Object o)
Compare this object with another |
java.lang.String |
esri_getClass(int index)
Class name. |
int |
getClassCount()
Number of classes. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
IColorRamp |
getColorRamp()
Color Ramp Object. |
java.lang.String |
getColorScheme()
Color scheme (user interface property only). |
java.lang.String |
getDefaultLabel()
Label used for unspecified values. |
ISymbol |
getDefaultSymbol()
Symbol used to draw any unspecified values (may be NULL). |
java.lang.String |
getDescription(java.lang.String value)
Desription for the specified label. |
java.lang.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). |
java.lang.String |
getFieldDelimiter()
Delimiter used to separate field values. |
java.lang.String |
getHeading(java.lang.String value)
Heading that contains the specified value. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getLabel(java.lang.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. |
java.lang.Object |
getLevelArray()
Array that contains all levels used by the symbols, (symbols without a level get a level of 0). |
java.lang.String |
getLookupStyleset()
Style used for matching (user interface property only). |
java.lang.String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
java.lang.String |
getReferenceValue(java.lang.String value)
Reference value for the specified value. |
java.lang.String |
getRotationField()
Rotation field. |
int |
getRotationType()
Rotation type. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
java.lang.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(java.lang.String value)
Symbol associated with the specified value. |
ISymbol |
getSymbolByFeature(IFeature feature)
Symbol used to draw the specified feature. |
void |
getSymbolRotation3DExpressions(java.lang.String[] pExpressionX,
java.lang.String[] pExpressionY,
java.lang.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). |
java.lang.String |
getTransparencyField()
Transparency field. |
java.lang.String |
getValue(int index)
Value at the specified index. |
int |
getValueCount()
Number of unique values used to categorize the data. |
java.lang.String |
getWhereClause(int index,
ITable table)
WhereClause. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isFlipSymbols()
Indicates if symbols are flipped. |
boolean |
isRenderPhase(int drawPhase)
Indicates if renderer uses the specified draw phase. |
boolean |
isReverseUniqueValuesSorting()
Indicates if unique values are flipped. |
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(java.io.ObjectInput in)
|
void |
release()
Release a UniqueValueRenderer. |
void |
removeAllValues()
Removes all values from the renderer. |
void |
removeValue(java.lang.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 |
setColorRampByRef(IColorRamp ppColorRamp)
Color Ramp Object. |
void |
setColorScheme(java.lang.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(java.lang.String label)
Label used for unspecified values. |
void |
setDefaultSymbol(ISymbol symbol)
Symbol used to draw any unspecified values (may be NULL). |
void |
setDescription(java.lang.String value,
java.lang.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,
java.lang.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(java.lang.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 |
setFlipSymbols(boolean ascending)
Indicates if symbols are flipped. |
void |
setHeading(java.lang.String value,
java.lang.String heading)
Heading that contains the specified value. |
void |
setLabel(java.lang.String value,
java.lang.String label)
Label for the specified value. |
void |
setLookupStyleset(java.lang.String name)
Style used for matching (user interface property only). |
void |
setReverseUniqueValuesSorting(boolean ascending)
Indicates if unique values are flipped. |
void |
setRotationField(java.lang.String fieldName)
Rotation field. |
void |
setRotationType(int type)
Rotation type. |
void |
setSizeRendererExpression(java.lang.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(java.lang.String value,
ISymbol symbol)
Symbol associated with the specified value. |
void |
setSymbolRotation3DExpressions(java.lang.String expressionX,
java.lang.String expressionY,
java.lang.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(java.lang.String fieldName)
Transparency field. |
void |
setUseDefaultSymbol(boolean flag)
Indicates if DefaultSymbol is used for drawing unspecified values. |
void |
setValue(int index,
java.lang.String value)
Value at the specified index. |
void |
update(IFeatureLayer pFeatureLayer)
update |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public UniqueValueRenderer()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public UniqueValueRenderer(java.lang.Object obj)
throws java.io.IOException
UniqueValueRenderer theUniqueValueRenderer = (UniqueValueRenderer) obj;
obj to UniqueValueRenderer.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getField(int index)
throws java.io.IOException,
AutomationException
getField in interface ILookupLegendClassgetField in interface IUniqueValueRendererindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setField(int index,
java.lang.String field)
throws java.io.IOException,
AutomationException
setField in interface IUniqueValueRendererindex - The index (in)field - The field (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldType(int index,
boolean rhs2)
throws java.io.IOException,
AutomationException
setFieldType in interface IUniqueValueRendererindex - The index (in)rhs2 - The rhs2 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getFieldDelimiter()
throws java.io.IOException,
AutomationException
getFieldDelimiter in interface IUniqueValueRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldDelimiter(java.lang.String delimiter)
throws java.io.IOException,
AutomationException
setFieldDelimiter in interface IUniqueValueRendererdelimiter - The delimiter (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFieldCount()
throws java.io.IOException,
AutomationException
getFieldCount in interface ILookupLegendClassgetFieldCount in interface IUniqueValueRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldCount(int fieldCount)
throws java.io.IOException,
AutomationException
setFieldCount in interface IUniqueValueRendererfieldCount - The fieldCount (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getDefaultSymbol()
throws java.io.IOException,
AutomationException
getDefaultSymbol in interface IUniqueValueRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultSymbol(ISymbol symbol)
throws java.io.IOException,
AutomationException
setDefaultSymbol in interface IUniqueValueRenderersymbol - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDefaultLabel()
throws java.io.IOException,
AutomationException
getDefaultLabel in interface IUniqueValueRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultLabel(java.lang.String label)
throws java.io.IOException,
AutomationException
setDefaultLabel in interface IUniqueValueRendererlabel - The label (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseDefaultSymbol()
throws java.io.IOException,
AutomationException
isUseDefaultSymbol in interface IUniqueValueRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseDefaultSymbol(boolean flag)
throws java.io.IOException,
AutomationException
setUseDefaultSymbol in interface IUniqueValueRendererflag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getValueCount()
throws java.io.IOException,
AutomationException
getValueCount in interface IUniqueValueRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getValue(int index)
throws java.io.IOException,
AutomationException
getValue in interface IUniqueValueRendererindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setValue(int index,
java.lang.String value)
throws java.io.IOException,
AutomationException
setValue in interface IUniqueValueRendererindex - The index (in)value - The value (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getReferenceValue(java.lang.String value)
throws java.io.IOException,
AutomationException
getReferenceValue in interface IUniqueValueRenderervalue - The value (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addReferenceValue(java.lang.String value,
java.lang.String refValue)
throws java.io.IOException,
AutomationException
addReferenceValue in interface IUniqueValueRenderervalue - The value (in)refValue - The refValue (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getSymbol(java.lang.String value)
throws java.io.IOException,
AutomationException
getSymbol in interface IUniqueValueRenderervalue - The value (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbol(java.lang.String value,
ISymbol symbol)
throws java.io.IOException,
AutomationException
setSymbol in interface IUniqueValueRenderervalue - The value (in)symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getLabel(java.lang.String value)
throws java.io.IOException,
AutomationException
getLabel in interface IUniqueValueRenderervalue - The value (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabel(java.lang.String value,
java.lang.String label)
throws java.io.IOException,
AutomationException
setLabel in interface IUniqueValueRenderervalue - The value (in)label - The label (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDescription(java.lang.String value)
throws java.io.IOException,
AutomationException
getDescription in interface IUniqueValueRenderervalue - The value (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDescription(java.lang.String value,
java.lang.String text)
throws java.io.IOException,
AutomationException
setDescription in interface IUniqueValueRenderervalue - The value (in)text - The text (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getHeading(java.lang.String value)
throws java.io.IOException,
AutomationException
getHeading in interface IUniqueValueRenderervalue - The value (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHeading(java.lang.String value,
java.lang.String heading)
throws java.io.IOException,
AutomationException
setHeading in interface IUniqueValueRenderervalue - The value (in)heading - The heading (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addValue(java.lang.String value,
java.lang.String heading,
ISymbol symbol)
throws java.io.IOException,
AutomationException
addValue in interface IUniqueValueRenderervalue - The value (in)heading - The heading (in)symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeValue(java.lang.String value)
throws java.io.IOException,
AutomationException
removeValue in interface IUniqueValueRenderervalue - The value (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAllValues()
throws java.io.IOException,
AutomationException
removeAllValues in interface IUniqueValueRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getColorScheme()
throws java.io.IOException,
AutomationException
getColorScheme in interface IUniqueValueRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColorScheme(java.lang.String name)
throws java.io.IOException,
AutomationException
setColorScheme in interface IUniqueValueRenderername - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getLookupStyleset()
throws java.io.IOException,
AutomationException
getLookupStyleset in interface IUniqueValueRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLookupStyleset(java.lang.String name)
throws java.io.IOException,
AutomationException
setLookupStyleset in interface IUniqueValueRenderername - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColorRamp getColorRamp()
throws java.io.IOException,
AutomationException
getColorRamp in interface IUniqueValueRenderer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColorRampByRef(IColorRamp ppColorRamp)
throws java.io.IOException,
AutomationException
setColorRampByRef in interface IUniqueValueRenderer2ppColorRamp - A reference to a com.esri.arcgis.display.IColorRamp (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReverseUniqueValuesSorting()
throws java.io.IOException,
AutomationException
isReverseUniqueValuesSorting in interface IUniqueValueRenderer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReverseUniqueValuesSorting(boolean ascending)
throws java.io.IOException,
AutomationException
setReverseUniqueValuesSorting in interface IUniqueValueRenderer2ascending - The ascending (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFlipSymbols()
throws java.io.IOException,
AutomationException
isFlipSymbols in interface IUniqueValueRenderer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFlipSymbols(boolean ascending)
throws java.io.IOException,
AutomationException
setFlipSymbols in interface IUniqueValueRenderer2ascending - The ascending (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canRender(IFeatureClass featClass,
IDisplay display)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void prepareFilter(IFeatureClass fc,
IQueryFilter queryFilter)
throws java.io.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)
java.io.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 java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getSymbolByFeature(IFeature feature)
throws java.io.IOException,
AutomationException
getSymbolByFeature in interface IFeatureRendererfeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRenderPhase(int drawPhase)
throws java.io.IOException,
AutomationException
isRenderPhase in interface IFeatureRendererdrawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExclusionSetByRef(IFeatureIDSet rhs1)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void update(IFeatureLayer pFeatureLayer)
throws java.io.IOException,
AutomationException
update in interface IFeatureRendererUpdatepFeatureLayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentDrawLevel(int rhs1)
throws java.io.IOException,
AutomationException
setCurrentDrawLevel in interface ILevelRendererrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getLevelArray()
throws java.io.IOException,
AutomationException
getLevelArray in interface ILevelRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLegendGroupCount()
throws java.io.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 ILegendInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILegendGroup getLegendGroup(int index)
throws java.io.IOException,
AutomationException
getLegendGroup in interface ILegendInfoindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILegendItem getLegendItem()
throws java.io.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 ILegendInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSymbolsAreGraduated()
throws java.io.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 ILegendInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolsAreGraduated(boolean symbolsAreGraduated)
throws java.io.IOException,
AutomationException
setSymbolsAreGraduated in interface ILegendInfosymbolsAreGraduated - The symbolsAreGraduated (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getClassCount()
throws java.io.IOException,
AutomationException
getClassCount in interface IRendererClassesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String esri_getClass(int index)
throws java.io.IOException,
AutomationException
esri_getClass in interface IRendererClassesindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getWhereClause(int index,
ITable table)
throws java.io.IOException,
AutomationException
getWhereClause in interface IRendererClassesindex - The index (in)table - A reference to a com.esri.arcgis.geodatabase.ITable (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getRotationField()
throws java.io.IOException,
AutomationException
getRotationField in interface IRotationRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRotationField(java.lang.String fieldName)
throws java.io.IOException,
AutomationException
setRotationField in interface IRotationRendererfieldName - The fieldName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRotationType()
throws java.io.IOException,
AutomationException
getRotationType in interface IRotationRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRotationType(int type)
throws java.io.IOException,
AutomationException
setRotationType in interface IRotationRenderertype - A com.esri.arcgis.carto.esriSymbolRotationType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSymbolRotation3DFlags()
throws java.io.IOException,
AutomationException
getSymbolRotation3DFlags in interface IRotationRenderer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolRotation3DFlags(int pFlags)
throws java.io.IOException,
AutomationException
setSymbolRotation3DFlags in interface IRotationRenderer2pFlags - The pFlags (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSymbolRotation3DFlags2(int[] pFlagX,
int[] pFlagY,
int[] pFlagZ)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolRotation3DFlags2(int flagX,
int flagY,
int flagZ)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSymbolRotation3DRotationTypeZ()
throws java.io.IOException,
AutomationException
getSymbolRotation3DRotationTypeZ in interface IRotationRenderer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolRotation3DRotationTypeZ(int pType)
throws java.io.IOException,
AutomationException
setSymbolRotation3DRotationTypeZ in interface IRotationRenderer2pType - A com.esri.arcgis.carto.esriSymbolRotationType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSymbolRotation3DExpressions(java.lang.String[] pExpressionX,
java.lang.String[] pExpressionY,
java.lang.String[] pExpressionZ)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolRotation3DExpressions(java.lang.String expressionX,
java.lang.String expressionY,
java.lang.String expressionZ)
throws java.io.IOException,
AutomationException
setSymbolRotation3DExpressions in interface IRotationRenderer2expressionX - The expressionX (in)expressionY - The expressionY (in)expressionZ - The expressionZ (in)
java.io.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 java.io.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)
java.io.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 java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSizeRendererFlags()
throws java.io.IOException,
AutomationException
getSizeRendererFlags in interface ISizeRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSizeRendererFlags(int pFlags)
throws java.io.IOException,
AutomationException
setSizeRendererFlags in interface ISizeRendererpFlags - The pFlags (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getSizeRendererExpression()
throws java.io.IOException,
AutomationException
getSizeRendererExpression in interface ISizeRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSizeRendererExpression(java.lang.String pExpression)
throws java.io.IOException,
AutomationException
setSizeRendererExpression in interface ISizeRendererpExpression - The pExpression (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeRendererRandomRange(double[] pMinSize,
double[] pMaxSize)
throws java.io.IOException,
AutomationException
getSizeRendererRandomRange in interface ISizeRendererpMinSize - The pMinSize (out: use single element array)pMaxSize - The pMaxSize (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSizeRendererRandomRange(double minSize,
double maxSize)
throws java.io.IOException,
AutomationException
setSizeRendererRandomRange in interface ISizeRendererminSize - The minSize (in)maxSize - The maxSize (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getTransparencyField()
throws java.io.IOException,
AutomationException
getTransparencyField in interface ITransparencyRendererjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTransparencyField(java.lang.String fieldName)
throws java.io.IOException,
AutomationException
setTransparencyField in interface ITransparencyRendererfieldName - The fieldName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUsesFilter()
throws java.io.IOException,
AutomationException
isUsesFilter in interface IDisplayAdminjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol lookupSymbol(boolean firstPass,
IFeature feature)
throws java.io.IOException,
AutomationException
lookupSymbol in interface ILookupSymbolfirstPass - The firstPass (in)feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetLookupSymbol(ISymbol symbol)
throws java.io.IOException,
AutomationException
resetLookupSymbol in interface ILookupSymbolsymbol - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void serialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getMinNamespaceSupported()
throws java.io.IOException,
AutomationException
getMinNamespaceSupported in interface IXMLVersionSupportjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExportInfoByRef(IFeatureExportInfoGenerator rhs1)
throws java.io.IOException,
AutomationException
setExportInfoByRef in interface IExportSupportrhs1 - A reference to a com.esri.arcgis.carto.IFeatureExportInfoGenerator (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int lookupLegendClass(IFeature feature,
int[] legendGroupIdx)
throws java.io.IOException,
AutomationException
lookupLegendClass in interface ILookupLegendClassfeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)legendGroupIdx - The legendGroupIdx (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||