|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.animation.AGAnimationTrack
public class AGAnimationTrack
The Animation Track coclass.
| Constructor Summary | |
|---|---|
AGAnimationTrack()
Constructs a AGAnimationTrack using ArcGIS Engine. |
|
AGAnimationTrack(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AGAnimationTrack theAGAnimationTrack = (AGAnimationTrack) obj; |
|
| Method Summary | |
|---|---|
void |
addExtension(Object ext)
Adds a new extension. |
void |
attachObject(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(Object pObject)
Detach object from the track. |
boolean |
equals(Object o)
Compare this object with another |
void |
findKeyframe(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. |
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)
getClassID |
static String |
getClsid()
getClsid. |
double |
getEndTime()
The final time of the track. |
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. |
String |
getName()
The name of the track. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
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(Object pObject)
Indicates if the given object is attached to the track. |
boolean |
isCycle()
Indicates if the track is repeated periodically. |
void |
isDirty()
isDirty |
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)
load |
void |
moveKeyframe(int originIndex,
int destinationIndex)
Moves the keyframe with the given index, inserting it with a different index. |
void |
readExternal(ObjectInput in)
|
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)
save |
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(String name)
The name of the track. |
void |
sortKeyframes()
Sorts the keyframes in ascending time order. |
void |
writeExternal(ObjectOutput out)
|
| 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 AGAnimationTrack()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public AGAnimationTrack(Object obj)
throws IOException
AGAnimationTrack theAGAnimationTrack = (AGAnimationTrack) obj;
obj to AGAnimationTrack.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getName()
throws IOException,
AutomationException
getName in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String name)
throws IOException,
AutomationException
setName in interface IAGAnimationTrackname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGAnimationType IAGAnimationTrack_getAnimationType()
throws IOException,
AutomationException
IAGAnimationTrack_getAnimationType in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAnimationTypeByRef(IAGAnimationType ppAnimationType)
throws IOException,
AutomationException
setAnimationTypeByRef in interface IAGAnimationTrackppAnimationType - A reference to a com.esri.arcgis.animation.IAGAnimationType (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCycle()
throws IOException,
AutomationException
isCycle in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsCycle(boolean pbIsCycle)
throws IOException,
AutomationException
setIsCycle in interface IAGAnimationTrackpbIsCycle - The pbIsCycle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getBeginTime()
throws IOException,
AutomationException
getBeginTime in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBeginTime(double pBeginTime)
throws IOException,
AutomationException
setBeginTime in interface IAGAnimationTrackpBeginTime - The pBeginTime (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getEndTime()
throws IOException,
AutomationException
getEndTime in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEndTime(double pEndTime)
throws IOException,
AutomationException
setEndTime in interface IAGAnimationTrackpEndTime - The pEndTime (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnabled()
throws IOException,
AutomationException
isEnabled in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsEnabled(boolean pbIsEnabled)
throws IOException,
AutomationException
setIsEnabled in interface IAGAnimationTrackpbIsEnabled - The pbIsEnabled (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setApplyToAllViewers(boolean pbApplyToAllViewers)
throws IOException,
AutomationException
setApplyToAllViewers in interface IAGAnimationTrackpbApplyToAllViewers - The pbApplyToAllViewers (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isApplyToAllViewers()
throws IOException,
AutomationException
isApplyToAllViewers in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAttachedObjectsCount()
throws IOException,
AutomationException
getAttachedObjectsCount in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getAttachedObjects()
throws IOException,
AutomationException
getAttachedObjects in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAttached(Object pObject)
throws IOException,
AutomationException
isAttached in interface IAGAnimationTrackpObject - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAttachedObjects(IArray ppObjectArray)
throws IOException,
AutomationException
setAttachedObjects in interface IAGAnimationTrackppObjectArray - A reference to a com.esri.arcgis.system.IArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void attachObject(Object pObject)
throws IOException,
AutomationException
attachObject in interface IAGAnimationTrackpObject - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void detachObject(Object pObject)
throws IOException,
AutomationException
detachObject in interface IAGAnimationTrackpObject - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void detachAllObjects()
throws IOException,
AutomationException
detachAllObjects in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetAttachedObjects(IAGAnimationContainer pContainer)
throws IOException,
AutomationException
resetAttachedObjects in interface IAGAnimationTrackpContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interpolateObjectProperties(IAGAnimationContainer pContainer,
double time)
throws IOException,
AutomationException
interpolateObjectProperties in interface IAGAnimationTrackpContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)time - The time (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGAnimationContainer getAnimationObjectContainer()
throws IOException,
AutomationException
getAnimationObjectContainer in interface IAGAnimationTrackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAnimationObjectContainerByRef(IAGAnimationContainer ppContainer)
throws IOException,
AutomationException
setAnimationObjectContainerByRef in interface IAGAnimationTrackppContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILongArray getActiveProperties()
throws IOException,
AutomationException
This property stores the indexes of all the active properties of an animation track.
getActiveProperties in interface IAGAnimationTrackKeyframesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setActiveProperties(ILongArray ppActiveProps)
throws IOException,
AutomationException
setActiveProperties in interface IAGAnimationTrackKeyframesppActiveProps - A reference to a com.esri.arcgis.system.ILongArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isActiveProperty(int propIndex)
throws IOException,
AutomationException
isActiveProperty in interface IAGAnimationTrackKeyframespropIndex - The propIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsActiveProperty(int propIndex,
boolean pbIsActiveProp)
throws IOException,
AutomationException
setIsActiveProperty in interface IAGAnimationTrackKeyframespropIndex - The propIndex (in)pbIsActiveProp - The pbIsActiveProp (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getKeyframeCount()
throws IOException,
AutomationException
getKeyframeCount in interface IAGAnimationTrackKeyframesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGKeyframe IAGAnimationTrackKeyframes_getKeyframe(int index)
throws IOException,
AutomationException
IAGAnimationTrackKeyframes_getKeyframe in interface IAGAnimationTrackKeyframesindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGKeyframe createKeyframe(int index)
throws IOException,
AutomationException
createKeyframe in interface IAGAnimationTrackKeyframesindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void insertKeyframe(IAGKeyframe pKeyframe,
int index)
throws IOException,
AutomationException
insertKeyframe in interface IAGAnimationTrackKeyframespKeyframe - A reference to a com.esri.arcgis.animation.IAGKeyframe (in)index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeKeyframe(int index)
throws IOException,
AutomationException
removeKeyframe in interface IAGAnimationTrackKeyframesindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAllKeyframes()
throws IOException,
AutomationException
removeAllKeyframes in interface IAGAnimationTrackKeyframesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findKeyframe(String name,
IAGKeyframe[] ppKeyframe)
throws IOException,
AutomationException
findKeyframe in interface IAGAnimationTrackKeyframesname - The name (in)ppKeyframe - A reference to a com.esri.arcgis.animation.IAGKeyframe (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveKeyframe(int originIndex,
int destinationIndex)
throws IOException,
AutomationException
This 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sortKeyframes()
throws IOException,
AutomationException
sortKeyframes in interface IAGAnimationTrackKeyframesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetTimeStamps()
throws IOException,
AutomationException
This 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 IAGAnimationTrackKeyframesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void saveObjectProperties(IAGAnimationContainer pContainer,
int index)
throws IOException,
AutomationException
saveObjectProperties in interface IAGAnimationTrackKeyframespContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void restoreObjectProperties(IAGAnimationContainer pContainer,
int index)
throws IOException,
AutomationException
restoreObjectProperties in interface IAGAnimationTrackKeyframespContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEvenTimeStamps(boolean pbEvenTimeStamps)
throws IOException,
AutomationException
setEvenTimeStamps in interface IAGAnimationTrackKeyframespbEvenTimeStamps - The pbEvenTimeStamps (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEvenTimeStamps()
throws IOException,
AutomationException
isEvenTimeStamps in interface IAGAnimationTrackKeyframesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAGKeyframe getLastInterpolatedKeyframe()
throws IOException,
AutomationException
getLastInterpolatedKeyframe in interface IAGAnimationTrackKeyframesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getExtensionCount()
throws IOException,
AutomationException
getExtensionCount in interface IAGAnimationTrackExtensionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getExtension(int index)
throws IOException,
AutomationException
getExtension in interface IAGAnimationTrackExtensionsindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addExtension(Object ext)
throws IOException,
AutomationException
addExtension in interface IAGAnimationTrackExtensionsext - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeExtension(int index)
throws IOException,
AutomationException
removeExtension in interface IAGAnimationTrackExtensionsindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||