|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 problems
public 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 problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getPointSelectionMethod()
throws IOException,
AutomationException
getPointSelectionMethod in interface ISelectionEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPointSelectionMethod(int method)
throws IOException,
AutomationException
setPointSelectionMethod in interface ISelectionEnvironmentmethod - 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 ISelectionEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPointSearchDistance(double distance)
throws IOException,
AutomationException
setPointSearchDistance in interface ISelectionEnvironmentdistance - 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 ISelectionEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLinearSelectionMethod(int method)
throws IOException,
AutomationException
setLinearSelectionMethod in interface ISelectionEnvironmentmethod - 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 ISelectionEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLinearSearchDistance(double distance)
throws IOException,
AutomationException
setLinearSearchDistance in interface ISelectionEnvironmentdistance - 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 ISelectionEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAreaSelectionMethod(int method)
throws IOException,
AutomationException
setAreaSelectionMethod in interface ISelectionEnvironmentmethod - 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 ISelectionEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAreaSearchDistance(double distance)
throws IOException,
AutomationException
setAreaSearchDistance in interface ISelectionEnvironmentdistance - 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 ISelectionEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCombinationMethod(int method)
throws IOException,
AutomationException
setCombinationMethod in interface ISelectionEnvironmentmethod - 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 ISelectionEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSearchTolerance(int tolerance)
throws IOException,
AutomationException
setSearchTolerance in interface ISelectionEnvironmenttolerance - 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 ISelectionEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultColorByRef(IColor color)
throws IOException,
AutomationException
setDefaultColorByRef in interface ISelectionEnvironmentcolor - 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 ISelectionEnvironmentThresholdIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowSelectionWarning(boolean showWarning)
throws IOException,
AutomationException
setShowSelectionWarning in interface ISelectionEnvironmentThresholdshowWarning - 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 ISelectionEnvironmentThresholdIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWarningThreshold(int threshold)
throws IOException,
AutomationException
setWarningThreshold in interface ISelectionEnvironmentThresholdthreshold - 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 ISelectionEnvironmentStorageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSaveSelections(boolean saveSel)
throws IOException,
AutomationException
setSaveSelections in interface ISelectionEnvironmentStoragesaveSel - 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 ISelectionEnvironmentLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setClearInvisibleLayers(boolean clearInvisible)
throws IOException,
AutomationException
setClearInvisibleLayers in interface ISelectionEnvironmentLayerclearInvisible - 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 IPersistStreamIOException - 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 IPersistStreampstm - 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 IPersistStreampstm - 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 IPersistStreampcbSize - 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 IPersistpClassID - 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 ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||