public class TreeNavigationView extends com.gwtplatform.mvp.client.ViewImpl implements NavigationPresenter.MyView
| Modifier and Type | Class and Description |
|---|---|
static interface |
TreeNavigationView.Resources
A ClientBundle that provides images and style sheets for the decorator.
|
| Constructor and Description |
|---|
TreeNavigationView(de.knightsoftnet.navigation.client.ui.navigation.TreeNavigationView.Binder puiBinder,
TreeNavigationView.Resources presources)
constructor with injected parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createNavigation(NavigationStructure pnavigation)
create navigation.
|
void |
createRecursiveNavigation(com.google.gwt.user.client.ui.TreeItem pitem,
List<NavigationEntryInterface> plist,
NavigationEntryInterface pactiveEntry)
create navigation in a recursive way.
|
void |
setPresenter(NavigationPresenter ppresenter)
set a reference to the presenter/activity.
|
void |
setSelectedItem(NavigationEntryInterface pnewItem)
set new active entry.
|
addToSlot, asWidget, bindSlot, bindSlot, bindSlot, initWidget, onAttach, onDetach, removeFromSlot, setInSlotclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@Inject
public TreeNavigationView(de.knightsoftnet.navigation.client.ui.navigation.TreeNavigationView.Binder puiBinder,
TreeNavigationView.Resources presources)
puiBinder - ui binderpresources - style sheet resourcepublic void setPresenter(NavigationPresenter ppresenter)
NavigationPresenter.MyViewsetPresenter in interface NavigationPresenter.MyViewppresenter - reference to setpublic final void createNavigation(NavigationStructure pnavigation)
NavigationPresenter.MyViewcreateNavigation in interface NavigationPresenter.MyViewpnavigation - the structure with the navigation datapublic void createRecursiveNavigation(com.google.gwt.user.client.ui.TreeItem pitem,
List<NavigationEntryInterface> plist,
NavigationEntryInterface pactiveEntry)
pitem - the item to add new itemsplist - the list of the navigation entriespactiveEntry - the active entrypublic void setSelectedItem(NavigationEntryInterface pnewItem)
NavigationPresenter.MyViewsetSelectedItem in interface NavigationPresenter.MyViewpnewItem - new active entryCopyright © 2015–2019. All rights reserved.