Packagecom.jwopitz.controls.pagination
Interfacepublic interface IPaginatedItemsControl
ImplementorsPaginatedItemsControlBase

Interface for controlling paginated data.

See also

com.jwopitz.controls.pagination.PaginatedItemsControlBase


Public Properties
 PropertyDefined by
  dataProvider : Object
The set of data to be paginated based on items per page.
IPaginatedItemsControl
  itemsPerPage : int
The number of items per page of data.
IPaginatedItemsControl
  selectedIndex : int
The index value of the current set of data represented by the selected items.
IPaginatedItemsControl
  selectedItems : Array
[read-only] The current set of data represented by the selected index.
IPaginatedItemsControl
Property detail
dataProviderproperty
dataProvider:Object  [read-write]

The set of data to be paginated based on items per page. This value must be of type Array or mx.collections.IList or a runtime error will occur.

Implementation
    public function get dataProvider():Object
    public function set dataProvider(value:Object):void
itemsPerPageproperty 
itemsPerPage:int  [read-write]

The number of items per page of data.

Implementation
    public function get itemsPerPage():int
    public function set itemsPerPage(value:int):void
selectedIndexproperty 
selectedIndex:int  [read-write]

The index value of the current set of data represented by the selected items.

Implementation
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void
selectedItemsproperty 
selectedItems:Array  [read-only]

The current set of data represented by the selected index.

Implementation
    public function get selectedItems():Array