public class Bookmark extends Page
DefaultBookmarkModel.addBookmark(Bookmark)
PROPERTY_NAME
Constructor and Description |
---|
Bookmark(long timePoint,
ITimeSpan span,
IGranularity granularity,
String name)
Constructs a new page.
|
Modifier and Type | Method and Description |
---|---|
IGranularity |
getGranularity()
Returns the time granularity that was shown in the dateline when the
bookmark was created.
|
long |
getTimePoint()
Returns the time point where the bookmark is located.
|
getTimeSpan
addPropertyChangeListener, compareTo, getChangeSupport, getName, removePropertyChangeListener, setName, toString
public Bookmark(long timePoint, ITimeSpan span, IGranularity granularity, String name)
span
- the time span of the dateline that was used when the bookmark
was createdtimePoint
- the time point where the bookmark is locatedgranularity
- the granularity shown in the timeline when the bookmark was
createdname
- the name used in the user interface when displaying the pagepublic IGranularity getGranularity()
public long getTimePoint()
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.