public interface IFeatureClassDraw
extends java.io.Serializable
The IFeatureClassDraw interface is an optional interface for feature class extensions, used to specify custom drawing behavior in ArcMap.
If using a custom renderer, the ExclusiveCustomRenderer property can be used to restrict the available renderers to the custom one for the feature class. If the custom renderer is configurable, a configuration property page can be specified with the CustomRendererPropPageCLSID property. If using a custom feature and that feature utilizes extra fields beyond the Shape for drawing, it is necessary to specify those fields in the RequiredFieldsForDraw property or they will not be returned in the FeatureLayer’s FeatureCursor.
Before a FeatureLayer draws features in a feature class, it will check the FeatureClassExtension for support of this interface. Custom drawing can be achieved through the use of a custom renderer or through the use of a custom feature that implements IFeatureDraw::Draw.
com.esri.arcgis.editor.IShortTransactionObjectInspector
Modifier and Type | Method and Description |
---|---|
boolean |
doesCustomDrawing()
Indicates whether the FeatureClass does custom drawing.
|
java.lang.Object |
getCustomRenderer()
The custom renderer for the FeatureClass.
|
IUID |
getCustomRendererPropPageCLSID()
The custom renderer's property page CLSID.
|
IFields |
getRequiredFieldsForDraw()
The required fields for drawing a Feature.
|
boolean |
hasCustomRenderer()
Indicates whether the feature class has a custom renderer.
|
boolean |
isExclusiveCustomRenderer()
Indicates whether the custom renderer is exclusive or not.
|
IFields getRequiredFieldsForDraw() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IFields
,
com.esri.arcgis.editor.IShortTransactionObjectInspector
boolean doesCustomDrawing() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
java.lang.Object getCustomRenderer() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
IUID getCustomRendererPropPageCLSID() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
boolean isExclusiveCustomRenderer() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
boolean hasCustomRenderer() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector