Packagecom.pushtechnology.diffusion
Classpublic class PagedTopicHandler
InheritancePagedTopicHandler Inheritance Object

Handler for page topic data.

This can be used to navigate the pages of the topic.



Public Methods
 MethodDefined By
  
Constructor for handler.
PagedTopicHandler
  
close():void
Close the clients view of the paged topic.
PagedTopicHandler
  
PagedTopicHandler
  
open(linesPerPage:int, openPage:int):void
Opens the clients view of the paged topic.
PagedTopicHandler
  
page(page:String):void
Request a page.
PagedTopicHandler
Public Constants
 ConstantDefined By
  CLOSE_COMMAND : String = C
[static]
PagedTopicHandler
  FIRST : String = F
[static] Page option to open the first page.
PagedTopicHandler
  LAST : String = L
[static] Page option to open the last page.
PagedTopicHandler
  NEXT : String = N
[static] Page option to open the next page.
PagedTopicHandler
  OPEN_COMMAND : String = O
[static]
PagedTopicHandler
  PAGED_RECORD : String = PR
[static]
PagedTopicHandler
  PAGED_STRING : String = PS
[static]
PagedTopicHandler
  PRIOR : String = P
[static] Page option to open the previous page.
PagedTopicHandler
  REFRESH : String = R
[static] Page option to refresh the current page.
PagedTopicHandler
Constructor Detail
PagedTopicHandler()Constructor
public function PagedTopicHandler(client:DiffusionClient, loadMessage:TopicMessage, listener:PagedTopicListener)

Constructor for handler.

Excepections thrown here will be thrown by API calls.

Parameters
client:DiffusionClient
 
loadMessage:TopicMessage
 
listener:PagedTopicListener
Method Detail
close()method
public function close():void

Close the clients view of the paged topic.

getConnection()method 
public function getConnection():DiffusionClient

Returns
DiffusionClient
open()method 
public function open(linesPerPage:int, openPage:int):void

Opens the clients view of the paged topic.

Parameters

linesPerPage:int — The number of lines that should appear on each page.
 
openPage:int — The page to open.

page()method 
public function page(page:String):void

Request a page.

Can either be a page option or the page number (as a string) to open.

Parameters

page:String

Constant Detail
CLOSE_COMMANDConstant
public static const CLOSE_COMMAND:String = C

FIRSTConstant 
public static const FIRST:String = F

Page option to open the first page.

LASTConstant 
public static const LAST:String = L

Page option to open the last page.

NEXTConstant 
public static const NEXT:String = N

Page option to open the next page.

OPEN_COMMANDConstant 
public static const OPEN_COMMAND:String = O

PAGED_RECORDConstant 
public static const PAGED_RECORD:String = PR

PAGED_STRINGConstant 
public static const PAGED_STRING:String = PS

PRIORConstant 
public static const PRIOR:String = P

Page option to open the previous page.

REFRESHConstant 
public static const REFRESH:String = R

Page option to refresh the current page.