com.esri.arcgis.catalogUI
Class EditEvaluators

java.lang.Object
  extended by com.esri.arcgis.catalogUI.EditEvaluators
All Implemented Interfaces:
IEditEvaluators, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class EditEvaluators
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEditEvaluators

Helper for editing evaluated attributes.

Remarks

The EditEvaluators object contains the current state of ArcCatalog's Evaluators dialog, such as how many evaluators are listed and which evaluators are currently selected

This object is accessed by the EvaluatorEditors to access the state of the Evaluators dialog. ArcCatalog gives a reference to its EditEvaluators object to each EvaluatorEditor by calling IEvaluatorEditor::EditEvaluators on each EvaluatorEditor.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.catalogUI.IEditEvaluators
IID, IIDc6da44ea_100a_4912_8445_67fe8b586ada, xxDummy
 
Constructor Summary
EditEvaluators()
          Constructs a EditEvaluators using ArcGIS Engine.
EditEvaluators(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EditEvaluators theEditEvaluators = (EditEvaluators) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 IAttributesEditContext getAttributesEditContext()
          The network dataset context.
static String getClsid()
          getClsid.
 int getCount()
          The total number of evaluators.
 INetworkEvaluator getEditEvaluator(int index)
          The ith edit evaluator.
 IEvaluatedNetworkAttribute getEvaluatedAttribute()
          The evaluated network attribute.
 int getSelectedCount()
          The number of selected evaluators.
 int getSelectedIndex(int selPosition)
          The index of the selPostion selected evaluator.
 int hashCode()
          the hashcode for this object
 void initialize(IAttributesEditContext context, IEvaluatedNetworkAttribute attribute, boolean defaultMode)
          Intitialize the network attribute edit context.
 boolean isDefault()
          Indicates if is default evaluators mode.
 boolean isSelected(int index)
          Indicates if the evaluator is selected.
 
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

EditEvaluators

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

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

EditEvaluators

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

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

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

initialize

public void initialize(IAttributesEditContext context,
                       IEvaluatedNetworkAttribute attribute,
                       boolean defaultMode)
                throws IOException,
                       AutomationException
Intitialize the network attribute edit context.

Specified by:
initialize in interface IEditEvaluators
Parameters:
context - A reference to a com.esri.arcgis.catalogUI.IAttributesEditContext (in)
attribute - A reference to a com.esri.arcgis.geodatabase.IEvaluatedNetworkAttribute (in)
defaultMode - The defaultMode (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributesEditContext

public IAttributesEditContext getAttributesEditContext()
                                                throws IOException,
                                                       AutomationException
The network dataset context.

Specified by:
getAttributesEditContext in interface IEditEvaluators
Returns:
A reference to a com.esri.arcgis.catalogUI.IAttributesEditContext
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEvaluatedAttribute

public IEvaluatedNetworkAttribute getEvaluatedAttribute()
                                                 throws IOException,
                                                        AutomationException
The evaluated network attribute.

Specified by:
getEvaluatedAttribute in interface IEditEvaluators
Returns:
A reference to a com.esri.arcgis.geodatabase.IEvaluatedNetworkAttribute
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDefault

public boolean isDefault()
                  throws IOException,
                         AutomationException
Indicates if is default evaluators mode.

Specified by:
isDefault in interface IEditEvaluators
Returns:
The defaultMode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws IOException,
                    AutomationException
The total number of evaluators.

Specified by:
getCount in interface IEditEvaluators
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEditEvaluator

public INetworkEvaluator getEditEvaluator(int index)
                                   throws IOException,
                                          AutomationException
The ith edit evaluator.

Specified by:
getEditEvaluator in interface IEditEvaluators
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSelected

public boolean isSelected(int index)
                   throws IOException,
                          AutomationException
Indicates if the evaluator is selected.

Specified by:
isSelected in interface IEditEvaluators
Parameters:
index - The index (in)
Returns:
The selected
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectedCount

public int getSelectedCount()
                     throws IOException,
                            AutomationException
The number of selected evaluators.

Specified by:
getSelectedCount in interface IEditEvaluators
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectedIndex

public int getSelectedIndex(int selPosition)
                     throws IOException,
                            AutomationException
The index of the selPostion selected evaluator.

Specified by:
getSelectedIndex in interface IEditEvaluators
Parameters:
selPosition - The selPosition (in)
Returns:
The index
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.