|
|||||||||
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
GxObject that represents the catalog's selection.
Constructor Summary | |
---|---|
GxSelection()
Constructs a GxSelection using ArcGIS Engine. |
|
GxSelection(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(Object initiator)
Unselects all objects. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static String |
getClsid()
getClsid. |
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. |
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 |
removeIGxSelectionEventsListener(IGxSelectionEvents theListener)
removeIGxSelectionEventsListener. |
void |
select(IGxObject object,
boolean appendToExistingSelection,
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,
Object pInitiator)
Clears the selection and sets a new location. |
void |
unselect(IGxObject object,
Object initiator)
Unselects an object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GxSelection() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GxSelection(Object obj) throws IOException
GxSelection theGxSelection = (GxSelection) obj;
obj
to GxSelection
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addIGxSelectionEventsListener(IGxSelectionEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.catalog.IGxSelectionEvents interface.
IOException
- If there are communications problems.public void removeIGxSelectionEventsListener(IGxSelectionEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.catalog.IGxSelectionEvents interface.
IOException
- If there are communications problems.public IGxObject getLocation() throws IOException, AutomationException
getLocation
in interface IGxSelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLocation(IGxObject location, Object pInitiator) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IGxSelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxObject getFirstObject() throws IOException, AutomationException
getFirstObject
in interface IGxSelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDelayEvents(boolean delayEvents) throws IOException, AutomationException
setDelayEvents
in interface IGxSelection
delayEvents
- The delayEvents (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDelayEvents() throws IOException, AutomationException
isDelayEvents
in interface IGxSelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void select(IGxObject object, boolean appendToExistingSelection, Object initiator) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unselect(IGxObject object, Object initiator) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSelected(IGxObject object) throws IOException, AutomationException
isSelected
in interface IGxSelection
object
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear(Object initiator) throws IOException, AutomationException
clear
in interface IGxSelection
initiator
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumGxObject getSelectedObjects() throws IOException, AutomationException
getSelectedObjects
in interface IGxSelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
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)
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 |