|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IFeatureClassDrawProxy
public class IFeatureClassDrawProxy
Provides access to members that set customized drawing properties.
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
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IFeatureClassDrawProxy()
|
|
IFeatureClassDrawProxy(Object obj)
|
protected |
IFeatureClassDrawProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
boolean |
doesCustomDrawing()
Indicates whether the FeatureClass does custom drawing. |
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. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IFeatureClassDrawProxy()
public IFeatureClassDrawProxy(Object obj) throws IOException
IOException
protected IFeatureClassDrawProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IFields getRequiredFieldsForDraw() throws IOException, AutomationException
getRequiredFieldsForDraw
in interface IFeatureClassDraw
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFields
,
com.esri.arcgis.editor.IShortTransactionObjectInspector
public boolean doesCustomDrawing() throws IOException, AutomationException
doesCustomDrawing
in interface IFeatureClassDraw
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public Object getCustomRenderer() throws IOException, AutomationException
getCustomRenderer
in interface IFeatureClassDraw
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public IUID getCustomRendererPropPageCLSID() throws IOException, AutomationException
getCustomRendererPropPageCLSID
in interface IFeatureClassDraw
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public boolean isExclusiveCustomRenderer() throws IOException, AutomationException
isExclusiveCustomRenderer
in interface IFeatureClassDraw
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public boolean hasCustomRenderer() throws IOException, AutomationException
hasCustomRenderer
in interface IFeatureClassDraw
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |