|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractListModel
com.jidesoft.list.AbstractPageListModel
com.jidesoft.list.DefaultPageListModel
public class DefaultPageListModel
| Field Summary |
|---|
| Fields inherited from class javax.swing.AbstractListModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
DefaultPageListModel(ListModel model)
|
|
DefaultPageListModel(ListModel model,
int pageSize)
|
|
| Method Summary | |
|---|---|
protected CompoundListDataEvent |
createCompoundListDataEvent()
|
void |
fireListDataEvent(ListDataEvent event)
Fires a ListDataEvent. |
int |
getActualIndexAt(int visualRow)
Gets the actual row index in the underlying list that corresponds the specified row index. |
ListModel |
getActualModel()
Gets the underlying list model. |
Object |
getElementAt(int rowIndex)
|
int |
getIndexAt(int actualRow)
Gets the visual row index representing the specified actual row. |
int[] |
getIndexes()
Gets the indexes that maps from the visual row index to the actual row index. |
int |
getTotalRecordCount()
Gets the total record/row count. |
protected void |
reallocateIndexes()
|
void |
setActualModel(ListModel model)
Sets the actual list model. |
void |
setIndexes(int[] indexes)
Sets the indexes of the row mapping. |
void |
setTotalRecordCount(int totalRecordCount)
Sets the total record/row count. |
| Methods inherited from class com.jidesoft.list.AbstractPageListModel |
|---|
addPageNavigationListener, contentsChanged, firePageNavigationEvent, firstPage, getCurrentPage, getPageCount, getPageNavigationListeners, getPageSize, getSize, intervalAdded, intervalRemoved, lastPage, nextPage, previousPage, removePageNavigationListener, setCurrentPage, setPageCount, setPageSize |
| Methods inherited from class javax.swing.AbstractListModel |
|---|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPageListModel(ListModel model)
public DefaultPageListModel(ListModel model,
int pageSize)
| Method Detail |
|---|
public int getActualIndexAt(int visualRow)
ListModelWrapper
getActualIndexAt in interface ListModelWrapperpublic int getIndexAt(int actualRow)
ListModelWrapper
getIndexAt in interface ListModelWrapperpublic ListModel getActualModel()
ListModelWrapper
getActualModel in interface ListModelWrapperpublic void setActualModel(ListModel model)
ListModelWrapper
setActualModel in interface ListModelWrappermodel - the list model.public int[] getIndexes()
ListModelWrapper
getIndexes in interface ListModelWrapperpublic void setIndexes(int[] indexes)
ListModelWrapper
setIndexes in interface ListModelWrapperpublic Object getElementAt(int rowIndex)
getElementAt in interface ListModelpublic int getTotalRecordCount()
PageNavigationSupport
getTotalRecordCount in interface PageNavigationSupportpublic void setTotalRecordCount(int totalRecordCount)
PageNavigationSupport
setTotalRecordCount in interface PageNavigationSupporttotalRecordCount - the new total row count.protected void reallocateIndexes()
protected CompoundListDataEvent createCompoundListDataEvent()
public void fireListDataEvent(ListDataEvent event)
EventFireListModel
fireListDataEvent in interface EventFireListModelevent - the event
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||