public class BookMarkGroup extends BaseBookMark
限定符和类型 | 方法和说明 |
---|---|
void |
addBookMark(BaseBookMark bookMark)
添加书签
|
void |
addBookMarkAddedListener(BookMarkAddedListener l)
添加书签(书签组)添加事件监听
|
void |
addBookMarkClearedListener(BookMarkClearedListener l)
添加书签(书签组)清除事件监听
|
void |
addBookMarkRemovingListener(BookMarkRemovingListener l)
添加书签(书签组)移除事件监听
|
BaseBookMark |
createBookMark(String strName,
BookMarkType type)
创建书签或者书签组
|
void |
delete(String strName)
删除指定名称的书签(书签组)
|
void |
deleteAll()
删除所有书签(书签组)
|
void |
dispose()
释放对象
|
BaseBookMark[] |
getAllBookMark()
获取所有书签(书签组)
|
BaseBookMark |
getBookMarkByIndex(int ipos)
获取指定索引的书签(书签组)
|
BaseBookMark |
getBookMarkByName(String strName)
获取指定名称的书签(书签组)
|
int |
getCount()
获取书签(书签组)数量,只能获取第一级别子节点的所有书签或者书签组数量
|
void |
removeBookMarkAddedListener(BookMarkAddedListener l)
移除书签(书签组)添加事件监听
|
void |
removeBookMarkClearedListener(BookMarkClearedListener l)
移除书签(书签组)清除事件监听
|
void |
removeBookMarkRemovingListener(BookMarkRemovingListener l)
移除书签(书签组)移除事件监听
|
getBookMarkType, getCaption, getName, getParent, setCaption, setName
public BaseBookMark createBookMark(String strName, BookMarkType type)
strName
- 书签(书签组)名称type
- 书签类型public void deleteAll()
public void delete(String strName)
strName
- 书签名称public BaseBookMark getBookMarkByName(String strName)
strName
- 书签名称public BaseBookMark getBookMarkByIndex(int ipos)
ipos
- 书签索引public int getCount()
public BaseBookMark[] getAllBookMark()
public void addBookMark(BaseBookMark bookMark)
bookMark
- 返回所有书签public void dispose()
dispose
在接口中 IDisposable
dispose
在类中 BaseBookMark
public void addBookMarkClearedListener(BookMarkClearedListener l)
l
- 事件监听public void removeBookMarkClearedListener(BookMarkClearedListener l)
l
- 事件监听public void addBookMarkAddedListener(BookMarkAddedListener l)
l
- 事件监听public void removeBookMarkAddedListener(BookMarkAddedListener l)
l
- 事件监听public void addBookMarkRemovingListener(BookMarkRemovingListener l)
l
- 事件监听public void removeBookMarkRemovingListener(BookMarkRemovingListener l)
l
- 事件监听Copyright © 2021–2024 SuperMap. All rights reserved.