public class AnimationManager
extends com.supermap.data.InternalHandleDisposable
public void dispose()
public AnimationGO createAnimation(AnimationDefine.AnimationType type, String strUuid)
type
- 动画类型Uuid
- 几何对象uuidpublic void play(boolean bContinuously)
public void play()
public void stop()
public void pause()
public void reset()
public void preview()
public void execute()
public void playAfterLastOne(AnimationGO pAnimation)
pAnimation
- 当前选中的动画public void playSameLastOne(AnimationGO pAnimation)
pAnimation
- 当前选中的动画public void playFirst(AnimationGO pAnimation)
pAnimation
- 当前选中的动画public void moveAnimation(AnimationGO pAnimation, int indexTargetGroup, int indexTargetAnimation)
pAnimation
- 当前选中的动画indexTargetGroup
- 目标动画组的位置索引indexTargetAnimation
- 目标动画的位置索引public void deleteAnimation(String strAnimationName)
strAnimationName
- 动画名称public void deleteAnimations(List<String> listAnimationNames)
listAnimationNames
- 动画名称列表@Deprecated public int IndexOfGroup(AnimationGroup pGroup)
public int indexOfGroup(AnimationGroup pGroup)
public AnimationGroup addAnimationGroup()
public AnimationGroup getGroupByName(String groupName)
groupName
- 动画组名称public AnimationGroup getGroupByIndex(int ipos)
ipos
- 动画组索引public int getGroupCount()
public int getAllAnimationCount()
public void deleteAllGroup()
@Deprecated public boolean setPlayRang(int iStartGroup, int iCount)
@Deprecated public int getStartGroupOfPlayRang()
@Deprecated public int getEndGroupOfPlayRang()
public boolean setPlayRange(int iStartGroup, int iCount)
iStartGroup
- 起始播放组iCount
- 播放数量public int getStartGroupOfPlayRange()
public int getEndGroupOfPlayRange()
public int getCountOfPlayRange()
public String getCurrentGroup()
public boolean geoJsonToAnimations(String strGeoJson)
strGeoJson
- 动画脚本public void initAnimations()
@Deprecated public String animationsToGeoJson1(int start, int end)
public String animationsToGeoJson()
public boolean XMLToAnimations(String strXML)
strXML
- 动画脚本public String animationsToXML()
public AnimationGO[] getAllAnimationByUUID(String UuID)
UuID
- geometry对象的UUIDpublic AnimationGO[] getAllAnimation()
public boolean deleteAllAnimationByUUID(String UuID)
UuID
- geometry对象的UUIDpublic String getAnimationLabel(String strUuid)
uuid
- 几何对象的uuidpublic boolean deleteEmptyGroup()
public boolean setGeometry(String strUuid, AnimationGO animationGOExp)
strUuid
- geometry对象的UUIDanimationGOExp
- 动画public double getTime()
public double getDuration()
public void seekTime(double time)
time
- 快进或快退动画到指定时长public void setPlayRate(double rate)
rate
- 倍率public double getPlayRate()
public void setPlayContinuously(boolean playContinuously)
playContinuously
- 连续播放public boolean isPlayContinuously()
public AnimationStatus getAnimationStatus()
public double getAnimationReferenceTime(AnimationGO pAnimation)
pAnimation
- 当前选中的动画public void addAnimationPlayBeginListener(AnimationPlayBeginListener l)
l
- 事件监听public void removeAnimationPlayBeginListener(AnimationPlayBeginListener l)
l
- 事件监听public void addAnimationPlayFinishListener(AnimationPlayFinishListener l)
l
- 事件监听public void removeAnimationPlayFinishListener(AnimationPlayFinishListener l)
l
- 事件监听public void addAnimationDeletedListener(AnimationDeletedListener l)
l
- 事件监听public void removeAnimationDeletedListener(AnimationDeletedListener l)
l
- 事件监听public void addAnimationsDeletedListener(AnimationsDeletedListener l)
l
- 事件监听public void removeAnimationsDeletedListener(AnimationsDeletedListener l)
l
- 事件监听public void addAnimationGroupAddedListener(AnimationGroupAddedListener l)
l
- 事件监听public void removeAnimationGroupAddedListener(AnimationGroupAddedListener l)
l
- 事件监听public void addAnimationGroupDeletedListener(AnimationGroupDeletedListener l)
l
- 事件监听public void removeAnimationGroupDeletedListener(AnimationGroupDeletedListener l)
l
- 事件监听public void addAnimationAddedListener(AnimationAddedListener l)
l
- 事件监听public void removeAnimationAddedListener(AnimationAddedListener l)
l
- 事件监听public void addXmlOrJsonLoadedListener(XmlOrJsonLoadedListener l)
l
- 事件监听public void removeXmlOrJsonLoadedListener(XmlOrJsonLoadedListener l)
l
- 事件监听public void addAnimationStatusChangedListener(AnimationStatusChangedListener l)
l
- 事件监听public void removeAnimationStatusChangedListener(AnimationStatusChangedListener l)
l
- 事件监听public static boolean verifyLicense()
Copyright © 2021–2024 SuperMap. All rights reserved.