Packageorg.openzet.controls
Classpublic class PagingLinkBar
InheritancePagingLinkBar Inheritance mx.controls.NavBar

Custom component to display multiple pages with page indexes.

Default MXML PropertydataProvider



Public Properties
 PropertyDefined by
  currentPage : uint
Property to store the current page index.
PagingLinkBar
  fetchSize : uint
Row count.
PagingLinkBar
  numPages : uint
Property to specify how many pages to show.
PagingLinkBar
  totalCount : uint
Total count of listings.
PagingLinkBar
  totalPage : uint
[read-only] Number of Total Page.
PagingLinkBar
Public Methods
 MethodDefined by
  
Constructor
PagingLinkBar
Events
 EventSummaryDefined by
   Dispatched when next page is viewed.PagingLinkBar
   Dispatched when users click on a page index.PagingLinkBar
   Dispatched when previous page is viewed.PagingLinkBar
Styles
 StyleDescriptionDefined by
  
buttonStyleName
Type: String   CSS Inheritance: no
button's styleName. The default value is pagingLinkBarButtonStyle.
PagingLinkBar
  
horizontalGap
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the LinkButton controls in the horizontal direction. The default value is 8.
PagingLinkBar
  
paddingBottom
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the bottom border and the LinkButton controls. The default value is 2.
PagingLinkBar
  
paddingTop
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the top border and the LinkButton controls. The default value is 2.
PagingLinkBar
  
rollOverColor
Type: uint   Format: Color   CSS Inheritance: yes
Color of links as you roll the mouse pointer over them. The default value is based on the current themeColor. The default value is 0xEEFEE6 (light green).
PagingLinkBar
  
selectedButtonStyleName
Type: String   CSS Inheritance: no
selectedButton's styleName. The default value is pagingLinkBarSelectedButtonStyle.
PagingLinkBar
  
selectionColor
Type: uint   Format: Color   CSS Inheritance: yes
Background color of the LinkButton control as you press it. The default value is 0xCDFFC1.
PagingLinkBar
  
separatorColor
Type: uint   Format: Color   CSS Inheritance: yes
Separator color used by the default separator skin. The default value is 0xC4CCCC.
PagingLinkBar
  
separatorSkin
Type: Class   CSS Inheritance: no
Seperator symbol between LinkButton controls in the LinkBar. The default value is mx.skins.halo.LinkSeparator.
PagingLinkBar
  
separatorWidth
Type: Number   Format: Length   CSS Inheritance: yes
Separator pixel width, in pixels. The default value is 1.
PagingLinkBar
  
textRollOverColor
Type: uint   Format: Color   CSS Inheritance: yes
Text color of the link as you move the mouse pointer over it. The default value is 0x2B333C.
PagingLinkBar
  
textSelectedColor
Type: uint   Format: Color   CSS Inheritance: yes
Text color of the link as you press it. The default value is 0x000000.
PagingLinkBar
  
verticalGap
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between children in the vertical direction. The default value is 8.
PagingLinkBar
Property detail
currentPageproperty
currentPage:uint  [read-write]

Property to store the current page index.

This property can be used as the source for data binding.

Implementation
    public function get currentPage():uint
    public function set currentPage(value:uint):void
fetchSizeproperty 
fetchSize:uint  [read-write]

Row count.

The default value is 10.

This property can be used as the source for data binding.

Implementation
    public function get fetchSize():uint
    public function set fetchSize(value:uint):void
numPagesproperty 
numPages:uint  [read-write]

Property to specify how many pages to show.

The default value is 10.

This property can be used as the source for data binding.

Implementation
    public function get numPages():uint
    public function set numPages(value:uint):void
totalCountproperty 
totalCount:uint  [read-write]

Total count of listings.

This property can be used as the source for data binding.

Implementation
    public function get totalCount():uint
    public function set totalCount(value:uint):void
totalPageproperty 
totalPage:uint  [read-only]

Number of Total Page.

Implementation
    public function get totalPage():uint
Constructor detail
PagingLinkBar()constructor
public function PagingLinkBar()

Constructor

Event detail
nextPageevent 
Event object type: org.openzet.events.PagingEvent

Dispatched when next page is viewed.

pageClickevent  
Event object type: org.openzet.events.PagingEvent

Dispatched when users click on a page index.

prevPageevent  
Event object type: org.openzet.events.PagingEvent

Dispatched when previous page is viewed.