public interface IPagingModel
AbstractGanttChart.setPagingModel(IPagingModel)
Modifier and Type | Method and Description |
---|---|
void |
addPagingModelListener(IPagingModelListener l)
Adds a listener to the paging model.
|
void |
earlierPage()
Goto the next page that has a smaller start time than the currently used
page.
|
void |
firstPage()
Goto the first page.
|
Page |
getPage()
Returns the currently used page.
|
Page |
getPage(int index)
Returns the page for the given index.
|
int |
getPageCount()
Returns the total number of pages added to the model.
|
boolean |
hasEarlierPage()
Determines if the model has a page that starts earlier than the currently
used page.
|
boolean |
hasLaterPage()
Determines if the model has a page that starts later than the currently
used page.
|
void |
lastPage()
Goto the last page.
|
void |
laterPage()
Goto the next page that has a larger start time than the currently used
page.
|
void |
removePagingModelListener(IPagingModelListener l)
Removes a listener from the paging model.
|
void |
setPage(Page page)
Sets a new page to be used.
|
int getPageCount()
getPage(int)
Page getPage(int index)
index
- getPageCount()
Page getPage()
setPage(Page)
void setPage(Page page)
page
- the new page to use for displayvoid firstPage()
void earlierPage()
void laterPage()
void lastPage()
boolean hasEarlierPage()
earlierPage()
boolean hasLaterPage()
laterPage()
void addPagingModelListener(IPagingModelListener l)
l
- the listener to add to the modelvoid removePagingModelListener(IPagingModelListener l)
l
- the listener to remove from the modelCopyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.