com.esri.arcgis.catalog
Interface IGxSelection

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GxSelection, IGxSelectionProxy

public interface IGxSelection
extends java.io.Serializable

COM Interface 'IGxSelection'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriCatalog.olb'

Description: 'Provides access to members that manages the selection within the catalog.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDbdbbb3ed_d0b2_11d1_aed9_080009ec734b
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void clear(java.lang.Object initiator)
          Unselects all objects.
 int getCount()
          The number of selected objects.
 IGxObject getFirstObject()
          The first object in the selection.
 IGxObject getLocation()
          The location of the selection.
 IEnumGxObject getSelectedObjects()
          The objects in the selection.
 boolean isDelayEvents()
          Delays or resumes selection event firing.
 boolean isSelected(IGxObject object)
          Checks if an object is selected.
 void select(IGxObject object, boolean appendToExistingSelection, java.lang.Object initiator)
          Selects an object, optionally appending it to the existing selection.
 void setDelayEvents(boolean delayEvents)
          Delays or resumes selection event firing.
 void setLocation(IGxObject location, java.lang.Object pInitiator)
          Clears the selection and sets a new location.
 void unselect(IGxObject object, java.lang.Object initiator)
          Unselects an object.
 

Field Detail

IIDbdbbb3ed_d0b2_11d1_aed9_080009ec734b

static final int IIDbdbbb3ed_d0b2_11d1_aed9_080009ec734b
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getLocation

IGxObject getLocation()
                      throws java.io.IOException,
                             AutomationException
The location of the selection.

Returns:
A reference to a com.esri.arcgis.catalog.IGxObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLocation

void setLocation(IGxObject location,
                 java.lang.Object pInitiator)
                 throws java.io.IOException,
                        AutomationException
Clears the selection and sets a new location.

Parameters:
location - A reference to a com.esri.arcgis.catalog.IGxObject (in)
pInitiator - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
The number of selected objects.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFirstObject

IGxObject getFirstObject()
                         throws java.io.IOException,
                                AutomationException
The first object in the selection.

Returns:
A reference to a com.esri.arcgis.catalog.IGxObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDelayEvents

void setDelayEvents(boolean delayEvents)
                    throws java.io.IOException,
                           AutomationException
Delays or resumes selection event firing. If the selection changed while events were being delayed, a single event is fired when events are resumed.

Parameters:
delayEvents - The delayEvents (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDelayEvents

boolean isDelayEvents()
                      throws java.io.IOException,
                             AutomationException
Delays or resumes selection event firing. If the selection changed while events were being delayed, a single event is fired when events are resumed.

Returns:
The delayEvents
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

select

void select(IGxObject object,
            boolean appendToExistingSelection,
            java.lang.Object initiator)
            throws java.io.IOException,
                   AutomationException
Selects an object, optionally appending it to the existing selection.

Parameters:
object - A reference to a com.esri.arcgis.catalog.IGxObject (in)
appendToExistingSelection - The appendToExistingSelection (in)
initiator - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unselect

void unselect(IGxObject object,
              java.lang.Object initiator)
              throws java.io.IOException,
                     AutomationException
Unselects an object.

Parameters:
object - A reference to a com.esri.arcgis.catalog.IGxObject (in)
initiator - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSelected

boolean isSelected(IGxObject object)
                   throws java.io.IOException,
                          AutomationException
Checks if an object is selected.

Parameters:
object - A reference to a com.esri.arcgis.catalog.IGxObject (in)
Returns:
The isSelected
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

void clear(java.lang.Object initiator)
           throws java.io.IOException,
                  AutomationException
Unselects all objects.

Parameters:
initiator - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectedObjects

IEnumGxObject getSelectedObjects()
                                 throws java.io.IOException,
                                        AutomationException
The objects in the selection.

Returns:
A reference to a com.esri.arcgis.catalog.IEnumGxObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.