This class incapsulates all the information and behavior connected with the moving through the list pages. That is
it translates the moves through the pages and other user activities (like expanding the list) to the exact indexes
in of list item range that is to be asked from the database. In addition it provides the renderer with enough
information to show the list "sequence", e.g. the breaking of list into pages and blocks.
author: Jevgeni Kabanov
Inner Class :public class ViewModel implements Serializable
Field Summary
final public static long
DEFAULT_ITEMS_ON_PAGE Default value of how many items of the list will be displayed on one page.
final public static long
DEFAULT_PAGES_ON_BLOCK Default value of how many pages combine into one block for quick navigation.
final public static boolean
DEFAULT_PRESERVE_STARTING_ROW Whether to preserve the list starting row when switching to showing full list and back.
final public static long
FULL_ITEMS_ON_PAGE Default value of how many items of the list will be displayed on one page.
Returns whether the basic configuration that specifies which items are
shown has changed since last call to this
SequenceHelper 's
SequenceHelper.checkChanged
method.
since: 1.1