public class BookMarkBox extends BookMarkGroup
限定符和类型 | 方法和说明 |
---|---|
void |
addBookMarkLoadedListener(BookMarkXmlLoadedListener l)
添加书签(书签组)加载事件监听
|
BaseBookMark |
createBookMarkGroup(String strName)
创建书签组
|
void |
fireXmlOrJsonLoaded(BookMarkXmlLoadedEvent event)
触发书签(书签组)加载事件监听
|
boolean |
getFromXML(String strXML)
根据书签的XML脚本文件创建书签。
|
boolean |
isExist(String strName)
判断是否已经存在同名书签(书签组)
|
void |
moveBookMark(BaseBookMark pSrcBookMark,
BaseBookMark pTargetParentBookMark,
int index)
移动书签
|
void |
removeXmlOrJsonLoadedListener(BookMarkXmlLoadedListener l)
移除书签(书签组)加载事件监听
|
String |
saveToXML()
创建书签XML脚本文件。
|
addBookMark, addBookMarkAddedListener, addBookMarkClearedListener, addBookMarkRemovingListener, createBookMark, delete, deleteAll, dispose, getAllBookMark, getBookMarkByIndex, getBookMarkByName, getCount, removeBookMarkAddedListener, removeBookMarkClearedListener, removeBookMarkRemovingListener
getBookMarkType, getCaption, getName, getParent, setCaption, setName
public BaseBookMark createBookMarkGroup(String strName)
strName
- 书签组名称public boolean isExist(String strName)
strName
- public String saveToXML()
public boolean getFromXML(String strXML)
strXML
- strXML书签XML脚本文件。public void moveBookMark(BaseBookMark pSrcBookMark, BaseBookMark pTargetParentBookMark, int index)
pSrcBookMark
- 需要移动的书签pTargetParentBookMark
- 目标组书签index
- 目标组中的索引public void addBookMarkLoadedListener(BookMarkXmlLoadedListener l)
l
- 事件监听public void removeXmlOrJsonLoadedListener(BookMarkXmlLoadedListener l)
l
- 事件监听public void fireXmlOrJsonLoaded(BookMarkXmlLoadedEvent event)
event
- 事件监听Copyright © 2021–2024 SuperMap. All rights reserved.