|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.MapSelection
public class MapSelection
Maintains the map's feature selection.
Constructor Summary | |
---|---|
MapSelection(Object obj)
Construct a MapSelection using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
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. |
boolean |
equals(Object o)
Compare this object with another |
int |
hashCode()
the hashcode for this object |
boolean |
isAllFields()
Indicates if returned features will contain all fields. |
boolean |
isRecycling()
Indicates if returned features recycle. |
IFeature |
next()
Retrieves the next Feature in the enumeration sequence. |
void |
paste()
Paste clipboard contents. |
void |
reset()
Resets the enumeration sequence to the beginning. |
void |
selectAll()
Selects all items. |
void |
setAllFields(boolean allFields)
Indicates if returned features will contain all fields. |
void |
setRecycling(boolean recyling)
Indicates if returned features recycle. |
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 MapSelection(Object obj) throws IOException
obj
to MapSelection
. *
MapSelection o = (MapSelection)obj; // will not work
MapSelection o = new MapSelection(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
MapSelection theMapSelection = (MapSelection) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IFeature next() throws IOException, AutomationException
next
in interface IEnumFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
reset
in interface IEnumFeature
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRecycling() throws IOException, AutomationException
isRecycling
in interface IEnumFeatureSetup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRecycling(boolean recyling) throws IOException, AutomationException
setRecycling
in interface IEnumFeatureSetup
recyling
- The recyling (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAllFields() throws IOException, AutomationException
isAllFields
in interface IEnumFeatureSetup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAllFields(boolean allFields) throws IOException, AutomationException
setAllFields
in interface IEnumFeatureSetup
allFields
- The allFields (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canCut() throws IOException, AutomationException
canCut
in interface ISelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canCopy() throws IOException, AutomationException
canCopy
in interface ISelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canPaste() throws IOException, AutomationException
canPaste
in interface ISelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canClear() throws IOException, AutomationException
canClear
in interface ISelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canSelectAll() throws IOException, AutomationException
canSelectAll
in interface ISelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void cut() throws IOException, AutomationException
cut
in interface ISelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void copy() throws IOException, AutomationException
copy
in interface ISelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void paste() throws IOException, AutomationException
paste
in interface ISelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws IOException, AutomationException
clear
in interface ISelection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void selectAll() throws IOException, AutomationException
selectAll
in interface ISelection
IOException
- 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 ISelection
display
- 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |