|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.carto.ISelectionProxy
public class ISelectionProxy
Provides access to members that control a collection of selectable objects.
Manages clipboard type operations on a selection. To learn more read the help for IActiveView::Selection.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ISelectionProxy()
|
|
ISelectionProxy(Object obj)
|
protected |
ISelectionProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
paste()
Paste clipboard contents. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
selectAll()
Selects all items. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public ISelectionProxy()
public ISelectionProxy(Object obj) throws IOException
IOException
protected ISelectionProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
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 |