com.esri.arcgis.geodatabase
Class IFeatureProgressAdapter

java.lang.Object
  extended by com.esri.arcgis.geodatabase.IFeatureProgressAdapter
All Implemented Interfaces:
IFeatureProgress, Serializable, EventListener

public class IFeatureProgressAdapter
extends Object
implements IFeatureProgress

See Also:
Serialized Form

Constructor Summary
IFeatureProgressAdapter()
           
 
Method Summary
 boolean isCancelled(IFeatureProgressIsCancelledEvent theEvent)
          Indicates whether the cancel button is pressed.
 void setFeatureClassName(IFeatureProgressSetFeatureClassNameEvent theEvent)
          Input feature class name.
 void setMaxFeatures(IFeatureProgressSetMaxFeaturesEvent theEvent)
          Maximum number of features/rows in the input object class.
 void setMinFeatures(IFeatureProgressSetMinFeaturesEvent theEvent)
          Minimum number of features/rows in the input objectclass.
 void setPosition(IFeatureProgressSetPositionEvent theEvent)
          Current feature/row that currently converted by the converter.
 void setStepValue(IFeatureProgressSetStepValueEvent theEvent)
          Current position of conversion.
 void step(IFeatureProgressStepEvent theEvent)
          Step the progressor interval.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IFeatureProgressAdapter

public IFeatureProgressAdapter()
Method Detail

setFeatureClassName

public void setFeatureClassName(IFeatureProgressSetFeatureClassNameEvent theEvent)
                         throws IOException,
                                AutomationException
Input feature class name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setFeatureClassName in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinFeatures

public void setMinFeatures(IFeatureProgressSetMinFeaturesEvent theEvent)
                    throws IOException,
                           AutomationException
Minimum number of features/rows in the input objectclass.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setMinFeatures in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxFeatures

public void setMaxFeatures(IFeatureProgressSetMaxFeaturesEvent theEvent)
                    throws IOException,
                           AutomationException
Maximum number of features/rows in the input object class.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setMaxFeatures in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPosition

public void setPosition(IFeatureProgressSetPositionEvent theEvent)
                 throws IOException,
                        AutomationException
Current feature/row that currently converted by the converter.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setPosition in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStepValue

public void setStepValue(IFeatureProgressSetStepValueEvent theEvent)
                  throws IOException,
                         AutomationException
Current position of conversion.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setStepValue in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

step

public void step(IFeatureProgressStepEvent theEvent)
          throws IOException,
                 AutomationException
Step the progressor interval.

Remarks

The Step method is fired automatically for every x number of features,where x is the value of StepValue. You can use this event to keep a count of how many features have been converted. The IsCancelled, property is fetched by the converter after every call to Step.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
step in interface IFeatureProgress
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCancelled

public boolean isCancelled(IFeatureProgressIsCancelledEvent theEvent)
                    throws IOException,
                           AutomationException
Indicates whether the cancel button is pressed. The data conversion will be cancelled if the user press the cancel button.

Remarks

The IsCancelled, property is fetched by the converter after every call to Step.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isCancelled in interface IFeatureProgress
Parameters:
theEvent - The event
Returns:
The pbIsCancelled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.