com.esri.arcgis.carto
Class ISelectionProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.ISelectionProxy
All Implemented Interfaces:
ISelection, java.io.Externalizable, java.io.Serializable

public class ISelectionProxy
extends com.esri.arcgis.interop.Dispatch
implements ISelection, java.io.Serializable

Internal use class Proxy for COM Interface 'ISelection'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control a collection of selectable objects.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.carto.ISelection
IID, IIDb1a1ca6d_a96c_11d1_8745_0000f8751720
 
Constructor Summary
  ISelectionProxy()
          For internal use only
  ISelectionProxy(java.lang.Object obj)
           
protected ISelectionProxy(java.lang.Object obj, java.lang.String iid)
           
  ISelectionProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ISelectionProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 boolean canClear()
          Indicates if the selection can be cleared.
 boolean canCopy()
          Indicates if the selection can be copied.
 boolean canCut()
          Indicates if the selection can be cut.
 boolean canPaste()
          Indicates if paste is supported.
 boolean canSelectAll()
          Indicates if there's something to select.
 void clear()
          Clears all items in the selection.
 void copy()
          Copy the selected items to the clipboard.
 void cut()
          Cut the selected items to the clipboard.
 void draw(IDisplay display, ITrackCancel cancelTracker)
          Draw the selected items.
 void paste()
          Paste clipboard contents.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void selectAll()
          Selects all items.
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ISelectionProxy

public ISelectionProxy(java.lang.String CLSID,
                       java.lang.String host,
                       com.esri.arcgis.interop.AuthInfo authInfo)
                throws java.net.UnknownHostException,
                       java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

ISelectionProxy

public ISelectionProxy()
For internal use only


ISelectionProxy

public ISelectionProxy(java.lang.Object obj)
                throws java.io.IOException
Throws:
java.io.IOException

ISelectionProxy

protected ISelectionProxy(java.lang.Object obj,
                          java.lang.String iid)
                   throws java.io.IOException
Throws:
java.io.IOException

ISelectionProxy

protected ISelectionProxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.io.IOException
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
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

canCut

public boolean canCut()
               throws java.io.IOException,
                      AutomationException
Indicates if the selection can be cut.

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

canCopy

public boolean canCopy()
                throws java.io.IOException,
                       AutomationException
Indicates if the selection can be copied.

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

canPaste

public boolean canPaste()
                 throws java.io.IOException,
                        AutomationException
Indicates if paste is supported.

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

canClear

public boolean canClear()
                 throws java.io.IOException,
                        AutomationException
Indicates if the selection can be cleared.

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

canSelectAll

public boolean canSelectAll()
                     throws java.io.IOException,
                            AutomationException
Indicates if there's something to select.

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

cut

public void cut()
         throws java.io.IOException,
                AutomationException
Cut the selected items to the clipboard.

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

copy

public void copy()
          throws java.io.IOException,
                 AutomationException
Copy the selected items to the clipboard.

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

paste

public void paste()
           throws java.io.IOException,
                  AutomationException
Paste clipboard contents.

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

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Clears all items in the selection.

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

selectAll

public void selectAll()
               throws java.io.IOException,
                      AutomationException
Selects all items.

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

draw

public void draw(IDisplay display,
                 ITrackCancel cancelTracker)
          throws java.io.IOException,
                 AutomationException
Draw the selected items.

Specified by:
draw in interface ISelection
Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.