|
|||||||||
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
COM Class 'SimpleElementSelection'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'Simple selection object. Implements drawing and selecting but not clipboard support.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.carto.ISelection |
---|
IID, IIDb1a1ca6d_a96c_11d1_8745_0000f8751720, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IGraphicsContainerProperty |
---|
IID, IIDe46bdc13_40b1_11d4_a683_0008c7df88db, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IEnumElement |
---|
IID, IIDdd94d769_836d_11d0_87ec_080009ec732a, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Constructor Summary | |
---|---|
SimpleElementSelection()
Constructs a SimpleElementSelection using ArcGIS Engine. |
|
SimpleElementSelection(java.lang.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(java.lang.Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static java.lang.String |
getClsid()
getClsid. |
IGraphicsContainer |
getGraphicsContainer()
Element's graphics container. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
IElement |
next()
Returns the next element in the enumeration. |
void |
paste()
Paste clipboard contents. |
void |
release()
Release a SimpleElementSelection. |
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 |
Constructor Detail |
---|
public SimpleElementSelection() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic SimpleElementSelection(java.lang.Object obj) throws java.io.IOException
SimpleElementSelection theSimpleElementSelection = (SimpleElementSelection) obj;
obj
to SimpleElementSelection
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addISelectionEventsListener(ISelectionEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.carto.ISelectionEvents interface.
java.io.IOException
- If there are communications problems.public void removeISelectionEventsListener(ISelectionEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.carto.ISelectionEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public boolean canCut() throws java.io.IOException, AutomationException
canCut
in interface ISelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canCopy() throws java.io.IOException, AutomationException
canCopy
in interface ISelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canPaste() throws java.io.IOException, AutomationException
canPaste
in interface ISelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canClear() throws java.io.IOException, AutomationException
canClear
in interface ISelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canSelectAll() throws java.io.IOException, AutomationException
canSelectAll
in interface ISelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void cut() throws java.io.IOException, AutomationException
cut
in interface ISelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void copy() throws java.io.IOException, AutomationException
copy
in interface ISelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void paste() throws java.io.IOException, AutomationException
paste
in interface ISelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws java.io.IOException, AutomationException
clear
in interface ISelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void selectAll() throws java.io.IOException, AutomationException
selectAll
in interface ISelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IDisplay display, ITrackCancel cancelTracker) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGraphicsContainer getGraphicsContainer() throws java.io.IOException, AutomationException
getGraphicsContainer
in interface IGraphicsContainerProperty
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGraphicsContainerByRef(IGraphicsContainer container) throws java.io.IOException, AutomationException
setGraphicsContainerByRef
in interface IGraphicsContainerProperty
container
- A reference to a com.esri.arcgis.carto.IGraphicsContainer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IElement next() throws java.io.IOException, AutomationException
next
in interface IEnumElement
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws java.io.IOException, AutomationException
reset
in interface IEnumElement
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws java.io.IOException, AutomationException
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws java.io.IOException, AutomationException
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)
java.io.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 |