public class DefaultContentDelegation extends Object implements ContentDelegation
| Constructor and Description |
|---|
DefaultContentDelegation() |
| Modifier and Type | Method and Description |
|---|---|
void |
hideContent(Object page,
elemental2.dom.HTMLElement container,
org.jboss.elemento.ElementsBag elements,
Object nextPage,
DelegationControl control)
Called when the page is hiding its content (clearing the navigation container).
|
void |
showContent(Object page,
elemental2.dom.HTMLElement container,
org.jboss.elemento.ElementsBag elements,
Object previousPage,
DelegationControl control)
Called when the page is showing its content (setting the navigation container).
|
public void showContent(Object page, elemental2.dom.HTMLElement container, org.jboss.elemento.ElementsBag elements, Object previousPage, DelegationControl control)
ContentDelegationshowContent in interface ContentDelegationpage - the current page being shown.container - the navigation container.elements - the element(s) of the current page.previousPage - the previous page, this can be null.control - the delegation control for proceeding navigation process.public void hideContent(Object page, elemental2.dom.HTMLElement container, org.jboss.elemento.ElementsBag elements, Object nextPage, DelegationControl control)
ContentDelegationhideContent in interface ContentDelegationpage - the current page being hidden.container - the navigation container.elements - the element(s) of the current page.nextPage - potential next requested page, this can be null.control - the delegation control for proceeding navigation process.Copyright © 2020 Treblereel. All rights reserved.