|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.system.IProgressorProxy com.esri.arcgis.system.IAnimationProgressorProxy
public class IAnimationProgressorProxy
Provides access to members that report progress using an animation.
The IAnimationProgresor interface has methods for controlling the animation progessor. The animation progressor displays in the animation pane of a status bar. You can use the default spinning globe for the animation progressor or specify your own animation file (.avi). Use the IStatusBar::ProgressAnimation property to get access to the animation progressor.
IStatusBar.getProgressAnimation()
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IAnimationProgressorProxy()
|
|
IAnimationProgressorProxy(Object obj)
|
protected |
IAnimationProgressorProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
int |
getAnimation()
The animation displayed by the progressor as one of the esriAnimation constants. |
void |
openPath(String animationPath)
Opens the AVI file specified in the path and displays its first frame. |
void |
play(int frameFrom,
int frameTo,
int repeat)
Plays the animation. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
seek(int frameTo)
Moves to the specified frame of the animation. |
void |
setAnimation(int animation)
The animation displayed by the progressor as one of the esriAnimation constants. |
void |
stop()
Stops the animation. |
Methods inherited from class com.esri.arcgis.system.IProgressorProxy |
---|
getMessage, hide, setMessage, show, step |
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.system.IProgressor |
---|
getMessage, hide, setMessage, show, step |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IAnimationProgressorProxy()
public IAnimationProgressorProxy(Object obj) throws IOException
IOException
protected IAnimationProgressorProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IProgressorProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IProgressorProxy
IOException
public void setAnimation(int animation) throws IOException, AutomationException
setAnimation
in interface IAnimationProgressor
animation
- A com.esri.arcgis.system.esriAnimations constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAnimation() throws IOException, AutomationException
This property is not implemented; do not try to use it.
getAnimation
in interface IAnimationProgressor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void openPath(String animationPath) throws IOException, AutomationException
Opens the specified *.avi file and displays the first frame. Use the Play method to play the other frames.
You can use the default spinning globe for the animation progressor or specify your own animation file (.avi).
The IStatusBar::ShowProgressAnimation method provides a shortcut to the OpenPath and Show methods of the animation progressor.
openPath
in interface IAnimationProgressor
animationPath
- The animationPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IStatusBar.showProgressAnimation(String, String)
public void play(int frameFrom, int frameTo, int repeat) throws IOException, AutomationException
Plays the animation from between the specified frames. If the frameFrom, frameTo and repeat arguments are not supplied the animation will be played once from the first frame to the last frame.
The IStatusBar::PlayProgressAnimation method provides a shortcut to the Play and Stop methods of the animation progressor.
play
in interface IAnimationProgressor
frameFrom
- The frameFrom (in, optional, pass 0 if not required)frameTo
- The frameTo (in, optional, pass -1 if not required)repeat
- The repeat (in, optional, pass -1 if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IStatusBar.playProgressAnimation(boolean)
public void seek(int frameTo) throws IOException, AutomationException
The Seek method moves to the specified frame in the animation. The first frame in the animation has an index of 0. The next time the Play method is used the animation will start from this frame.
seek
in interface IAnimationProgressor
frameTo
- The frameTo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void stop() throws IOException, AutomationException
Stops the animation at the current frame. The next time the Play method is used the animation will start from this frame.
The IStatusBar::PlayProgressAnimation method provides a shortcut to the Play and Stop methods of the animation progressor.
stop
in interface IAnimationProgressor
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IStatusBar.playProgressAnimation(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |