|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.animation.AGAnimationEnvironment
public class AGAnimationEnvironment
Animation Environment for animation state and global options.
Constructor Summary | |
---|---|
AGAnimationEnvironment()
Constructs a AGAnimationEnvironment using ArcGIS Engine. |
|
AGAnimationEnvironment(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AGAnimationEnvironment theAGAnimationEnvironment = (AGAnimationEnvironment) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
int |
getAnimationControlsHWnd()
The window handle of the animation controls dialog. |
double |
getAnimationDuration()
The duration of the animation in seconds. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getNumberofFrames()
The number of frames that will be displayed in the animation. |
void |
getPlayInterval(double[] pBeginTime,
double[] pEndTime)
Gets the begin and end times of play interval. |
void |
getPlayIntervalFrames(int[] pBeginFrame,
int[] pEndFrame)
Gets the begin and end frame number when playing by frames. |
int |
getPlayMode()
The play mode (once/loop, forward/reverse). |
double |
getPlayTime()
The current animation time during playing. |
int |
getPlayType()
The play type, play based on duration or number of frames). |
IAGAnimationType |
getSelectedAGAnimationType()
The selected animation type. |
ILongArray |
getSelectedKeyframes()
The indices of the selected animation keyframes. |
IArray |
getSelectedTracks()
The selected animation tracks. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getState()
The play or recording state. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isIntervalPlay()
Indicates whether to play only part of the animation. |
boolean |
isPlayInAllViewers()
Indicates if the option to play camera animations in for all viewers. |
boolean |
isRestoreState()
Indicates the state of display after animation stops. |
void |
load(IStream pstm)
load |
void |
putPlayInterval(double beginTime,
double endTime)
Sets the begin and end times of play interval. |
void |
putPlayIntervalFrames(int beginFrame,
int endFrame)
Sets the begin and end frame number when playing by frames. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setAnimationControlsHWnd(int phWnd)
The window handle of the animation controls dialog. |
void |
setAnimationDuration(double pSeconds)
The duration of the animation in seconds. |
void |
setIsIntervalPlay(boolean pbIsInterval)
Indicates whether to play only part of the animation. |
void |
setNumberofFrames(int pFrames)
The number of frames that will be displayed in the animation. |
void |
setPlayInAllViewers(boolean pbPlayInAll)
Indicates if the option to play camera animations in for all viewers. |
void |
setPlayMode(int pPlayMode)
The play mode (once/loop, forward/reverse). |
void |
setPlayTime(double pTime)
The current animation time during playing. |
void |
setPlayType(int pPlayType)
The play type, play based on duration or number of frames). |
void |
setRestoreState(boolean pRestoreState)
Indicates the state of display after animation stops. |
void |
setSelectedAGAnimationTypeByRef(IAGAnimationType ppAnimType)
The selected animation type. |
void |
setSelectedKeyframesByRef(ILongArray ppIndices)
The indices of the selected animation keyframes. |
void |
setSelectedTracksByRef(IArray ppTracks)
The selected animation tracks. |
void |
setState(int pState)
The play or recording state. |
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 AGAnimationEnvironment() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic AGAnimationEnvironment(Object obj) throws IOException
AGAnimationEnvironment theAGAnimationEnvironment = (AGAnimationEnvironment) obj;
obj
to AGAnimationEnvironment
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IAGAnimationType getSelectedAGAnimationType() throws IOException, AutomationException
getSelectedAGAnimationType
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectedAGAnimationTypeByRef(IAGAnimationType ppAnimType) throws IOException, AutomationException
setSelectedAGAnimationTypeByRef
in interface IAGAnimationEnvironment
ppAnimType
- 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 IArray getSelectedTracks() throws IOException, AutomationException
getSelectedTracks
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectedTracksByRef(IArray ppTracks) throws IOException, AutomationException
setSelectedTracksByRef
in interface IAGAnimationEnvironment
ppTracks
- 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 ILongArray getSelectedKeyframes() throws IOException, AutomationException
getSelectedKeyframes
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectedKeyframesByRef(ILongArray ppIndices) throws IOException, AutomationException
setSelectedKeyframesByRef
in interface IAGAnimationEnvironment
ppIndices
- 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 int getState() throws IOException, AutomationException
getState
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setState(int pState) throws IOException, AutomationException
setState
in interface IAGAnimationEnvironment
pState
- A com.esri.arcgis.animation.esriAnimationState constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAnimationDuration() throws IOException, AutomationException
getAnimationDuration
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAnimationDuration(double pSeconds) throws IOException, AutomationException
setAnimationDuration
in interface IAGAnimationEnvironment
pSeconds
- The pSeconds (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNumberofFrames() throws IOException, AutomationException
getNumberofFrames
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNumberofFrames(int pFrames) throws IOException, AutomationException
setNumberofFrames
in interface IAGAnimationEnvironment
pFrames
- The pFrames (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIntervalPlay() throws IOException, AutomationException
isIntervalPlay
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsIntervalPlay(boolean pbIsInterval) throws IOException, AutomationException
setIsIntervalPlay
in interface IAGAnimationEnvironment
pbIsInterval
- The pbIsInterval (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getPlayInterval(double[] pBeginTime, double[] pEndTime) throws IOException, AutomationException
getPlayInterval
in interface IAGAnimationEnvironment
pBeginTime
- The pBeginTime (out: use single element array)pEndTime
- The pEndTime (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putPlayInterval(double beginTime, double endTime) throws IOException, AutomationException
putPlayInterval
in interface IAGAnimationEnvironment
beginTime
- The beginTime (in)endTime
- The endTime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getPlayIntervalFrames(int[] pBeginFrame, int[] pEndFrame) throws IOException, AutomationException
getPlayIntervalFrames
in interface IAGAnimationEnvironment
pBeginFrame
- The pBeginFrame (out: use single element array)pEndFrame
- The pEndFrame (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putPlayIntervalFrames(int beginFrame, int endFrame) throws IOException, AutomationException
putPlayIntervalFrames
in interface IAGAnimationEnvironment
beginFrame
- The beginFrame (in)endFrame
- The endFrame (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAnimationControlsHWnd() throws IOException, AutomationException
getAnimationControlsHWnd
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAnimationControlsHWnd(int phWnd) throws IOException, AutomationException
setAnimationControlsHWnd
in interface IAGAnimationEnvironment
phWnd
- The phWnd (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPlayTime() throws IOException, AutomationException
getPlayTime
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlayTime(double pTime) throws IOException, AutomationException
setPlayTime
in interface IAGAnimationEnvironment
pTime
- The pTime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPlayInAllViewers() throws IOException, AutomationException
isPlayInAllViewers
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlayInAllViewers(boolean pbPlayInAll) throws IOException, AutomationException
setPlayInAllViewers
in interface IAGAnimationEnvironment
pbPlayInAll
- The pbPlayInAll (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPlayMode() throws IOException, AutomationException
getPlayMode
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlayMode(int pPlayMode) throws IOException, AutomationException
setPlayMode
in interface IAGAnimationEnvironment
pPlayMode
- A com.esri.arcgis.animation.esriAnimationPlayMode constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPlayType() throws IOException, AutomationException
getPlayType
in interface IAGAnimationEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlayType(int pPlayType) throws IOException, AutomationException
setPlayType
in interface IAGAnimationEnvironment
pPlayType
- A com.esri.arcgis.animation.esriAnimationPlayType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRestoreState(boolean pRestoreState) throws IOException, AutomationException
setRestoreState
in interface IAGAnimationEnvironment
pRestoreState
- The pRestoreState (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRestoreState() throws IOException, AutomationException
isRestoreState
in interface IAGAnimationEnvironment
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 IPersistStream
IOException
- 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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 IPersist
pClassID
- 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |