com.esri.arcgis.geodatabase
Class IOverrideProxy

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

public class IOverrideProxy
extends com.esri.arcgis.interop.Dispatch
implements IOverride, Serializable

Provides access to members that manage property overrides of a representation.

Remarks

IOverride interface can be used to access override information for a feature representation. While the feature representation can have both shape and attribute overrides, this interface is used to access attribute override information only.

Attribute overrides are overrides made to graphical attributes for LineStroke, GradientPattern, LinePattern, SolidColorPattern, BasicMarkerSymbol, all marker placements, all geometric effects and visibility property which can be retrieved using IRepresentationClass::GraphicAttributes property.

When an attribute override exists for a feature representation, HasAttributeOverride property returns True.

RemoveOverride method can be used to remove override present on a specific graphical attribute given its index.

To remove all overrides present use RemoveOverrides method. However, this method cannot be used to remove shape overrides. Use IRepresentation::RemoveShapeOverride method to remove shape overrides.

Product Availability

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

See Also:
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
  IOverrideProxy()
           
  IOverrideProxy(Object obj)
           
protected IOverrideProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean isHasAttributeOverride()
          Indicates if a graphical attribute is overriden.
 int isOverridenWithField(IGraphicAttributes attrs, int idx)
          Checks if the value of a graphical attribute comes from a feature field.
 void removeListener(String iidStr, Object theListener)
           
 void removeOverride(IGraphicAttributes attrs, int idx)
          Removes a given override from the blob.
 void removeOverrides()
          Removes all attributes overrides from the representation.
 
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

IOverrideProxy

public IOverrideProxy()

IOverrideProxy

public IOverrideProxy(Object obj)
               throws IOException
Throws:
IOException

IOverrideProxy

protected IOverrideProxy(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

removeOverride

public void removeOverride(IGraphicAttributes attrs,
                           int idx)
                    throws IOException,
                           AutomationException
Removes a given override from the blob.

Remarks

RemoveOverride method can be used to remove override present on a specific graphical attribute given its index. Shape overrides cannot be handled using this method. For removing shape override, use IRepresentation::RemoveShapeOverride method.

Product Availability

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

Specified by:
removeOverride in interface IOverride
Parameters:
attrs - A reference to a com.esri.arcgis.display.IGraphicAttributes (in)
idx - The idx (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOverridenWithField

public int isOverridenWithField(IGraphicAttributes attrs,
                                int idx)
                         throws IOException,
                                AutomationException
Checks if the value of a graphical attribute comes from a feature field.

Product Availability

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

Specified by:
isOverridenWithField in interface IOverride
Parameters:
attrs - A reference to a com.esri.arcgis.display.IGraphicAttributes (in)
idx - The idx (in)
Returns:
The fldIdx
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeOverrides

public void removeOverrides()
                     throws IOException,
                            AutomationException
Removes all attributes overrides from the representation.

Remarks

RemoveOverrides method can be used to remove all overrides (except shape overrides) present on a feature representation.

For removing shape override, use IRepresentation::RemoveShapeOverride method.

Product Availability

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

Specified by:
removeOverrides in interface IOverride
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasAttributeOverride

public boolean isHasAttributeOverride()
                               throws IOException,
                                      AutomationException
Indicates if a graphical attribute is overriden.

Remarks

HasAttributeOverride property will return True when a feature representation has attribute overrides. To get information on whether or not the representation has shape overrides, use IRepresentation::HasShapeOverride property.

Product Availability

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

Specified by:
isHasAttributeOverride in interface IOverride
Returns:
The hasAttributeOverride
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.