com.esri.arcgis.editor
Class SelectionResolutionChip

java.lang.Object
  extended by com.esri.arcgis.editor.SelectionResolutionChip
All Implemented Interfaces:
ISelectionResolutionChip, com.esri.arcgis.interop.RemoteObjRef, IExtension, Serializable

public class SelectionResolutionChip
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IExtension, ISelectionResolutionChip

An editor extension for resolving selection of multiple features.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IExtension
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy
 
Constructor Summary
SelectionResolutionChip()
          Constructs a SelectionResolutionChip using ArcGIS Engine.
SelectionResolutionChip(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SelectionResolutionChip theSelectionResolutionChip = (SelectionResolutionChip) obj;
 
Method Summary
 void doModal(IPoint clickPt, IFeatureLayer[] featureLayer, IFeature[] feature)
          Shows the selection resolution chip and require a response.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getName()
          The name of the extension.
 int hashCode()
          the hashcode for this object
 void hide()
          Hides the selection resolution chip.
 boolean isAllowAnnoFeatures()
          Indicates if annotation feature candidates are allowed.
 boolean isAllowLineFeatures()
          Indicates if line feature candidates are allowed.
 boolean isAllowPointFeatures()
          Indicates if point feature candidates are allowed.
 boolean isAllowPolygonFeatures()
          Indicates if polygon feature candidates are allowed.
 boolean isMustBeEditable()
          Indicates if the candidate features must be editable.
 boolean isMustBeSelectable()
          Indicates if the candidate features must be selectable.
 void setAllowAnnoFeatures(boolean flag)
          Indicates if annotation feature candidates are allowed.
 void setAllowLineFeatures(boolean flag)
          Indicates if line feature candidates are allowed.
 void setAllowPointFeatures(boolean flag)
          Indicates if point feature candidates are allowed.
 void setAllowPolygonFeatures(boolean flag)
          Indicates if polygon feature candidates are allowed.
 void setCombinationMethod(int rhs1)
          The combination method used when clicked.
 void setMustBeEditable(boolean flag)
          Indicates if the candidate features must be editable.
 void setMustBeSelectable(boolean flag)
          Indicates if the candidate features must be selectable.
 void show(IPoint clickPt, ISelectionResolutionImpl selSelector)
          Shows the selection resolution chip.
 void shutdown()
          Shuts down the extension.
 void startup(Object initializationData)
          Starts up the extension with the given initialization data.
 
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

SelectionResolutionChip

public SelectionResolutionChip()
                        throws IOException,
                               UnknownHostException
Constructs a SelectionResolutionChip using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SelectionResolutionChip

public SelectionResolutionChip(Object obj)
                        throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SelectionResolutionChip theSelectionResolutionChip = (SelectionResolutionChip) obj;

Construct a SelectionResolutionChip using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SelectionResolutionChip.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getName

public String getName()
               throws IOException,
                      AutomationException
The name of the extension.

Specified by:
getName in interface IExtension
Returns:
The extensionName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startup

public void startup(Object initializationData)
             throws IOException,
                    AutomationException
Starts up the extension with the given initialization data.

Specified by:
startup in interface IExtension
Parameters:
initializationData - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws IOException,
                     AutomationException
Shuts down the extension.

Specified by:
shutdown in interface IExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

show

public void show(IPoint clickPt,
                 ISelectionResolutionImpl selSelector)
          throws IOException,
                 AutomationException
Shows the selection resolution chip.

Product Availability

Available with ArcGIS Desktop.

Specified by:
show in interface ISelectionResolutionChip
Parameters:
clickPt - A reference to a com.esri.arcgis.geometry.IPoint (in)
selSelector - A reference to a com.esri.arcgis.editor.ISelectionResolutionImpl (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hide

public void hide()
          throws IOException,
                 AutomationException
Hides the selection resolution chip.

Product Availability

Available with ArcGIS Desktop.

Specified by:
hide in interface ISelectionResolutionChip
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public void doModal(IPoint clickPt,
                    IFeatureLayer[] featureLayer,
                    IFeature[] feature)
             throws IOException,
                    AutomationException
Shows the selection resolution chip and require a response.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModal in interface ISelectionResolutionChip
Parameters:
clickPt - A reference to a com.esri.arcgis.geometry.IPoint (in)
featureLayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (out: use single element array)
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMustBeSelectable

public void setMustBeSelectable(boolean flag)
                         throws IOException,
                                AutomationException
Indicates if the candidate features must be selectable.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setMustBeSelectable in interface ISelectionResolutionChip
Parameters:
flag - The flag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMustBeSelectable

public boolean isMustBeSelectable()
                           throws IOException,
                                  AutomationException
Indicates if the candidate features must be selectable.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isMustBeSelectable in interface ISelectionResolutionChip
Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMustBeEditable

public void setMustBeEditable(boolean flag)
                       throws IOException,
                              AutomationException
Indicates if the candidate features must be editable.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setMustBeEditable in interface ISelectionResolutionChip
Parameters:
flag - The flag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMustBeEditable

public boolean isMustBeEditable()
                         throws IOException,
                                AutomationException
Indicates if the candidate features must be editable.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isMustBeEditable in interface ISelectionResolutionChip
Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowPointFeatures

public void setAllowPointFeatures(boolean flag)
                           throws IOException,
                                  AutomationException
Indicates if point feature candidates are allowed.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setAllowPointFeatures in interface ISelectionResolutionChip
Parameters:
flag - The flag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAllowPointFeatures

public boolean isAllowPointFeatures()
                             throws IOException,
                                    AutomationException
Indicates if point feature candidates are allowed.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isAllowPointFeatures in interface ISelectionResolutionChip
Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowLineFeatures

public void setAllowLineFeatures(boolean flag)
                          throws IOException,
                                 AutomationException
Indicates if line feature candidates are allowed.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setAllowLineFeatures in interface ISelectionResolutionChip
Parameters:
flag - The flag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAllowLineFeatures

public boolean isAllowLineFeatures()
                            throws IOException,
                                   AutomationException
Indicates if line feature candidates are allowed.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isAllowLineFeatures in interface ISelectionResolutionChip
Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowPolygonFeatures

public void setAllowPolygonFeatures(boolean flag)
                             throws IOException,
                                    AutomationException
Indicates if polygon feature candidates are allowed.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setAllowPolygonFeatures in interface ISelectionResolutionChip
Parameters:
flag - The flag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAllowPolygonFeatures

public boolean isAllowPolygonFeatures()
                               throws IOException,
                                      AutomationException
Indicates if polygon feature candidates are allowed.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isAllowPolygonFeatures in interface ISelectionResolutionChip
Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowAnnoFeatures

public void setAllowAnnoFeatures(boolean flag)
                          throws IOException,
                                 AutomationException
Indicates if annotation feature candidates are allowed.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setAllowAnnoFeatures in interface ISelectionResolutionChip
Parameters:
flag - The flag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAllowAnnoFeatures

public boolean isAllowAnnoFeatures()
                            throws IOException,
                                   AutomationException
Indicates if annotation feature candidates are allowed.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isAllowAnnoFeatures in interface ISelectionResolutionChip
Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCombinationMethod

public void setCombinationMethod(int rhs1)
                          throws IOException,
                                 AutomationException
The combination method used when clicked.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setCombinationMethod in interface ISelectionResolutionChip
Parameters:
rhs1 - A com.esri.arcgis.carto.esriSelectionResultEnum constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.