|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.SimpleElementSelection
public class SimpleElementSelection
Simple selection object. Implements drawing and selecting but not clipboard support.
| Constructor Summary | |
|---|---|
SimpleElementSelection()
Constructs a SimpleElementSelection using ArcGIS Engine. |
|
SimpleElementSelection(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SimpleElementSelection theSimpleElementSelection = (SimpleElementSelection) obj; |
|
| Method Summary | |
|---|---|
void |
addISelectionEventsListener(ISelectionEvents theListener)
addISelectionEventsListener. |
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 |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static String |
getClsid()
getClsid. |
IGraphicsContainer |
getGraphicsContainer()
Element's graphics container. |
int |
hashCode()
the hashcode for this object |
IElement |
next()
Returns the next element in the enumeration. |
void |
paste()
Paste clipboard contents. |
void |
removeISelectionEventsListener(ISelectionEvents theListener)
removeISelectionEventsListener. |
void |
reset()
Start the enumeration at the beginning. |
void |
selectAll()
Selects all items. |
void |
setGraphicsContainerByRef(IGraphicsContainer container)
Element's graphics container. |
| 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 SimpleElementSelection()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public SimpleElementSelection(Object obj)
throws IOException
SimpleElementSelection theSimpleElementSelection = (SimpleElementSelection) obj;
obj to SimpleElementSelection.
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 addISelectionEventsListener(ISelectionEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.carto.ISelectionEvents interface.
IOException - If there are communications problems.
public void removeISelectionEventsListener(ISelectionEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.carto.ISelectionEvents interface.
IOException - If there are communications problems.
public boolean canCut()
throws IOException,
AutomationException
canCut in interface ISelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canCopy()
throws IOException,
AutomationException
canCopy in interface ISelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canPaste()
throws IOException,
AutomationException
canPaste in interface ISelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canClear()
throws IOException,
AutomationException
canClear in interface ISelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canSelectAll()
throws IOException,
AutomationException
canSelectAll in interface ISelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void cut()
throws IOException,
AutomationException
cut in interface ISelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void copy()
throws IOException,
AutomationException
copy in interface ISelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void paste()
throws IOException,
AutomationException
paste in interface ISelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clear()
throws IOException,
AutomationException
clear in interface ISelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void selectAll()
throws IOException,
AutomationException
selectAll in interface ISelectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IDisplay display,
ITrackCancel cancelTracker)
throws IOException,
AutomationException
draw in interface ISelectiondisplay - A reference to a com.esri.arcgis.display.IDisplay (in)cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGraphicsContainer getGraphicsContainer()
throws IOException,
AutomationException
getGraphicsContainer in interface IGraphicsContainerPropertyIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGraphicsContainerByRef(IGraphicsContainer container)
throws IOException,
AutomationException
setGraphicsContainerByRef in interface IGraphicsContainerPropertycontainer - A reference to a com.esri.arcgis.carto.IGraphicsContainer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IElement next()
throws IOException,
AutomationException
next in interface IEnumElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reset()
throws IOException,
AutomationException
reset in interface IEnumElementIOException - 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 | ||||||||