public interface PageLifecycleCallbackHub
ComponentResources.getPageLifecycleCallbackHub()
Modifier and Type | Method and Description |
---|---|
void |
addPageAttachedCallback(Runnable callback)
Adds a callback for when the page is attached to the request.
|
void |
addPageDetachedCallback(Runnable callback)
Adds a callback for when the page is detached from the request.
|
void |
addPageLoadedCallback(Runnable callback)
Adds a callback for when the page is first loaded.
|
void |
addResetCallback(Runnable callback)
A reset occurs when a request for a page arrives that did not originate on the same page.
|
void |
addVerifyCallback(Runnable callback)
Adds a verify callback, which is allowed while the page is loading.
|
void addPageLoadedCallback(Runnable callback)
callback
- invoked once, when page is first loadedvoid addPageAttachedCallback(Runnable callback)
callback
- void addPageDetachedCallback(Runnable callback)
callback
- void addVerifyCallback(Runnable callback)
callback
- to be invoked after page loadedvoid addResetCallback(Runnable callback)
callback
- invoked when a page is activated by link from some other page.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.