|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.SelectionEnvironment
public class SelectionEnvironment
Defines the feature selection environment.
Constructor Summary | |
---|---|
SelectionEnvironment()
Constructs a SelectionEnvironment using ArcGIS Engine. |
|
SelectionEnvironment(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SelectionEnvironment theSelectionEnvironment = (SelectionEnvironment) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
double |
getAreaSearchDistance()
Distance used for selecting areas by proximity. |
int |
getAreaSelectionMethod()
Selection method used for areas. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getCombinationMethod()
Combination method for the selection results. |
IColor |
getDefaultColor()
Default selection color. |
double |
getLinearSearchDistance()
Distance used for selecting lines by proximity. |
int |
getLinearSelectionMethod()
Selection method used for lines. |
double |
getPointSearchDistance()
Distance used for selecting points by proximity. |
int |
getPointSelectionMethod()
Selection method used for points. |
int |
getSearchTolerance()
Search tolerance in device units. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getWarningThreshold()
Threshold (number of records), above which selection warnings may be shown. |
int |
hashCode()
the hashcode for this object |
boolean |
isClearInvisibleLayers()
Indicates if invisible layers have their selections cleared when a new selection is made. |
void |
isDirty()
isDirty |
boolean |
isSaveSelections()
Indicates if objects save their selections. |
boolean |
isShowSelectionWarning()
Indicates if warnings are displayed when the record count exceeds the selection warning threshold. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setAreaSearchDistance(double distance)
Distance used for selecting areas by proximity. |
void |
setAreaSelectionMethod(int method)
Selection method used for areas. |
void |
setClearInvisibleLayers(boolean clearInvisible)
Indicates if invisible layers have their selections cleared when a new selection is made. |
void |
setCombinationMethod(int method)
Combination method for the selection results. |
void |
setDefaultColorByRef(IColor color)
Default selection color. |
void |
setLinearSearchDistance(double distance)
Distance used for selecting lines by proximity. |
void |
setLinearSelectionMethod(int method)
Selection method used for lines. |
void |
setPointSearchDistance(double distance)
Distance used for selecting points by proximity. |
void |
setPointSelectionMethod(int method)
Selection method used for points. |
void |
setSaveSelections(boolean saveSel)
Indicates if objects save their selections. |
void |
setSearchTolerance(int tolerance)
Search tolerance in device units. |
void |
setShowSelectionWarning(boolean showWarning)
Indicates if warnings are displayed when the record count exceeds the selection warning threshold. |
void |
setWarningThreshold(int threshold)
Threshold (number of records), above which selection warnings may be shown. |
void |
writeExternal(ObjectOutput out)
|
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 SelectionEnvironment() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SelectionEnvironment(Object obj) throws IOException
SelectionEnvironment theSelectionEnvironment = (SelectionEnvironment) obj;
obj
to SelectionEnvironment
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getPointSelectionMethod() throws IOException, AutomationException
getPointSelectionMethod
in interface ISelectionEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPointSelectionMethod(int method) throws IOException, AutomationException
setPointSelectionMethod
in interface ISelectionEnvironment
method
- A com.esri.arcgis.geodatabase.esriSpatialRelEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPointSearchDistance() throws IOException, AutomationException
getPointSearchDistance
in interface ISelectionEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPointSearchDistance(double distance) throws IOException, AutomationException
setPointSearchDistance
in interface ISelectionEnvironment
distance
- The distance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLinearSelectionMethod() throws IOException, AutomationException
getLinearSelectionMethod
in interface ISelectionEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLinearSelectionMethod(int method) throws IOException, AutomationException
setLinearSelectionMethod
in interface ISelectionEnvironment
method
- A com.esri.arcgis.geodatabase.esriSpatialRelEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLinearSearchDistance() throws IOException, AutomationException
getLinearSearchDistance
in interface ISelectionEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLinearSearchDistance(double distance) throws IOException, AutomationException
setLinearSearchDistance
in interface ISelectionEnvironment
distance
- The distance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAreaSelectionMethod() throws IOException, AutomationException
getAreaSelectionMethod
in interface ISelectionEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAreaSelectionMethod(int method) throws IOException, AutomationException
setAreaSelectionMethod
in interface ISelectionEnvironment
method
- A com.esri.arcgis.geodatabase.esriSpatialRelEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAreaSearchDistance() throws IOException, AutomationException
getAreaSearchDistance
in interface ISelectionEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAreaSearchDistance(double distance) throws IOException, AutomationException
setAreaSearchDistance
in interface ISelectionEnvironment
distance
- The distance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCombinationMethod() throws IOException, AutomationException
The combination method defines how the selection performed will combine with an existing selection. It is the programmatic equivalent of the pulldown menus found in the selection dialogs in ArcMap.
getCombinationMethod
in interface ISelectionEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCombinationMethod(int method) throws IOException, AutomationException
setCombinationMethod
in interface ISelectionEnvironment
method
- A com.esri.arcgis.carto.esriSelectionResultEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSearchTolerance() throws IOException, AutomationException
getSearchTolerance
in interface ISelectionEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSearchTolerance(int tolerance) throws IOException, AutomationException
setSearchTolerance
in interface ISelectionEnvironment
tolerance
- The tolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getDefaultColor() throws IOException, AutomationException
getDefaultColor
in interface ISelectionEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultColorByRef(IColor color) throws IOException, AutomationException
setDefaultColorByRef
in interface ISelectionEnvironment
color
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowSelectionWarning() throws IOException, AutomationException
isShowSelectionWarning
in interface ISelectionEnvironmentThreshold
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowSelectionWarning(boolean showWarning) throws IOException, AutomationException
setShowSelectionWarning
in interface ISelectionEnvironmentThreshold
showWarning
- The showWarning (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getWarningThreshold() throws IOException, AutomationException
getWarningThreshold
in interface ISelectionEnvironmentThreshold
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWarningThreshold(int threshold) throws IOException, AutomationException
setWarningThreshold
in interface ISelectionEnvironmentThreshold
threshold
- The threshold (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSaveSelections() throws IOException, AutomationException
isSaveSelections
in interface ISelectionEnvironmentStorage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSaveSelections(boolean saveSel) throws IOException, AutomationException
setSaveSelections
in interface ISelectionEnvironmentStorage
saveSel
- The saveSel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isClearInvisibleLayers() throws IOException, AutomationException
isClearInvisibleLayers
in interface ISelectionEnvironmentLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setClearInvisibleLayers(boolean clearInvisible) throws IOException, AutomationException
setClearInvisibleLayers
in interface ISelectionEnvironmentLayer
clearInvisible
- The clearInvisible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |