com.esri.arcgis.analyst3d
Class IGraphicsContainer3DProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.analyst3d.IGraphicsContainer3DProxy
All Implemented Interfaces:
java.io.Externalizable, IGraphicsContainer3D, java.io.Serializable

public class IGraphicsContainer3DProxy
extends Dispatch
implements IGraphicsContainer3D, java.io.Serializable

Provides access to members that manipulate the graphics container.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IGraphicsContainer3DProxy()
          For internal use only
  IGraphicsContainer3DProxy(java.lang.Object obj)
           
protected IGraphicsContainer3DProxy(java.lang.Object obj, java.lang.String iid)
           
  IGraphicsContainer3DProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IGraphicsContainer3DProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addElement(IElement element)
          Adds a new graphic element to the container.
 void addElements(IElementCollection elements)
          Adds a collection of new graphic elements to the container.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 void beginBatchUpdate()
          Initiates a batch update of the container.
 void deleteAllElements()
          Deletes all the elements.
 void deleteElement(IElement element)
          Deletes the given element.
 void endBatchUpdate()
          Terminates a batch update of the container.
 IElement getElement(int index)
          The element in the container defined by the given index.
 int getElementCount()
          The number of elements in the container.
 IEnumElement locateElements(IPoint pPoint, double tolerance)
          Returns the elements that intersect with the given ray.
 IEnumElement locateElementsByEnvelope(IEnvelope pEnvelope)
          Returns the elements that intersect with the given envelope.
 void moveElementFromGroup(IGroupElement pGroup, IElement pElement)
          Move the specified element from the group to the container.
 void moveElementToGroup(IElement pElement, IGroupElement pGroup)
          Move the specified element from the container to the group.
 IElement next()
          The next graphic in the container.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void reset()
          Resets the internal cursor so that 'Next' returns the first element.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IGraphicsContainer3DProxy

public IGraphicsContainer3DProxy(java.lang.String CLSID,
                                 java.lang.String host,
                                 AuthInfo authInfo)
                          throws java.net.UnknownHostException,
                                 java.io.IOException

IGraphicsContainer3DProxy

public IGraphicsContainer3DProxy()
For internal use only


IGraphicsContainer3DProxy

public IGraphicsContainer3DProxy(java.lang.Object obj)
                          throws java.io.IOException

IGraphicsContainer3DProxy

protected IGraphicsContainer3DProxy(java.lang.Object obj,
                                    java.lang.String iid)
                             throws java.io.IOException

IGraphicsContainer3DProxy

protected IGraphicsContainer3DProxy(java.lang.String CLSID,
                                    java.lang.String iid,
                                    java.lang.String host,
                                    AuthInfo authInfo)
                             throws java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object to be informed of the events
theSource - the proxy class that represents the COM class that is the source of the events
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object that no longer wishes to be informed of the events
Throws:
java.io.IOException

next

public IElement next()
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IGraphicsContainer3D
The next graphic in the container.

Supported Platforms

Windows, Solaris, Linux

Specified by:
next in interface IGraphicsContainer3D
Returns:
A reference to a com.esri.arcgis.carto.IElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Description copied from interface: IGraphicsContainer3D
Resets the internal cursor so that 'Next' returns the first element.

Supported Platforms

Windows, Solaris, Linux

Specified by:
reset in interface IGraphicsContainer3D
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getElementCount

public int getElementCount()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IGraphicsContainer3D
The number of elements in the container.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getElementCount in interface IGraphicsContainer3D
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

public IElement getElement(int index)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IGraphicsContainer3D
The element in the container defined by the given index.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getElement in interface IGraphicsContainer3D
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.IElement
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

beginBatchUpdate

public void beginBatchUpdate()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IGraphicsContainer3D
Initiates a batch update of the container.

Supported Platforms

Windows, Solaris, Linux

Specified by:
beginBatchUpdate in interface IGraphicsContainer3D
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

endBatchUpdate

public void endBatchUpdate()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IGraphicsContainer3D
Terminates a batch update of the container.

Supported Platforms

Windows, Solaris, Linux

Specified by:
endBatchUpdate in interface IGraphicsContainer3D
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addElement

public void addElement(IElement element)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IGraphicsContainer3D
Adds a new graphic element to the container.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addElement in interface IGraphicsContainer3D
Parameters:
element - A reference to a com.esri.arcgis.carto.IElement (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addElements

public void addElements(IElementCollection elements)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IGraphicsContainer3D
Adds a collection of new graphic elements to the container.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addElements in interface IGraphicsContainer3D
Parameters:
elements - A reference to a com.esri.arcgis.carto.IElementCollection (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

deleteElement

public void deleteElement(IElement element)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IGraphicsContainer3D
Deletes the given element.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deleteElement in interface IGraphicsContainer3D
Parameters:
element - A reference to a com.esri.arcgis.carto.IElement (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

deleteAllElements

public void deleteAllElements()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IGraphicsContainer3D
Deletes all the elements.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deleteAllElements in interface IGraphicsContainer3D
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

moveElementToGroup

public void moveElementToGroup(IElement pElement,
                               IGroupElement pGroup)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IGraphicsContainer3D
Move the specified element from the container to the group.

Supported Platforms

Windows, Solaris, Linux

Specified by:
moveElementToGroup in interface IGraphicsContainer3D
Parameters:
pElement - A reference to a com.esri.arcgis.carto.IElement (in)
pGroup - A reference to a com.esri.arcgis.carto.IGroupElement (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveElementFromGroup

public void moveElementFromGroup(IGroupElement pGroup,
                                 IElement pElement)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IGraphicsContainer3D
Move the specified element from the group to the container.

Supported Platforms

Windows, Solaris, Linux

Specified by:
moveElementFromGroup in interface IGraphicsContainer3D
Parameters:
pGroup - A reference to a com.esri.arcgis.carto.IGroupElement (in)
pElement - A reference to a com.esri.arcgis.carto.IElement (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

locateElements

public IEnumElement locateElements(IPoint pPoint,
                                   double tolerance)
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: IGraphicsContainer3D
Returns the elements that intersect with the given ray.

Supported Platforms

Windows, Solaris, Linux

Specified by:
locateElements in interface IGraphicsContainer3D
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
tolerance - The tolerance (in)
Returns:
A reference to a com.esri.arcgis.carto.IEnumElement
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

locateElementsByEnvelope

public IEnumElement locateElementsByEnvelope(IEnvelope pEnvelope)
                                      throws java.io.IOException,
                                             AutomationException
Description copied from interface: IGraphicsContainer3D
Returns the elements that intersect with the given envelope.

Supported Platforms

Windows, Solaris, Linux

Specified by:
locateElementsByEnvelope in interface IGraphicsContainer3D
Parameters:
pEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Returns:
A reference to a com.esri.arcgis.carto.IEnumElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.