com.esri.arcgis.framework
Class ProgressDialogFactory

java.lang.Object
  extended by com.esri.arcgis.framework.ProgressDialogFactory
All Implemented Interfaces:
IProgressDialogFactory, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ProgressDialogFactory
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IProgressDialogFactory

Progress Dialog Factory object.

Description

Instead of reporting the progress of an operation in the status bar, you can display a progress dialog box instead. The progress dialog box displays an animation and a step progress bar. The ProgressDialogFactory coclass creates and displays a new progress dialog box.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
ProgressDialogFactory()
          Constructs a ProgressDialogFactory using ArcGIS Engine.
ProgressDialogFactory(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ProgressDialogFactory theProgressDialogFactory = (ProgressDialogFactory) obj;
 
Method Summary
 IStepProgressor create(ITrackCancel trackCancel, int hWnd)
          Creates a progress dialog.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 
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

ProgressDialogFactory

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

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

ProgressDialogFactory

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

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

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

create

public IStepProgressor create(ITrackCancel trackCancel,
                              int hWnd)
                       throws IOException,
                              AutomationException
Creates a progress dialog.

Remarks

The Create method creates and displays a progress dialog box. You can pass a CancelTracker object into this method to allow the user to cancel the process.

This method returns a ProgressDialog object so that you can set the properties of the dialog and the progressor.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
create in interface IProgressDialogFactory
Parameters:
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
hWnd - The hWnd (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.system.IStepProgressor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.