|
|||||||||
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.IOverrideProxy
public class IOverrideProxy
Provides access to members that manage property overrides of a representation.
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.
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IOverrideProxy()
public IOverrideProxy(Object obj) throws IOException
IOException
protected IOverrideProxy(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 void removeOverride(IGraphicAttributes attrs, int idx) throws IOException, AutomationException
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.
removeOverride
in interface IOverride
attrs
- A reference to a com.esri.arcgis.display.IGraphicAttributes (in)idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int isOverridenWithField(IGraphicAttributes attrs, int idx) throws IOException, AutomationException
isOverridenWithField
in interface IOverride
attrs
- A reference to a com.esri.arcgis.display.IGraphicAttributes (in)idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeOverrides() throws IOException, AutomationException
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.
removeOverrides
in interface IOverride
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasAttributeOverride() throws IOException, AutomationException
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.
isHasAttributeOverride
in interface IOverride
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |