public class BookMarkManager
extends com.supermap.data.InternalHandleDisposable
public BaseBookMark createBookMark(String strName, BookMarkType type)
strName
- 书签名称type
- 书签类型public void deleteAll()
public void delete(String strName)
名称
- public void moveBookMark(BaseBookMark pSrcBookMark, BaseBookMark pTargetParentBookMark, int index)
pSrcBookMark
- 需要移动的书签pTargetParentBookMark
- 目标组书签index
- 目标组中的索引public String saveToXML()
public boolean getFromXML(String strXML)
strXML
- 书签XML脚本文件。public int getCount()
public BaseBookMark getBookMarkBox()
public BaseBookMark[] getAllBookMark()
public boolean isExist(String strName)
public void addBookMarkAddedListener(BookMarkAddedListener l)
l
- 事件监听public void removeBookMarkAddedListener(BookMarkAddedListener l)
l
- 事件监听public void addBookMarkRemovingListener(BookMarkRemovingListener l)
l
- 事件监听public void removeBookMarkRemovingListener(BookMarkRemovingListener l)
l
- 事件监听public void addBookMarkClearedListener(BookMarkClearedListener l)
l
- 事件监听public void removeBookMarkClearedListener(BookMarkClearedListener l)
l
- 事件监听public void addBookMarkLoadedListener(BookMarkXmlLoadedListener l)
l
- 事件监听public void removeXmlOrJsonLoadedListener(BookMarkXmlLoadedListener l)
public void dispose()
Copyright © 2021–2024 SuperMap. All rights reserved.