jaxx.demo.feature.nav
Class NavDemoHandler

java.lang.Object
  extended by jaxx.demo.feature.nav.NavDemoHandler

public class NavDemoHandler
extends Object

Handler of all uis in the Nave demo.

Since:
2.2
Author:
tchemit

Field Summary
static String ACTORS_CATEGORY_NODE
           
static String MOVIES_CATEGORY_NODE
           
protected  NavDemo ui
           
 
Constructor Summary
NavDemoHandler(NavDemo ui)
           
 
Method Summary
 void $afterCompleteSetup()
          To init the NavDemo ui.
 String getContent(AbstractDemoBean data)
           
protected
<E extends Component>
E
getContentIfExist(Class<E> uiClass)
           
 ImageIcon getImage(AbstractDemoBean data)
           
 void initUI(ActorsContentUI contentUI)
           
 void initUI(MoviesContentUI contentUI)
           
protected  void openUI(NavNode demoNode)
           
 void selectChild(AbstractContentUI<?> contentUI, AbstractDemoBean selected)
           
protected
<B> void
showUI(B bean, Class<? extends AbstractContentUI<B>> uiClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ui

protected final NavDemo ui

MOVIES_CATEGORY_NODE

public static String MOVIES_CATEGORY_NODE

ACTORS_CATEGORY_NODE

public static String ACTORS_CATEGORY_NODE
Constructor Detail

NavDemoHandler

public NavDemoHandler(NavDemo ui)
Method Detail

initUI

public void initUI(MoviesContentUI contentUI)

initUI

public void initUI(ActorsContentUI contentUI)

selectChild

public void selectChild(AbstractContentUI<?> contentUI,
                        AbstractDemoBean selected)

getContent

public String getContent(AbstractDemoBean data)

getImage

public ImageIcon getImage(AbstractDemoBean data)

$afterCompleteSetup

public void $afterCompleteSetup()
To init the NavDemo ui.


openUI

protected void openUI(NavNode demoNode)

showUI

protected <B> void showUI(B bean,
                          Class<? extends AbstractContentUI<B>> uiClass)

getContentIfExist

protected <E extends Component> E getContentIfExist(Class<E> uiClass)


Copyright © 2008-2010 CodeLutin. All Rights Reserved.