com.esri.arcgis.geodatabase
Class IFeatureClassDrawProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IFeatureClassDrawProxy
All Implemented Interfaces:
IFeatureClassDraw, Externalizable, Serializable

public class IFeatureClassDrawProxy
extends com.esri.arcgis.interop.Dispatch
implements IFeatureClassDraw, Serializable

Provides access to members that set customized drawing properties.

Description

The IFeatureClassDraw interface is an optional interface for feature class extensions, used to specify custom drawing behavior in ArcMap.

Remarks

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.

When To Use

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector, Serialized Form

Field 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

noncastable

public boolean noncastable
Constructor Detail

IFeatureClassDrawProxy

public IFeatureClassDrawProxy()

IFeatureClassDrawProxy

public IFeatureClassDrawProxy(Object obj)
                       throws IOException
Throws:
IOException

IFeatureClassDrawProxy

protected IFeatureClassDrawProxy(Object obj,
                                 String iid)
                          throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getRequiredFieldsForDraw

public IFields getRequiredFieldsForDraw()
                                 throws IOException,
                                        AutomationException
The required fields for drawing a Feature.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRequiredFieldsForDraw in interface IFeatureClassDraw
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IFields, com.esri.arcgis.editor.IShortTransactionObjectInspector

doesCustomDrawing

public boolean doesCustomDrawing()
                          throws IOException,
                                 AutomationException
Indicates whether the FeatureClass does custom drawing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
doesCustomDrawing in interface IFeatureClassDraw
Returns:
The doesDrawing
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

getCustomRenderer

public Object getCustomRenderer()
                         throws IOException,
                                AutomationException
The custom renderer for the FeatureClass.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCustomRenderer in interface IFeatureClassDraw
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

getCustomRendererPropPageCLSID

public IUID getCustomRendererPropPageCLSID()
                                    throws IOException,
                                           AutomationException
The custom renderer's property page CLSID.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCustomRendererPropPageCLSID in interface IFeatureClassDraw
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

isExclusiveCustomRenderer

public boolean isExclusiveCustomRenderer()
                                  throws IOException,
                                         AutomationException
Indicates whether the custom renderer is exclusive or not.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isExclusiveCustomRenderer in interface IFeatureClassDraw
Returns:
The isExclusive
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

hasCustomRenderer

public boolean hasCustomRenderer()
                          throws IOException,
                                 AutomationException
Indicates whether the feature class has a custom renderer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
hasCustomRenderer in interface IFeatureClassDraw
Returns:
The hasRenderer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector