|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGraphicsContainer
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
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 |
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 |
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. |
Method Detail |
---|
IElement next() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void reset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
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.void addElements(IElementCollection elements, int zorder) throws IOException, AutomationException
elements
- 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.void deleteElement(IElement element) throws IOException, AutomationException
element
- A reference to a com.esri.arcgis.carto.IElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteAllElements() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void moveElementToGroup(IElement element, IGroupElement group) throws IOException, AutomationException
element
- 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.void moveElementFromGroup(IGroupElement group, IElement element, int zorder) throws IOException, AutomationException
group
- 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.IEnumElement locateElements(IPoint point, double tolerance) throws IOException, AutomationException
point
- 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.IEnumElement locateElementsByEnvelope(IEnvelope envelope) throws IOException, AutomationException
envelope
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFrameElement findFrame(Object frameObject) throws IOException, AutomationException
frameObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void updateElement(IElement element) throws IOException, AutomationException
element
- A reference to a com.esri.arcgis.carto.IElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getElementOrder(IEnumElement elements) throws IOException, AutomationException
elements
- A reference to a com.esri.arcgis.carto.IEnumElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putElementOrder(Object order) throws IOException, AutomationException
order
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void bringToFront(IEnumElement elements) throws IOException, AutomationException
elements
- A reference to a com.esri.arcgis.carto.IEnumElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void sendToBack(IEnumElement elements) throws IOException, AutomationException
elements
- A reference to a com.esri.arcgis.carto.IEnumElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void sendBackward(IEnumElement elements) throws IOException, AutomationException
elements
- A reference to a com.esri.arcgis.carto.IEnumElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void bringForward(IEnumElement elements) throws IOException, AutomationException
elements
- 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 |