FoxitPDFSDKforWeb v11.0.2
Foxit PDF SDK for Web
|
Interface of StateHandler. More...
Public Member Functions | |
constructor (pdfViewer) | |
The constructor for constructing an instance of IStateHandler. More... | |
destroyDocHandler () | |
Executed when the document is destroyed. | |
destroyPageHandler () | |
docHandler (pdfDocRender) | |
Binding at the document level. More... | |
out () | |
This method is executed when it leaves the current stateHandler. | |
pageHandler (pdfPageRender) | |
Binding at the page level. More... | |
![]() | |
addDestroyHook (...hooks) | |
Add a function to destroyHooks list, which will be called during destroy. More... | |
destroy () | |
ownsTo (owner) | |
Establishes an ownership relationship where this instance will be destroyed when the owner is destroyed. Additionally, the owner will be automatically removed from the destroyHooks list when this instance is destroyed. More... | |
Static Public Member Functions | |
static | getStateName () |
The name of the state handler, also a unique identifier. More... | |
static | setParams (params, pdfViewer) |
This function is called by StateHandlerManager.switchTo, and processes parameters that were passed in.. More... | |
Interface of StateHandler.
|
inline |
The constructor for constructing an instance of IStateHandler.
|
inline |
Executed when the page is destroyed
|
inline |
Binding at the document level.
pdfDocRender | PDFDocRender - PDFDocRender |
|
inlinestatic |
The name of the state handler, also a unique identifier.
|
inline |
Binding at the page level.
pdfPageRender | PDFPageRender - PDFPageRender |
|
inlinestatic |
This function is called by StateHandlerManager.switchTo, and processes parameters that were passed in..
params | object - Parameters come from second parameter of StateHandlerManager.switchTo. |
pdfViewer | PDFViewer - |