com.supermap.plot
类 AnimationGO

java.lang.Object
  继承者 com.supermap.plot.AnimationGO

public class AnimationGO
extends java.lang.Object

所有动画的基类。该类提供了所有动画共有的的一系列属性。


构造方法摘要
AnimationGO()
          构造函数
AnimationGO(long handle)
          通过动画句柄构造函数
 
方法摘要
 void dispose()
          释放AnimationGO对象
 AnimationDefine.AnimationType getAnimationType()
          获取动画的类型
 double getComplete()
          根据时间获取动画当前的比例
 java.lang.String getControlName()
          获取二维地图控件对象或三维场景对象名称
 double getDuration()
          获取动画的播放时长
 int getGeometryID()
          取动画的Geometry对象ID
 java.lang.String getGeometryUuID()
          获取动画的Geometry对象UUID
 java.lang.String getLayerName()
          获取图层名称
 long getmHandle()
          获取动画句柄
 java.lang.String getName()
          获取动画的名称
 double getStartTime()
          获取动画的开始播放时间
 boolean setDuration(double Timelong)
          设置动画的播放时长
 void setGeometry(java.lang.String geometryUuID)
          设置添加动画的Geometry对象
 void setGeometry2D(Geometry3D pGeometry3d, MapControl pMapControl, java.lang.String layerName)
          该方法已废弃 设置添加动画的Geometry对象
 void setGeometry3D(Geometry3D pGeometry3d, SceneControl pSceneControl, java.lang.String layerName)
          该方法已废弃 设置添加动画的Geometry对象
 boolean setName(java.lang.String name)
          设置动画的名称
 boolean setStartTime(double nStartTime)
          设置动画的开始播放时间
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AnimationGO

public AnimationGO(long handle)
通过动画句柄构造函数

参数:
handle - 动画句柄

AnimationGO

public AnimationGO()
构造函数

方法详细信息

getAnimationType

public AnimationDefine.AnimationType getAnimationType()
获取动画的类型

返回:
动画类型

setGeometry3D

public void setGeometry3D(Geometry3D pGeometry3d,
                          SceneControl pSceneControl,
                          java.lang.String layerName)
该方法已废弃 设置添加动画的Geometry对象

参数:
pGeometry3d - 创建动画的Geometry对象
pSceneControl - 三维场景对象
layerName - 对象所在的图层名

setGeometry2D

public void setGeometry2D(Geometry3D pGeometry3d,
                          MapControl pMapControl,
                          java.lang.String layerName)
该方法已废弃 设置添加动画的Geometry对象

参数:
pGeometry3d - 创建动画的Geometry对象
pMapControl - 二维场景对象
layerName - 对象所在的图层名

setGeometry

public void setGeometry(java.lang.String geometryUuID)
设置添加动画的Geometry对象

参数:
geometryUuID - 创建动画的Geometry对象的UUID

getGeometryID

public int getGeometryID()
取动画的Geometry对象ID

返回:
Geometry对象ID

getGeometryUuID

public java.lang.String getGeometryUuID()
获取动画的Geometry对象UUID

返回:
Geometry对象UUID

setName

public boolean setName(java.lang.String name)
设置动画的名称

参数:
name - 动画的名称
返回:
设置成功返回TRUE,否则返回FALSE

getName

public java.lang.String getName()
获取动画的名称

返回:
动画的名称

setStartTime

public boolean setStartTime(double nStartTime)
设置动画的开始播放时间

参数:
nStartTime - 动画的开始播放时间
返回:
设置成功返回TRUE,否则返回FALSE

getStartTime

public double getStartTime()
获取动画的开始播放时间

返回:
动画的开始播放时间

setDuration

public boolean setDuration(double Timelong)
设置动画的播放时长

参数:
Timelong - 动画的播放时长
返回:
设置成功返回TRUE,否则返回FALSE

getDuration

public double getDuration()
获取动画的播放时长

返回:
动画的播放时长

getComplete

public double getComplete()
根据时间获取动画当前的比例

返回:
动画当前的比例

getControlName

public java.lang.String getControlName()
获取二维地图控件对象或三维场景对象名称

返回:
二维地图控件对象或三维场景对象名称

getLayerName

public java.lang.String getLayerName()
获取图层名称

返回:
图层名称

dispose

public void dispose()
释放AnimationGO对象


getmHandle

public long getmHandle()
获取动画句柄

返回:
动画句柄