com.supermap.mobjects.situationsimulation

类 DeductionScriptGroup

  • java.lang.Object
    • com.supermap.data.InternalHandle
      • com.supermap.data.InternalHandleDisposable
        • com.supermap.mobjects.situationsimulation.DeductionScriptGroup
  • 所有已实现的接口:
    IDisposable


    public class DeductionScriptGroup
    extends com.supermap.data.InternalHandleDisposable
    态势仿真脚本组类
    • 构造器详细资料

      • DeductionScriptGroup

        public DeductionScriptGroup()
        构造函数
      • DeductionScriptGroup

        public DeductionScriptGroup(DeductionScriptGroup other)
        拷贝构造函数。 param other 被拷贝对象。
    • 方法详细资料

      • dispose

        public void dispose()
        释放对象
      • getDeductionScript

        public DeductionScript getDeductionScript(String strUuid)
        从脚本组中获取脚本。
        参数:
        strUuid - 脚本绑定的地理实体UUID。
        返回:
        成功返回地理实体脚本,失败返回null。
      • remove

        public void remove(String strUuid)
        从脚本组中y移除脚本。
        参数:
        strUuid - 脚本绑定的地理实体UUID。
      • add

        public void add(DeductionScript deductionScript)
        添加地理实体脚本到脚本组。
        参数:
        deductionScript - 地理实体脚本。
      • getAllDeductionScript

        public ArrayList<DeductionScript> getAllDeductionScript()
        获取脚本组中所有的脚本。
        返回:
        脚本列表。
      • getGroupName

        public String getGroupName()
        获取脚本组名
        返回:
        脚本组名。
      • setGroupName

        public void setGroupName(String strGroupName)
        设置脚本组名。
        参数:
        strGroupName - 脚本组名。
      • addExtendDeductionScript

        public void addExtendDeductionScript()
        添加扩展特效脚本;默认带有扩展脚本,移除之后可重新添加。
      • removeExtendDeductionScript

        public void removeExtendDeductionScript()
        移除扩展特效脚本。
      • isHasExtendDeductionScript

        public boolean isHasExtendDeductionScript()
        是否存在扩展脚本。
        返回:
        是否存在扩展脚本。
      • setExtendEffect

        public void setExtendEffect(int nTime,
                                    ArrayList<GeoEntityEffectExtend> arrayList)
        设置某个时间的扩展特效。
        参数:
        nTime - 时间。
        arrayList - 扩展特效。
      • removeExtendEffect

        public void removeExtendEffect(int nTime)
        删除某个时间的扩展特效。
        参数:
        nTime - 时间。
      • getExtendDeductionScriptDelayFinishTime

        public double getExtendDeductionScriptDelayFinishTime()
        获取扩展特效脚本执行完毕后延迟结束时间。
        返回:
        延迟结束时间。
      • setExtendDeductionScriptDelayFinishTime

        public void setExtendDeductionScriptDelayFinishTime(double dDelayTime)
        设置扩展特效脚本执行完毕后延迟结束时间。
        参数:
        dDelayTime - 延迟结束时间。
      • addPerspectiveDeductionScript

        public void addPerspectiveDeductionScript()
        添加视角改变脚本
      • removePerspectiveDeductionScript

        public void removePerspectiveDeductionScript()
        移除视角改变脚本
      • isHasPerspectiveDeductionScript

        public boolean isHasPerspectiveDeductionScript()
        移除视角改变脚本
      • getPerspectiveChangeParameters

        public Map<Integer,PerspectiveChangeParameter> getPerspectiveChangeParameters()
        获取所有的视角转换参数(每个时间对应的视角转换参数)
        返回:
        脚本中所有的视角转换参数
      • setPerspectiveChangeParameter

        public void setPerspectiveChangeParameter(int nTime,
                                                  PerspectiveChangeParameter param)
        设置某个时间的视角转换参数
        参数:
        nTime - 时间
        param - 视角转换参数
      • removePerspectiveChangeParameter

        public void removePerspectiveChangeParameter(int nTime)
        删除某个时间的视角转换参数
        参数:
        nTime - 时间
      • getPerspectiveDeductionScriptDelayFinishTime

        public double getPerspectiveDeductionScriptDelayFinishTime()
        获取视角转换脚本执行完毕后延迟结束时间
        返回:
        延迟结束时间
      • setPerspectiveDeductionScriptDelayFinishTime

        public void setPerspectiveDeductionScriptDelayFinishTime(double dDelayTime)
        设置视角转换脚本执行完毕后延迟结束时间
        参数:
        dDelayTime - 延迟结束时间
      • setExtendScriptIsPlay

        public void setExtendScriptIsPlay(boolean isPlay)
        设置扩展脚本是否参与执行
        参数:
        isPlay - 是否参与执行
      • getExtendScriptIsPlay

        public boolean getExtendScriptIsPlay()
        获取扩展脚本是否参与执行
        返回:
        参与执行返回true,否则返回false
      • setPerspectiveScriptIsPlay

        public void setPerspectiveScriptIsPlay(boolean isPlay)
        设置扩展脚本是否参与执行
        参数:
        isPlay - 是否参与执行
      • getPerspectiveScriptIsPlay

        public boolean getPerspectiveScriptIsPlay()
        获取扩展脚本是否参与执行
        返回:
        参与执行返回true,否则返回false

Copyright © 2021–2024 SuperMap. All rights reserved.