com.esri.arcgis.analyst3d
Class IAnimationTracksProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.analyst3d.IAnimationTracksProxy
All Implemented Interfaces:
java.io.Externalizable, IAnimationTracks, java.io.Serializable

public class IAnimationTracksProxy
extends Dispatch
implements IAnimationTracks, java.io.Serializable

Provides access to members that control the scene animation tracks.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IAnimationTracksProxy()
          For internal use only
  IAnimationTracksProxy(java.lang.Object obj)
           
protected IAnimationTracksProxy(java.lang.Object obj, java.lang.String iid)
           
  IAnimationTracksProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IAnimationTracksProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 void addTrack(IAnimationTrack pTrack)
          Adds a track to the collection.
 void applyTracks(ISceneViewer pViewer, double time, double duration)
          Plays the enabled animation tracks in the given viewer (in all if null).
 void changePriority(IAnimationTrack pTrack, boolean bAbsolute, boolean bInSameType, int changeInIndex)
          Changes the priority (index) of the track.
 void detachObject(java.lang.Object pObject)
          Detach an object from all tracks it is attached to.
 void findTrack(java.lang.String name, IAnimationTrack[] ppTrack)
          Finds a track by name.
 IArray getAnimationTypes()
          The objects that describe the registered types of animation.
 int getTrackCount()
          The number of tracks.
 IArray getTracks()
          The animation tracks.
 IArray getTracksOfType(IAnimationType pType)
          The animation tracks of a given type.
 void loadTracks(IStream pStm)
          Load the animation tracks from a stream.
 void refreshAttachedObjects()
          Detaches from the tracks those objects that no longer exist.
 void removeAllTracks()
          Removes all tracks.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void removeTrack(IAnimationTrack pTrack)
          Removes a track from the collection.
 void saveTracks(IStream pStm)
          Save the animation tracks to a stream.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IAnimationTracksProxy

public IAnimationTracksProxy(java.lang.String CLSID,
                             java.lang.String host,
                             AuthInfo authInfo)
                      throws java.net.UnknownHostException,
                             java.io.IOException

IAnimationTracksProxy

public IAnimationTracksProxy()
For internal use only


IAnimationTracksProxy

public IAnimationTracksProxy(java.lang.Object obj)
                      throws java.io.IOException

IAnimationTracksProxy

protected IAnimationTracksProxy(java.lang.Object obj,
                                java.lang.String iid)
                         throws java.io.IOException

IAnimationTracksProxy

protected IAnimationTracksProxy(java.lang.String CLSID,
                                java.lang.String iid,
                                java.lang.String host,
                                AuthInfo authInfo)
                         throws java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object to be informed of the events
theSource - the proxy class that represents the COM class that is the source of the events
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object that no longer wishes to be informed of the events
Throws:
java.io.IOException

getAnimationTypes

public IArray getAnimationTypes()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IAnimationTracks
The objects that describe the registered types of animation.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getAnimationTypes in interface IAnimationTracks
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrackCount

public int getTrackCount()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IAnimationTracks
The number of tracks.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getTrackCount in interface IAnimationTracks
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTracks

public IArray getTracks()
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IAnimationTracks
The animation tracks.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getTracks in interface IAnimationTracks
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTracksOfType

public IArray getTracksOfType(IAnimationType pType)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IAnimationTracks
The animation tracks of a given type.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getTracksOfType in interface IAnimationTracks
Parameters:
pType - A reference to a com.esri.arcgis.analyst3d.IAnimationType (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

addTrack

public void addTrack(IAnimationTrack pTrack)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IAnimationTracks
Adds a track to the collection.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addTrack in interface IAnimationTracks
Parameters:
pTrack - A reference to a com.esri.arcgis.analyst3d.IAnimationTrack (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

findTrack

public void findTrack(java.lang.String name,
                      IAnimationTrack[] ppTrack)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IAnimationTracks
Finds a track by name.

Supported Platforms

Windows, Solaris, Linux

Specified by:
findTrack in interface IAnimationTracks
Parameters:
name - The name (in)
ppTrack - A reference to a com.esri.arcgis.analyst3d.IAnimationTrack (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

removeTrack

public void removeTrack(IAnimationTrack pTrack)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IAnimationTracks
Removes a track from the collection.

Supported Platforms

Windows, Solaris, Linux

Specified by:
removeTrack in interface IAnimationTracks
Parameters:
pTrack - A reference to a com.esri.arcgis.analyst3d.IAnimationTrack (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

removeAllTracks

public void removeAllTracks()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IAnimationTracks
Removes all tracks.

Supported Platforms

Windows, Solaris, Linux

Specified by:
removeAllTracks in interface IAnimationTracks
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

saveTracks

public void saveTracks(IStream pStm)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IAnimationTracks
Save the animation tracks to a stream.

Supported Platforms

Windows, Solaris, Linux

Specified by:
saveTracks in interface IAnimationTracks
Parameters:
pStm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadTracks

public void loadTracks(IStream pStm)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IAnimationTracks
Load the animation tracks from a stream.

Supported Platforms

Windows, Solaris, Linux

Specified by:
loadTracks in interface IAnimationTracks
Parameters:
pStm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

detachObject

public void detachObject(java.lang.Object pObject)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IAnimationTracks
Detach an object from all tracks it is attached to.

Supported Platforms

Windows, Solaris, Linux

Specified by:
detachObject in interface IAnimationTracks
Parameters:
pObject - A reference to another Object (IUnknown) (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

refreshAttachedObjects

public void refreshAttachedObjects()
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: IAnimationTracks
Detaches from the tracks those objects that no longer exist.

Supported Platforms

Windows, Solaris, Linux

Specified by:
refreshAttachedObjects in interface IAnimationTracks
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

applyTracks

public void applyTracks(ISceneViewer pViewer,
                        double time,
                        double duration)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IAnimationTracks
Plays the enabled animation tracks in the given viewer (in all if null).

Supported Platforms

Windows, Solaris, Linux

Specified by:
applyTracks in interface IAnimationTracks
Parameters:
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
time - The time (in)
duration - The duration (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

changePriority

public void changePriority(IAnimationTrack pTrack,
                           boolean bAbsolute,
                           boolean bInSameType,
                           int changeInIndex)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IAnimationTracks
Changes the priority (index) of the track.

Supported Platforms

Windows, Solaris, Linux

Specified by:
changePriority in interface IAnimationTracks
Parameters:
pTrack - A reference to a com.esri.arcgis.analyst3d.IAnimationTrack (in)
bAbsolute - The bAbsolute (in)
bInSameType - The bInSameType (in)
changeInIndex - The changeInIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.