|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.catalog.GxSelection
public class GxSelection
COM Class 'GxSelection'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriCatalog.olb'
Description 'GxObject that represents the catalog's selection.' 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 |
---|
Fields inherited from interface com.esri.arcgis.catalog.IGxSelection |
---|
IID, IIDbdbbb3ed_d0b2_11d1_aed9_080009ec734b, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Constructor Summary | |
---|---|
GxSelection()
Constructs a GxSelection using ArcGIS Engine. |
|
GxSelection(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GxSelection theGxSelection = (GxSelection) obj; |
Method Summary | |
---|---|
void |
addIGxSelectionEventsListener(IGxSelectionEvents theListener)
addIGxSelectionEventsListener. |
void |
clear(java.lang.Object initiator)
Unselects all objects. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static java.lang.String |
getClsid()
getClsid. |
int |
getCount()
The number of selected objects. |
IGxObject |
getFirstObject()
The first object in the selection. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IGxObject |
getLocation()
The location of the selection. |
IEnumGxObject |
getSelectedObjects()
The objects in the selection. |
int |
hashCode()
the hashcode for this object |
boolean |
isDelayEvents()
Delays or resumes selection event firing. |
boolean |
isSelected(IGxObject object)
Checks if an object is selected. |
void |
release()
Release a GxSelection. |
void |
removeIGxSelectionEventsListener(IGxSelectionEvents theListener)
removeIGxSelectionEventsListener. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GxSelection() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic GxSelection(java.lang.Object obj) throws java.io.IOException
GxSelection theGxSelection = (GxSelection) obj;
obj
to GxSelection
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addIGxSelectionEventsListener(IGxSelectionEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.catalog.IGxSelectionEvents interface.
java.io.IOException
- If there are communications problems.public void removeIGxSelectionEventsListener(IGxSelectionEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.catalog.IGxSelectionEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IGxObject getLocation() throws java.io.IOException, AutomationException
getLocation
in interface IGxSelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLocation(IGxObject location, java.lang.Object pInitiator) throws java.io.IOException, AutomationException
setLocation
in interface IGxSelection
location
- A reference to a com.esri.arcgis.catalog.IGxObject (in)pInitiator
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IGxSelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxObject getFirstObject() throws java.io.IOException, AutomationException
getFirstObject
in interface IGxSelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDelayEvents(boolean delayEvents) throws java.io.IOException, AutomationException
setDelayEvents
in interface IGxSelection
delayEvents
- The delayEvents (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDelayEvents() throws java.io.IOException, AutomationException
isDelayEvents
in interface IGxSelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void select(IGxObject object, boolean appendToExistingSelection, java.lang.Object initiator) throws java.io.IOException, AutomationException
select
in interface IGxSelection
object
- A reference to a com.esri.arcgis.catalog.IGxObject (in)appendToExistingSelection
- The appendToExistingSelection (in)initiator
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unselect(IGxObject object, java.lang.Object initiator) throws java.io.IOException, AutomationException
unselect
in interface IGxSelection
object
- A reference to a com.esri.arcgis.catalog.IGxObject (in)initiator
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSelected(IGxObject object) throws java.io.IOException, AutomationException
isSelected
in interface IGxSelection
object
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear(java.lang.Object initiator) throws java.io.IOException, AutomationException
clear
in interface IGxSelection
initiator
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumGxObject getSelectedObjects() throws java.io.IOException, AutomationException
getSelectedObjects
in interface IGxSelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws java.io.IOException, AutomationException
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws java.io.IOException, AutomationException
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
java.io.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 |