|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcmapui.ProgressDialog
public class ProgressDialog
Progress dialog object.
Constructor Summary | |
---|---|
ProgressDialog(Object obj)
Construct a ProgressDialog using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
int |
getAnimation()
The animation type displayed in the dialog. |
String |
getDescription()
The description displayed in the dialog. |
int |
getMaxRange()
The maximum range of the progression. |
String |
getMessage()
The message displayed by the progressor. |
int |
getMinRange()
The minimum range of the progression. |
int |
getPosition()
The current position of the progression. |
int |
getStepValue()
The step increment of the progression. |
String |
getTitle()
The caption displayed in the dialog. |
int |
hashCode()
the hashcode for this object |
void |
hide()
Hides the progressor. |
void |
hideDialog()
Hides the progress dialog. |
boolean |
isCancelEnabled()
Indicates if the cancel button is enabled. |
int |
offsetPosition(int offsetValue)
Offsets the position of the progression. |
void |
setAnimation(int type)
The animation type displayed in the dialog. |
void |
setCancelEnabled(boolean bVal)
Indicates if the cancel button is enabled. |
void |
setDescription(String status)
The description displayed in the dialog. |
void |
setMaxRange(int maxRange)
The maximum range of the progression. |
void |
setMessage(String message)
The message displayed by the progressor. |
void |
setMinRange(int minRange)
The minimum range of the progression. |
void |
setPosition(int position)
The current position of the progression. |
void |
setStepValue(int step)
The step increment of the progression. |
void |
setTitle(String title)
The caption displayed in the dialog. |
void |
show()
Shows the progressor. |
void |
showDialog()
Shows the progress dialog. |
void |
step()
Animates or steps the progressor. |
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 |
---|
public ProgressDialog(Object obj) throws IOException
obj
to ProgressDialog
. *
ProgressDialog o = (ProgressDialog)obj; // will not work
ProgressDialog o = new ProgressDialog(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
ProgressDialog theProgressDialog = (ProgressDialog) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setMessage(String message) throws IOException, AutomationException
setMessage
in interface IProgressor
message
- The message (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMessage() throws IOException, AutomationException
This is a generic Message property for progressors (for example a progress bar).
getMessage
in interface IProgressor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void show() throws IOException, AutomationException
This is a generic Show method for progressors (for example a progress bar).
show
in interface IProgressor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void step() throws IOException, AutomationException
This is a generic Step method for progressors (for example a progress bar).
step
in interface IProgressor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hide() throws IOException, AutomationException
This is a generic Hide method for progressors (for example a progress bar).
hide
in interface IProgressor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void showDialog() throws IOException, AutomationException
showDialog
in interface IProgressDialog2
showDialog
in interface IProgressDialog
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hideDialog() throws IOException, AutomationException
hideDialog
in interface IProgressDialog2
hideDialog
in interface IProgressDialog
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCancelEnabled() throws IOException, AutomationException
The CancelEnabled property specifies if the Cancel button is enabled. If CancelEnabled is set to True, you can use the Continue method on the CancelTracker object to determine if the user hit Cancel and the operations should be stopped.
isCancelEnabled
in interface IProgressDialog2
isCancelEnabled
in interface IProgressDialog
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCancelEnabled(boolean bVal) throws IOException, AutomationException
setCancelEnabled
in interface IProgressDialog2
setCancelEnabled
in interface IProgressDialog
bVal
- The bVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String status) throws IOException, AutomationException
setDescription
in interface IProgressDialog2
status
- The status (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
The Description property can be used to provide the user with information about the process that the dialog box is tracking.
getDescription
in interface IProgressDialog2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTitle(String title) throws IOException, AutomationException
The Title property can be used to provide the user with information about the process that the dialog box is tracking.
setTitle
in interface IProgressDialog2
title
- The title (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTitle() throws IOException, AutomationException
The Title property can be used to provide the user with information about the process that the dialog box is tracking.
getTitle
in interface IProgressDialog2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAnimation(int type) throws IOException, AutomationException
setAnimation
in interface IProgressDialog2
type
- A com.esri.arcgis.framework.esriProgressAnimationTypes constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAnimation() throws IOException, AutomationException
The Animation property specifies the type of animation displayed in the dialog box. The animation in the dialog box can either be the spinning globe animation or the downloading file animation.
getAnimation
in interface IProgressDialog2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMinRange(int minRange) throws IOException, AutomationException
setMinRange
in interface IStepProgressor
minRange
- The minRange (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMinRange() throws IOException, AutomationException
The minimum value of the step progressor.
getMinRange
in interface IStepProgressor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxRange(int maxRange) throws IOException, AutomationException
setMaxRange
in interface IStepProgressor
maxRange
- The maxRange (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxRange() throws IOException, AutomationException
The maximum value of the step progressor.
getMaxRange
in interface IStepProgressor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStepValue(int step) throws IOException, AutomationException
setStepValue
in interface IStepProgressor
step
- The step (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStepValue() throws IOException, AutomationException
The increment value taken by the progression with each step.
getStepValue
in interface IStepProgressor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPosition(int position) throws IOException, AutomationException
The current position of the progression between the MinRange and MaxRange values.
setPosition
in interface IStepProgressor
position
- The position (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPosition() throws IOException, AutomationException
The current position of the progression between the MinRange and MaxRange values.
getPosition
in interface IStepProgressor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int offsetPosition(int offsetValue) throws IOException, AutomationException
Offsets the current Position by the specified value.
offsetPosition
in interface IStepProgressor
offsetValue
- The offsetValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |