org.onebusaway.webapp.gwt.oba_application.model
Class PagedResultsModel

java.lang.Object
  extended by org.onebusaway.webapp.gwt.oba_application.model.PagedResultsModel

public class PagedResultsModel
extends Object


Constructor Summary
PagedResultsModel()
           
 
Method Summary
 void clearActiveSearchResult()
           
 List<TimedLocalSearchResult> getActiveEntries()
           
 int getActiveSize()
           
 ModelListener<FilteredResultsModel> getModelListener()
           
 int getPageIndex()
           
 int getPageSize()
           
 boolean getReverseSort()
           
 TimedLocalSearchResult getSelectedResult()
           
 EResultsSort getSortMode()
           
 int getTotalSize()
           
 boolean isReverseSort()
           
 void setEvents(ModelEventSink<StateEvent> events)
           
 void setModel(FilteredResultsModel model)
           
 void setPageIndex(int pageIndex)
           
 void setPageSize(int pageSize)
           
 void setSelectedResult(TimedLocalSearchResult result)
           
 void setSortMode(EResultsSort sort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagedResultsModel

public PagedResultsModel()
Method Detail

setEvents

public void setEvents(ModelEventSink<StateEvent> events)

setModel

public void setModel(FilteredResultsModel model)

getModelListener

public ModelListener<FilteredResultsModel> getModelListener()

getTotalSize

public int getTotalSize()

getActiveSize

public int getActiveSize()

getPageSize

public int getPageSize()

setPageSize

public void setPageSize(int pageSize)

setPageIndex

public void setPageIndex(int pageIndex)

getPageIndex

public int getPageIndex()

getSortMode

public EResultsSort getSortMode()

isReverseSort

public boolean isReverseSort()

setSortMode

public void setSortMode(EResultsSort sort)

getReverseSort

public boolean getReverseSort()

getActiveEntries

public List<TimedLocalSearchResult> getActiveEntries()

setSelectedResult

public void setSelectedResult(TimedLocalSearchResult result)

clearActiveSearchResult

public void clearActiveSearchResult()

getSelectedResult

public TimedLocalSearchResult getSelectedResult()


Copyright © 2011 OneBusAway. All Rights Reserved.