Package jaxx.demo.feature.nav
Class NavDemoHandler
java.lang.Object
jaxx.demo.feature.nav.NavDemoHandler
public class NavDemoHandler extends Object implements UIHandler<NavDemo>
Handler of all uis in the Nave demo.
- Since:
- 2.2
- Author:
- Tony Chemit - chemit@codelutin.com
-
Field Summary
Fields Modifier and Type Field Description static StringACTORS_CATEGORY_NODEstatic StringMOVIES_CATEGORY_NODEprotected NavDemoui -
Constructor Summary
Constructors Constructor Description NavDemoHandler() -
Method Summary
Modifier and Type Method Description voidafterInit(NavDemo ui)voidbeforeInit(NavDemo ui)StringgetContent(AbstractDemoBean data)protected <E extends Component>
EgetContentIfExist(Class<E> uiClass)ImageIcongetImage(AbstractDemoBean data)voidinitUI(ActorsContentUI contentUI)voidinitUI(MoviesContentUI contentUI)protected voidopenUI(NavNode<?,?> demoNode)voidselectChild(AbstractContentUI<?> contentUI, AbstractDemoBean selected)protected <B> voidshowUI(B bean, Class<? extends AbstractContentUI<B>> uiClass)
-
Field Details
-
Constructor Details
-
NavDemoHandler
public NavDemoHandler()
-
-
Method Details
-
beforeInit
- Specified by:
beforeInitin interfaceUIHandler<NavDemo>
-
afterInit
-
initUI
-
initUI
-
selectChild
-
getContent
-
getImage
-
openUI
-
showUI
-
getContentIfExist
-