|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.animation.AGAnimationTrack
The Animation Track coclass.
| Constructor Summary | |
AGAnimationTrack()
Constructs a AGAnimationTrack using ArcGIS Engine. |
|
AGAnimationTrack(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
void |
addExtension(java.lang.Object ext)
Adds a new extension. |
void |
attachObject(java.lang.Object pObject)
Attach object to the track. |
IAGKeyframe |
createKeyframe(int index)
Creates a new keyframe of the appropriate type and inserts it. |
void |
detachAllObjects()
Detach all objects from the track. |
void |
detachObject(java.lang.Object pObject)
Detach object from the track. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
findKeyframe(java.lang.String name,
IAGKeyframe[] ppKeyframe)
Finds a keyframe by name. |
ILongArray |
getActiveProperties()
The combination of active properties for the track. |
IAGAnimationContainer |
getAnimationObjectContainer()
The container of the animation objects attached to the tracks. |
IAGAnimationTrack |
getAsIAGAnimationTrack()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IAGAnimationTrackExtensions |
getAsIAGAnimationTrackExtensions()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IAGAnimationTrackKeyframes |
getAsIAGAnimationTrackKeyframes()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersistStream |
getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IArray |
getAttachedObjects()
The objects to which the track is attached, or null. |
int |
getAttachedObjectsCount()
The number of objects to which the track is attached. |
double |
getBeginTime()
The initial time of the track. |
void |
getClassID(GUID[] pClassID)
Supported Platforms |
static java.lang.String |
getClsid()
|
double |
getEndTime()
The final time of the track. |
java.lang.Object |
getExtension(int index)
The extension at the specified index. |
int |
getExtensionCount()
Number of extensions. |
int |
getKeyframeCount()
The number of keyframes defined in the track. |
IAGKeyframe |
getLastInterpolatedKeyframe()
The last keyframe that was interpolated in the track. |
java.lang.String |
getName()
The name of the track. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
Supported Platforms |
int |
hashCode()
the hashcode for this object |
IAGAnimationType |
IAGAnimationTrack_getAnimationType()
The animation type. |
IAGKeyframe |
IAGAnimationTrackKeyframes_getKeyframe(int index)
The keyframe with the given index in the track. |
void |
insertKeyframe(IAGKeyframe pKeyframe,
int index)
Inserts a new keyframe. |
void |
interpolateObjectProperties(IAGAnimationContainer pContainer,
double time)
Interpolates the state of the attached object for a time between BeginTime and Endtime. |
boolean |
isActiveProperty(int propIndex)
Indicates if an animation property is active. |
boolean |
isApplyToAllViewers()
Indicates whether to apply a camera track to all viewers. |
boolean |
isAttached(java.lang.Object pObject)
Indicates if the given object is attached to the track. |
boolean |
isCycle()
Indicates if the track is repeated periodically. |
void |
isDirty()
Supported Platforms |
boolean |
isEnabled()
Indicates if the track is enabled. |
boolean |
isEvenTimeStamps()
Indicates whether to distribute time stamps evenly in the interval 0-1. |
void |
load(IStream pstm)
Supported Platforms |
void |
moveKeyframe(int originIndex,
int destinationIndex)
Moves the keyframe with the given index, inserting it with a different index. |
void |
removeAllKeyframes()
Removes all the keyframes. |
void |
removeExtension(int index)
Removes the specified extension. |
void |
removeKeyframe(int index)
Removes the keyframe with the given index. |
void |
resetAttachedObjects(IAGAnimationContainer pContainer)
Reset the state of the attached objects to be ready for animation. |
void |
resetTimeStamps()
Redistributes the time stamps in the interval [0,1]. |
void |
restoreObjectProperties(IAGAnimationContainer pContainer,
int index)
Restores the saved properties of the attached object specified. |
void |
save(IStream pstm,
int fClearDirty)
Supported Platforms |
void |
saveObjectProperties(IAGAnimationContainer pContainer,
int index)
Internally saves the properties of the attached object specified. |
void |
setActiveProperties(ILongArray ppActiveProps)
The combination of active properties for the track. |
void |
setAnimationObjectContainerByRef(IAGAnimationContainer ppContainer)
The container of the animation objects attached to the tracks. |
void |
setAnimationTypeByRef(IAGAnimationType ppAnimationType)
The animation type. |
void |
setApplyToAllViewers(boolean pbApplyToAllViewers)
Indicates whether to apply a camera track to all viewers. |
void |
setAttachedObjects(IArray ppObjectArray)
The objects to which the track is attached, or null. |
void |
setBeginTime(double pBeginTime)
The initial time of the track. |
void |
setEndTime(double pEndTime)
The final time of the track. |
void |
setEvenTimeStamps(boolean pbEvenTimeStamps)
Indicates whether to distribute time stamps evenly in the interval 0-1. |
void |
setIsActiveProperty(int propIndex,
boolean pbIsActiveProp)
Indicates if an animation property is active. |
void |
setIsCycle(boolean pbIsCycle)
Indicates if the track is repeated periodically. |
void |
setIsEnabled(boolean pbIsEnabled)
Indicates if the track is enabled. |
void |
setName(java.lang.String name)
The name of the track. |
void |
sortKeyframes()
Sorts the keyframes in ascending time order. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AGAnimationTrack()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public AGAnimationTrack(java.lang.Object obj)
throws java.io.IOException
obj to AGAnimationTrack. AGAnimationTrack theAGAnimationTrack = (AGAnimationTrack) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IAGAnimationTrack getAsIAGAnimationTrack()
public IAGAnimationTrackKeyframes getAsIAGAnimationTrackKeyframes()
public IAGAnimationTrackExtensions getAsIAGAnimationTrackExtensions()
public IPersistStream getAsIPersistStream()
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String getName()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
getName in interface IAGAnimationTrackAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
setName in interface IAGAnimationTrackname - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IAGAnimationType IAGAnimationTrack_getAnimationType()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
IAGAnimationTrack_getAnimationType in interface IAGAnimationTrackAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setAnimationTypeByRef(IAGAnimationType ppAnimationType)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
setAnimationTypeByRef in interface IAGAnimationTrackppAnimationType - A reference to a com.esri.arcgis.animation.IAGAnimationType (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCycle()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
isCycle in interface IAGAnimationTrackjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsCycle(boolean pbIsCycle)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
setIsCycle in interface IAGAnimationTrackpbIsCycle - The pbIsCycle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getBeginTime()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
getBeginTime in interface IAGAnimationTrackAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setBeginTime(double pBeginTime)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
setBeginTime in interface IAGAnimationTrackpBeginTime - The pBeginTime (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getEndTime()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
getEndTime in interface IAGAnimationTrackjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEndTime(double pEndTime)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
setEndTime in interface IAGAnimationTrackpEndTime - The pEndTime (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnabled()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
isEnabled in interface IAGAnimationTrackAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setIsEnabled(boolean pbIsEnabled)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
setIsEnabled in interface IAGAnimationTrackpbIsEnabled - The pbIsEnabled (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setApplyToAllViewers(boolean pbApplyToAllViewers)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
setApplyToAllViewers in interface IAGAnimationTrackpbApplyToAllViewers - The pbApplyToAllViewers (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isApplyToAllViewers()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
isApplyToAllViewers in interface IAGAnimationTrackAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getAttachedObjectsCount()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
getAttachedObjectsCount in interface IAGAnimationTrackAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IArray getAttachedObjects()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
getAttachedObjects in interface IAGAnimationTrackAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isAttached(java.lang.Object pObject)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
isAttached in interface IAGAnimationTrackpObject - A reference to another Object (IUnknown) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAttachedObjects(IArray ppObjectArray)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
setAttachedObjects in interface IAGAnimationTrackppObjectArray - A reference to a com.esri.arcgis.system.IArray (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void attachObject(java.lang.Object pObject)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
attachObject in interface IAGAnimationTrackpObject - A reference to another Object (IUnknown) (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void detachObject(java.lang.Object pObject)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
detachObject in interface IAGAnimationTrackpObject - A reference to another Object (IUnknown) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void detachAllObjects()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
detachAllObjects in interface IAGAnimationTrackAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void resetAttachedObjects(IAGAnimationContainer pContainer)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
resetAttachedObjects in interface IAGAnimationTrackpContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interpolateObjectProperties(IAGAnimationContainer pContainer,
double time)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
interpolateObjectProperties in interface IAGAnimationTrackpContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)time - The time (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGAnimationContainer getAnimationObjectContainer()
throws java.io.IOException,
AutomationException
IAGAnimationTrack
getAnimationObjectContainer in interface IAGAnimationTrackAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setAnimationObjectContainerByRef(IAGAnimationContainer ppContainer)
throws java.io.IOException,
AutomationException
IAGAnimationTrack
setAnimationObjectContainerByRef in interface IAGAnimationTrackppContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILongArray getActiveProperties()
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframesThis property stores the indexes of all the active properties of an animation track.
getActiveProperties in interface IAGAnimationTrackKeyframesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setActiveProperties(ILongArray ppActiveProps)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
setActiveProperties in interface IAGAnimationTrackKeyframesppActiveProps - A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isActiveProperty(int propIndex)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
isActiveProperty in interface IAGAnimationTrackKeyframespropIndex - The propIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsActiveProperty(int propIndex,
boolean pbIsActiveProp)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
setIsActiveProperty in interface IAGAnimationTrackKeyframespropIndex - The propIndex (in)pbIsActiveProp - The pbIsActiveProp (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getKeyframeCount()
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
getKeyframeCount in interface IAGAnimationTrackKeyframesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGKeyframe IAGAnimationTrackKeyframes_getKeyframe(int index)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
IAGAnimationTrackKeyframes_getKeyframe in interface IAGAnimationTrackKeyframesindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGKeyframe createKeyframe(int index)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
createKeyframe in interface IAGAnimationTrackKeyframesindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void insertKeyframe(IAGKeyframe pKeyframe,
int index)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
insertKeyframe in interface IAGAnimationTrackKeyframespKeyframe - A reference to a com.esri.arcgis.animation.IAGKeyframe (in)index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeKeyframe(int index)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
removeKeyframe in interface IAGAnimationTrackKeyframesindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAllKeyframes()
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
removeAllKeyframes in interface IAGAnimationTrackKeyframesAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void findKeyframe(java.lang.String name,
IAGKeyframe[] ppKeyframe)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
findKeyframe in interface IAGAnimationTrackKeyframesname - The name (in)ppKeyframe - A reference to a com.esri.arcgis.animation.IAGKeyframe (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void moveKeyframe(int originIndex,
int destinationIndex)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframesThis method first insert the keyframe into the destination index, and then remove the original keyframe. Suppose that you have 3 keyframes in a track with indexes 0, 1 and 2. When executing "MoveKeyframe 0, 2", the procedure taken by this method is 0, 1, 2 -> 0, 1, 0, 2 -> 1, 0, 2. Therefore, keyframe 0 gets a new index of 1 after "MoveKeyframe 0, 2" is executed.
moveKeyframe in interface IAGAnimationTrackKeyframesoriginIndex - The originIndex (in)destinationIndex - The destinationIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sortKeyframes()
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
sortKeyframes in interface IAGAnimationTrackKeyframesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetTimeStamps()
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframesThis method redistributes keyframe time stamps in the interval [0, 1]. For example, if the EvenTimeStamps is set to be true, this method will redistribute the time stamps evenly in the interval [0, 1].
resetTimeStamps in interface IAGAnimationTrackKeyframesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void saveObjectProperties(IAGAnimationContainer pContainer,
int index)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
saveObjectProperties in interface IAGAnimationTrackKeyframespContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)index - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void restoreObjectProperties(IAGAnimationContainer pContainer,
int index)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
restoreObjectProperties in interface IAGAnimationTrackKeyframespContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)index - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setEvenTimeStamps(boolean pbEvenTimeStamps)
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
setEvenTimeStamps in interface IAGAnimationTrackKeyframespbEvenTimeStamps - The pbEvenTimeStamps (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEvenTimeStamps()
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
isEvenTimeStamps in interface IAGAnimationTrackKeyframesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGKeyframe getLastInterpolatedKeyframe()
throws java.io.IOException,
AutomationException
IAGAnimationTrackKeyframes
getLastInterpolatedKeyframe in interface IAGAnimationTrackKeyframesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getExtensionCount()
throws java.io.IOException,
AutomationException
IAGAnimationTrackExtensions
getExtensionCount in interface IAGAnimationTrackExtensionsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getExtension(int index)
throws java.io.IOException,
AutomationException
IAGAnimationTrackExtensions
getExtension in interface IAGAnimationTrackExtensionsindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addExtension(java.lang.Object ext)
throws java.io.IOException,
AutomationException
IAGAnimationTrackExtensions
addExtension in interface IAGAnimationTrackExtensionsext - A reference to another Object (IUnknown) (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void removeExtension(int index)
throws java.io.IOException,
AutomationException
IAGAnimationTrackExtensions
removeExtension in interface IAGAnimationTrackExtensionsindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
IPersistIPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||