Package | com.pushtechnology.diffusion |
Class | public class PagedTopicHandler |
Inheritance | PagedTopicHandler ![]() |
This can be used to navigate the pages of the topic.
Method | Defined 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 |
Constant | Defined 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 |
PagedTopicHandler | () | Constructor |
public function PagedTopicHandler(client:DiffusionClient, loadMessage:TopicMessage, listener:PagedTopicListener)
Constructor for handler.
Excepections thrown here will be thrown by API calls.
Parametersclient:DiffusionClient | |
loadMessage:TopicMessage | |
listener:PagedTopicListener |
close | () | method |
public function close():void
Close the clients view of the paged topic.
getConnection | () | method |
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 |
CLOSE_COMMAND | Constant |
public static const CLOSE_COMMAND:String = C
FIRST | Constant |
public static const FIRST:String = F
Page option to open the first page.
LAST | Constant |
public static const LAST:String = L
Page option to open the last page.
NEXT | Constant |
public static const NEXT:String = N
Page option to open the next page.
OPEN_COMMAND | Constant |
public static const OPEN_COMMAND:String = O
PAGED_RECORD | Constant |
public static const PAGED_RECORD:String = PR
PAGED_STRING | Constant |
public static const PAGED_STRING:String = PS
PRIOR | Constant |
public static const PRIOR:String = P
Page option to open the previous page.
REFRESH | Constant |
public static const REFRESH:String = R
Page option to refresh the current page.