|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAGAnimationTrackKeyframes
Provides access to animation tracks that support keyframes.
This interface provides properties and methods for managing keyframes associated with the track.
Method Summary | |
---|---|
IAGKeyframe |
createKeyframe(int index)
Creates a new keyframe of the appropriate type and inserts it. |
void |
findKeyframe(String name,
IAGKeyframe[] ppKeyframe)
Finds a keyframe by name. |
ILongArray |
getActiveProperties()
The combination of active properties for the track. |
int |
getKeyframeCount()
The number of keyframes defined in the track. |
IAGKeyframe |
getLastInterpolatedKeyframe()
The last keyframe that was interpolated in the track. |
IAGKeyframe |
IAGAnimationTrackKeyframes_getKeyframe(int index)
The keyframe with the given index in the track. |
void |
insertKeyframe(IAGKeyframe pKeyframe,
int index)
Inserts a new keyframe. |
boolean |
isActiveProperty(int propIndex)
Indicates if an animation property is active. |
boolean |
isEvenTimeStamps()
Indicates whether to distribute time stamps evenly in the interval 0-1. |
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 |
removeKeyframe(int index)
Removes the keyframe with the given index. |
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 |
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 |
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 |
sortKeyframes()
Sorts the keyframes in ascending time order. |
Method Detail |
---|
ILongArray getActiveProperties() throws IOException, AutomationException
This property stores the indexes of all the active properties of an animation track.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setActiveProperties(ILongArray ppActiveProps) throws IOException, AutomationException
ppActiveProps
- A reference to a com.esri.arcgis.system.ILongArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isActiveProperty(int propIndex) throws IOException, AutomationException
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsActiveProperty(int propIndex, boolean pbIsActiveProp) throws IOException, AutomationException
propIndex
- The propIndex (in)pbIsActiveProp
- The pbIsActiveProp (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getKeyframeCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IAGKeyframe IAGAnimationTrackKeyframes_getKeyframe(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IAGKeyframe createKeyframe(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void insertKeyframe(IAGKeyframe pKeyframe, int index) throws IOException, AutomationException
pKeyframe
- 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.void removeKeyframe(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAllKeyframes() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void findKeyframe(String name, IAGKeyframe[] ppKeyframe) throws IOException, AutomationException
name
- 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.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.
originIndex
- The originIndex (in)destinationIndex
- The destinationIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void sortKeyframes() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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].
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void saveObjectProperties(IAGAnimationContainer pContainer, int index) throws IOException, AutomationException
pContainer
- 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.void restoreObjectProperties(IAGAnimationContainer pContainer, int index) throws IOException, AutomationException
pContainer
- 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.void setEvenTimeStamps(boolean pbEvenTimeStamps) throws IOException, AutomationException
pbEvenTimeStamps
- The pbEvenTimeStamps (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isEvenTimeStamps() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IAGKeyframe getLastInterpolatedKeyframe() throws IOException, AutomationException
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 |