|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 problems
public 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 problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic 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 IGxSelectionIOException - 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 IGxSelectionlocation - 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 IGxSelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGxObject getFirstObject()
throws IOException,
AutomationException
getFirstObject in interface IGxSelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDelayEvents(boolean delayEvents)
throws IOException,
AutomationException
setDelayEvents in interface IGxSelectiondelayEvents - 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 IGxSelectionIOException - 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 IGxSelectionobject - 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 IGxSelectionobject - 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 IGxSelectionobject - 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 IGxSelectioninitiator - 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 IGxSelectionIOException - 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 IConnectionPointContainerppEnum - 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 IConnectionPointContainerriid - 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 | ||||||||