|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.SimpleRenderer
public class SimpleRenderer
A simple renderer where the same symbol is drawn for each feature.
Constructor Summary | |
---|---|
SimpleRenderer()
Constructs a SimpleRenderer using ArcGIS Engine. |
|
SimpleRenderer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SimpleRenderer theSimpleRenderer = (SimpleRenderer) obj; |
Method Summary | |
---|---|
boolean |
applies(Object pUnk)
Indicates if the receiver can apply the given object at any given time. |
Object |
apply(Object newObject)
Applies the given property to the receiver and returns the old object. |
boolean |
canApply(Object pUnk)
Indicates if the receiver can apply the given object at that particular moment. |
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 |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
Object |
getCurrent(Object pUnk)
The object currently being used. |
String |
getDescription()
Renderer description. |
String |
getLabel()
Renderer label. |
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 |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
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()
Symbol used to draw each feature. |
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. |
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 |
isUsesFilter()
Indicates if the current object draws using a filter. |
void |
load(IStream pstm)
load |
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 |
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 |
setCurrentDrawLevel(int rhs1)
The current draw level, (set to -1 to draw all levels). |
void |
setDescription(String text)
Renderer description. |
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 |
setLabel(String label)
Renderer label. |
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 |
setSymbolByRef(ISymbol symbol)
Symbol used to draw each feature. |
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 |
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 SimpleRenderer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SimpleRenderer(Object obj) throws IOException
SimpleRenderer theSimpleRenderer = (SimpleRenderer) obj;
obj
to SimpleRenderer
.
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 ISymbol getSymbol() throws IOException, AutomationException
This property provides access to the symbol used to draw all features in a layer.
The symbol type matches the geometry of the layer being rendered, so marker symbols are used to draw point layers, line symbols are used to draw line features, and fill symbols are used to draw polygon features.
Marker symbols can be rotated on a feature by feature basis via IRotationRenderer. Fill symbols can be made partially transparent, again on a feature by feature basis, via ITransparencyRenderer. The amount of rotation or transparency is specified by attribute values associated with each feature.
getSymbol
in interface ISimpleRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolByRef(ISymbol symbol) throws IOException, AutomationException
setSymbolByRef
in interface ISimpleRenderer
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() throws IOException, AutomationException
This property describes the meaning of the symbol. For example, a black, circular marker symbol might represents "Cities".
getLabel
in interface ISimpleRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(String label) throws IOException, AutomationException
setLabel
in interface ISimpleRenderer
label
- The label (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
This property provides further explanatory text about the symbolization.
getDescription
in interface ISimpleRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String text) throws IOException, AutomationException
setDescription
in interface ISimpleRenderer
text
- The text (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 boolean applies(Object pUnk) throws IOException, AutomationException
Applies indicates whether the specified object can be applied to the current object. For instance, we might want to ask our CircleElement whether a Color object applies to it. If it does, then we can use the Apply method to update our CircleElement with the new Color object.
CanApply differs from Applies in that it is a check for the editability of the object at any given time. Applies indicates whether an object can be applied at all, while CanApply indicates whether an object can be applied at that particular moment.
applies
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canApply(Object pUnk) throws IOException, AutomationException
CanApply indicates whether the specified object can be applied to the current object. For instance, we might want to ask our CircleElement whether a Color object applies to it. If it does, then we can use the Apply method to update our CircleElement with the new Color object.
CanApply differs from Applies in that it is a check for the editability of the object at any given time. Applies indicates whether an object can be applied at all, while CanApply indicates whether an object can be applied at that particular moment.
canApply
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getCurrent(Object pUnk) throws IOException, AutomationException
getCurrent
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object apply(Object newObject) throws IOException, AutomationException
Apply will apply the specified object to the current object. For instance, I might apply a Color object to my RectangleElement. When I execute Apply, the object I replace (the old object) is returned.
Use the Applies and CanApply methods to determine if an Apply can be used on an object.
apply
in interface IPropertySupport
newObject
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLegendGroupCount() throws IOException, AutomationException
The number of legend groups is determined by the implementation of the renderer, consequently this property is read only. For example, SimpleRenderer has one group, while a BiUniqueValueRenderer has any number of groups.
getLegendGroupCount
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendGroup getLegendGroup(int index) throws IOException, AutomationException
getLegendGroup
in interface ILegendInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendItem getLegendItem() throws IOException, AutomationException
Layer or renderer legend information is further formatted for display in ArcMap legends. A renderer can override this formatting by returning a LegendItem for this property. ESRI renderers typically do not return anything for this property. With this configuration, legend formatting becomes a user or developer choice on the legend object.
getLegendItem
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSymbolsAreGraduated() throws IOException, AutomationException
Indicates whether the symbols used for a layer or renderer's legend vary by size.
For example the proportional symbol renderer returns True for this property.
You can use this property to distinguish between a layer symbolized with graduated color or graduated symbol type layer symbology. Both of these symbolizations use a ClassBreaksRenderer, but only a graduated symbol symbolization will return True for this property.
isSymbolsAreGraduated
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolsAreGraduated(boolean symbolsAreGraduated) throws IOException, AutomationException
setSymbolsAreGraduated
in interface ILegendInfo
symbolsAreGraduated
- The symbolsAreGraduated (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String 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 getTransparencyField() throws IOException, AutomationException
getTransparencyField
in interface ITransparencyRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransparencyField(String fieldName) throws IOException, AutomationException
setTransparencyField
in interface ITransparencyRenderer
fieldName
- 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 IDisplayAdmin
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 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 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 |