Packagecom.pushtechnology.diffusion.paged
Classpublic class PageStatus
InheritancePageStatus Inheritance Object



Public Properties
 PropertyDefined By
  headerOff : int = 1
PageStatus
Public Methods
 MethodDefined By
  
PageStatus
  
Returns the current page number.
PageStatus
  
Returns the current highest page number.
PageStatus
  
Returns the total number of lines in the data.
PageStatus
  
isDirty():Boolean
Returns whether the page is 'dirty', meaning that has been returned for it is currently out of date and the page needs to be refreshed.
PageStatus
  
setDirty(value:Boolean):void
PageStatus
Property Detail
headerOffproperty
public var headerOff:int = 1

Constructor Detail
PageStatus()Constructor
public function PageStatus(message:TopicMessage)



Parameters
message:TopicMessage
Method Detail
getCurrentPage()method
public function getCurrentPage():int

Returns the current page number.

Note that the first page is numbered 1.

Returns
int — the current page number
getLastPage()method 
public function getLastPage():int

Returns the current highest page number.

Returns
int — the current highest page number.
getTotalNumberOfLines()method 
public function getTotalNumberOfLines():int

Returns the total number of lines in the data.

Returns
int — the total number of lines.
isDirty()method 
public function isDirty():Boolean

Returns whether the page is 'dirty', meaning that has been returned for it is currently out of date and the page needs to be refreshed.

Returns
Boolean — true if dirty.
setDirty()method 
public function setDirty(value:Boolean):void

Parameters

value:Boolean