com.esri.arcgis.analyst3d
Class IGraphicsSelectionProxy

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

public class IGraphicsSelectionProxy
extends Dispatch
implements IGraphicsSelection, java.io.Serializable

Provides access to members that select 3D graphics.

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
  IGraphicsSelectionProxy()
          For internal use only
  IGraphicsSelectionProxy(java.lang.Object obj)
           
protected IGraphicsSelectionProxy(java.lang.Object obj, java.lang.String iid)
           
  IGraphicsSelectionProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IGraphicsSelectionProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 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 deleteAllSelectedElements()
          Deletes all selected elements.
 boolean elementSelected(IElement element)
          Indicates if the element selected.
 int getSelectedElementCount()
          The number of selected elements.
 IEnumElement getSelectedElements()
          The selected elements.
 IEnvelope getSelectedElementsExtent()
          The extent of selected elements.
 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 selectAllElements()
          Selects all elements.
 void selectElement(IElement pElement)
          Selects the specified element.
 void selectElements(IEnumElement pElements)
          Selects the specified elements.
 void switchSelection()
          Switches the selection between elements.
 void unselectAllElements()
          Unselects all elements.
 void unselectElement(IElement pElement)
          Unselects the specified element.
 void unselectElements(IEnumElement pElements)
          Unselects the specified elements.
 
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

IGraphicsSelectionProxy

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

IGraphicsSelectionProxy

public IGraphicsSelectionProxy()
For internal use only


IGraphicsSelectionProxy

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

IGraphicsSelectionProxy

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

IGraphicsSelectionProxy

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

selectElement

public void selectElement(IElement pElement)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IGraphicsSelection
Selects the specified element.

Supported Platforms

Windows, Solaris, Linux

Specified by:
selectElement in interface IGraphicsSelection
Parameters:
pElement - 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.

selectElements

public void selectElements(IEnumElement pElements)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IGraphicsSelection
Selects the specified elements.

Supported Platforms

Windows, Solaris, Linux

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

selectAllElements

public void selectAllElements()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IGraphicsSelection
Selects all elements.

Supported Platforms

Windows, Solaris, Linux

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

unselectElement

public void unselectElement(IElement pElement)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IGraphicsSelection
Unselects the specified element.

Supported Platforms

Windows, Solaris, Linux

Specified by:
unselectElement in interface IGraphicsSelection
Parameters:
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.

unselectElements

public void unselectElements(IEnumElement pElements)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IGraphicsSelection
Unselects the specified elements.

Supported Platforms

Windows, Solaris, Linux

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

unselectAllElements

public void unselectAllElements()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IGraphicsSelection
Unselects all elements.

Supported Platforms

Windows, Solaris, Linux

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

deleteAllSelectedElements

public void deleteAllSelectedElements()
                               throws java.io.IOException,
                                      AutomationException
Description copied from interface: IGraphicsSelection
Deletes all selected elements.

Supported Platforms

Windows, Solaris, Linux

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

switchSelection

public void switchSelection()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IGraphicsSelection
Switches the selection between elements.

Supported Platforms

Windows, Solaris, Linux

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

getSelectedElements

public IEnumElement getSelectedElements()
                                 throws java.io.IOException,
                                        AutomationException
Description copied from interface: IGraphicsSelection
The selected elements.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSelectedElements in interface IGraphicsSelection
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.

getSelectedElementCount

public int getSelectedElementCount()
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: IGraphicsSelection
The number of selected elements.

Supported Platforms

Windows, Solaris, Linux

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

getSelectedElementsExtent

public IEnvelope getSelectedElementsExtent()
                                    throws java.io.IOException,
                                           AutomationException
Description copied from interface: IGraphicsSelection
The extent of selected elements.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSelectedElementsExtent in interface IGraphicsSelection
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

elementSelected

public boolean elementSelected(IElement element)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IGraphicsSelection
Indicates if the element selected.

Supported Platforms

Windows, Solaris, Linux

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