|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IFeatureProgressProxy
public class IFeatureProgressProxy
Provides access to members used to handle events from converting featureclass/table.
The IFeatureProgress interface handles events that are fired by a data conversion or object-loading process.
The various properties, other than IsCancelled, are automatically initialized when data conversion starts. However, it is important to note that you can get these values, but you cannot set them.
| Property/Method | Description |
|---|---|
| FeatureClassName | Input feature class name. |
| MinFeatures | Minimum number of features/rows in the input object class. |
| MaxFeatures | Maximum number of features/rows in the input object class. |
| Position | Current feature/row that is being converted. |
| StepValue | The number of converted features that are needed to cause the firing of the Step method. |
| Step |
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. |
| IsCancelled | Indicates whether the cancel button is pressed. The data conversion will be cancelled if the user presses the cancel button. |
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
IFeatureProgressProxy()
|
|
IFeatureProgressProxy(Object obj)
|
protected |
IFeatureProgressProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
boolean |
isCancelled(IFeatureProgressIsCancelledEvent theEvent)
Indicates whether the cancel button is pressed. |
void |
readExternal(ObjectInput in)
|
void |
removeListener(String iidStr,
Object theListener)
|
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. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IFeatureProgressProxy()
public IFeatureProgressProxy(Object obj)
throws IOException
IOException
protected IFeatureProgressProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public void setFeatureClassName(IFeatureProgressSetFeatureClassNameEvent theEvent)
throws IOException,
AutomationException
setFeatureClassName in interface IFeatureProgresstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMinFeatures(IFeatureProgressSetMinFeaturesEvent theEvent)
throws IOException,
AutomationException
setMinFeatures in interface IFeatureProgresstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxFeatures(IFeatureProgressSetMaxFeaturesEvent theEvent)
throws IOException,
AutomationException
setMaxFeatures in interface IFeatureProgresstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPosition(IFeatureProgressSetPositionEvent theEvent)
throws IOException,
AutomationException
setPosition in interface IFeatureProgresstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStepValue(IFeatureProgressSetStepValueEvent theEvent)
throws IOException,
AutomationException
setStepValue in interface IFeatureProgresstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void step(IFeatureProgressStepEvent theEvent)
throws IOException,
AutomationException
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.
step in interface IFeatureProgresstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCancelled(IFeatureProgressIsCancelledEvent theEvent)
throws IOException,
AutomationException
The IsCancelled, property is fetched by the converter after every call to Step.
isCancelled in interface IFeatureProgresstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||