|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.carto.IGraphicsContainerProxy
public class IGraphicsContainerProxy
Provides access to members that control the Graphics Container.
Objects which manage a collection of graphic elements implement this interface. For example, the PageLayout, Map, and FDOGraphicsLayer object all implement this interface to provide access to the graphic elements they manage.
The PageLayout object contains a collection of Element objects including, MapFrames, MapSurroundFrames, and GraphicElements such as the PictureElement, MarkerElement and LineElement. The members of this interface provide access to the Elements.
When using this interface to add elements to layer types that operate in a corrdinate system, such as FDOGraphicsLayer and CompositeGraphicsLayer, the elements must implement IGraphicElement.
IGraphicsContainerSelect,
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 | |
|---|---|
|
IGraphicsContainerProxy()
|
|
IGraphicsContainerProxy(Object obj)
|
protected |
IGraphicsContainerProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addElement(IElement element,
int zorder)
Add a new graphic element to the layer. |
void |
addElements(IElementCollection elements,
int zorder)
Add new graphic elements to the layer. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
bringForward(IEnumElement elements)
Move the specified elements one step closer to the top of the stack of elements. |
void |
bringToFront(IEnumElement elements)
Make the specified elements draw in front of all other elements. |
void |
deleteAllElements()
Delete all the elements. |
void |
deleteElement(IElement element)
Delete the given element. |
IFrameElement |
findFrame(Object frameObject)
Find the frame that contains the specified object. |
Object |
getElementOrder(IEnumElement elements)
Private order object. |
IEnumElement |
locateElements(IPoint point,
double tolerance)
Returns the elements at the given coordinate. |
IEnumElement |
locateElementsByEnvelope(IEnvelope envelope)
Returns the elements inside the given envelope. |
void |
moveElementFromGroup(IGroupElement group,
IElement element,
int zorder)
Move the element from the group to the container. |
void |
moveElementToGroup(IElement element,
IGroupElement group)
Move the element from the container to the group. |
IElement |
next()
Returns the next graphic in the container. |
void |
putElementOrder(Object order)
Private order object. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
reset()
Reset internal cursor so that Next returns the first element. |
void |
sendBackward(IEnumElement elements)
Move the specified elements one step closer to the bottom of the stack of elements. |
void |
sendToBack(IEnumElement elements)
Make the specified elements draw behind all other elements. |
void |
updateElement(IElement element)
The graphic element's properties have changed. |
| 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 IGraphicsContainerProxy()
public IGraphicsContainerProxy(Object obj)
throws IOException
IOException
protected IGraphicsContainerProxy(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.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public IElement next()
throws IOException,
AutomationException
next in interface IGraphicsContainerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reset()
throws IOException,
AutomationException
reset in interface IGraphicsContainerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addElement(IElement element,
int zorder)
throws IOException,
AutomationException
This method adds the input element the graphics container referenced. The parameter zorder is currently not utilized by all of the IGraphicsContainer implementations and is typically set to 0 when calling this method.
addElement in interface IGraphicsContainerelement - A reference to a com.esri.arcgis.carto.IElement (in)zorder - The zorder (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addElements(IElementCollection elements,
int zorder)
throws IOException,
AutomationException
addElements in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IElementCollection (in)zorder - The zorder (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteElement(IElement element)
throws IOException,
AutomationException
deleteElement in interface IGraphicsContainerelement - A reference to a com.esri.arcgis.carto.IElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteAllElements()
throws IOException,
AutomationException
deleteAllElements in interface IGraphicsContainerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveElementToGroup(IElement element,
IGroupElement group)
throws IOException,
AutomationException
moveElementToGroup in interface IGraphicsContainerelement - A reference to a com.esri.arcgis.carto.IElement (in)group - A reference to a com.esri.arcgis.carto.IGroupElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveElementFromGroup(IGroupElement group,
IElement element,
int zorder)
throws IOException,
AutomationException
moveElementFromGroup in interface IGraphicsContainergroup - A reference to a com.esri.arcgis.carto.IGroupElement (in)element - A reference to a com.esri.arcgis.carto.IElement (in)zorder - The zorder (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumElement locateElements(IPoint point,
double tolerance)
throws IOException,
AutomationException
locateElements in interface IGraphicsContainerpoint - A reference to a com.esri.arcgis.geometry.IPoint (in)tolerance - The tolerance (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumElement locateElementsByEnvelope(IEnvelope envelope)
throws IOException,
AutomationException
locateElementsByEnvelope in interface IGraphicsContainerenvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFrameElement findFrame(Object frameObject)
throws IOException,
AutomationException
findFrame in interface IGraphicsContainerframeObject - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateElement(IElement element)
throws IOException,
AutomationException
updateElement in interface IGraphicsContainerelement - A reference to a com.esri.arcgis.carto.IElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getElementOrder(IEnumElement elements)
throws IOException,
AutomationException
getElementOrder in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void putElementOrder(Object order)
throws IOException,
AutomationException
putElementOrder in interface IGraphicsContainerorder - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void bringToFront(IEnumElement elements)
throws IOException,
AutomationException
bringToFront in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sendToBack(IEnumElement elements)
throws IOException,
AutomationException
sendToBack in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sendBackward(IEnumElement elements)
throws IOException,
AutomationException
sendBackward in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void bringForward(IEnumElement elements)
throws IOException,
AutomationException
bringForward in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
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 | ||||||||