info.magnolia.sample.app.main
Class NavigationPresenter

java.lang.Object
  extended by info.magnolia.sample.app.main.NavigationPresenter
All Implemented Interfaces:
NavigationView.Listener

public class NavigationPresenter
extends Object
implements NavigationView.Listener

Presenter for the navigation.


Constructor Summary
NavigationPresenter(info.magnolia.event.EventBus appEventBus, NavigationView view, info.magnolia.ui.api.app.SubAppContext subAppContext)
           
 
Method Summary
 void onItemSelected(String name)
           
 NavigationView start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationPresenter

@Inject
public NavigationPresenter(@Named(value="app")
                                  info.magnolia.event.EventBus appEventBus,
                                  NavigationView view,
                                  info.magnolia.ui.api.app.SubAppContext subAppContext)
Method Detail

start

public NavigationView start()

onItemSelected

public void onItemSelected(String name)
Specified by:
onItemSelected in interface NavigationView.Listener


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.