|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBookmarkModel
A model used for implementing a bookmark concept within the Gantt chart. When a bookmark model has been assigned to the Gantt chart then the Gantt chart will display a navigation control in the upper-right corner of the layer container. This control allows the user to select bookmarks with a single click.
LayerContainer.setBookmarkModel(IBookmarkModel)
Method Summary | |
---|---|
void |
addBookmark(Bookmark bookmark)
Adds a bookmark to the model. |
void |
addBookmarkModelListener(IBookmarkModelListener l)
Adds a listener to the bookmark model. |
Bookmark |
getBookmark(int index)
Returns the bookmark for the given index. |
int |
getBookmarkCount()
Returns the total number of bookmarks added to the model. |
void |
removeBookmark(Bookmark bookmark)
Removes a bookmark from the model. |
void |
removeBookmarkModelListener(IBookmarkModelListener l)
Removes a listener from the bookmark model. |
Method Detail |
---|
int getBookmarkCount()
getBookmark(int)
Bookmark getBookmark(int index)
index
-
getBookmarkCount()
void addBookmark(Bookmark bookmark)
bookmark
- the bookmark to addvoid removeBookmark(Bookmark bookmark)
bookmark
- the bookmark to removevoid addBookmarkModelListener(IBookmarkModelListener l)
l
- the listener to add to the modelvoid removeBookmarkModelListener(IBookmarkModelListener l)
l
- the listener to remove from the model
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |