org.cruxframework.crux.widgets.client.disposal.menutabsdisposal
Class MenuTabsDisposalLargeController

java.lang.Object
  extended by org.cruxframework.crux.core.client.controller.crossdevice.DeviceAdaptiveController
      extended by org.cruxframework.crux.widgets.client.disposal.menutabsdisposal.MenuTabsDisposalLargeController
All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget, DeviceAdaptive, MenuTabsDisposal

public class MenuTabsDisposalLargeController
extends DeviceAdaptiveController

Author:
Gesse Dafe

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cruxframework.crux.core.client.screen.DeviceAdaptive
DeviceAdaptive.Device, DeviceAdaptive.Input, DeviceAdaptive.Size, DeviceAdaptive.Template, DeviceAdaptive.Templates
 
Field Summary
protected  String lastVisitedView
           
 
Constructor Summary
MenuTabsDisposalLargeController()
           
 
Method Summary
 void addMenuEntry(String label, String targetView)
           
 void addMenuSection(String label, String additionalStyleName)
           
protected  void doShowView(String targetView, HorizontalSwapPanel.Direction direction)
           
 String getCurrentView()
           
protected  String getLastVisitedView()
           
 com.google.gwt.user.client.ui.FlowPanel getMenuPanel()
           
protected  void init()
           
 void init(com.google.gwt.user.client.ui.FlowPanel headerPanel, com.google.gwt.user.client.ui.FlowPanel menuPanel)
           
 void setHeaderContent(com.google.gwt.user.client.ui.IsWidget widget)
           
 void showMenu()
           
protected  void showView(String targetView, boolean saveHistory, HorizontalSwapPanel.Direction direction)
           
 void showView(String targetView, HorizontalSwapPanel.Direction direction)
           
 
Methods inherited from class org.cruxframework.crux.core.client.controller.crossdevice.DeviceAdaptiveController
addAttachHandler, addHandler, addWidget, asWidget, fireEvent, getChildWidget, getElement, getStyleName, getTitle, isVisible, setHeight, setStyleName, setTitle, setVisible, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cruxframework.crux.core.client.screen.DeviceAdaptive
addAttachHandler, addHandler, getElement, getStyleName, getTitle, isVisible, setHeight, setStyleName, setTitle, setVisible, setWidth
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 

Field Detail

lastVisitedView

protected String lastVisitedView
Constructor Detail

MenuTabsDisposalLargeController

public MenuTabsDisposalLargeController()
Method Detail

init

protected void init()
Overrides:
init in class DeviceAdaptiveController

showMenu

public void showMenu()

getCurrentView

public String getCurrentView()

doShowView

protected void doShowView(String targetView,
                          HorizontalSwapPanel.Direction direction)

init

public void init(com.google.gwt.user.client.ui.FlowPanel headerPanel,
                 com.google.gwt.user.client.ui.FlowPanel menuPanel)

addMenuEntry

public final void addMenuEntry(String label,
                               String targetView)
Specified by:
addMenuEntry in interface MenuTabsDisposal

showView

protected void showView(String targetView,
                        boolean saveHistory,
                        HorizontalSwapPanel.Direction direction)

addMenuSection

public final void addMenuSection(String label,
                                 String additionalStyleName)
Specified by:
addMenuSection in interface MenuTabsDisposal

setHeaderContent

public final void setHeaderContent(com.google.gwt.user.client.ui.IsWidget widget)
Specified by:
setHeaderContent in interface MenuTabsDisposal

showView

public final void showView(String targetView,
                           HorizontalSwapPanel.Direction direction)
Specified by:
showView in interface MenuTabsDisposal

getMenuPanel

public com.google.gwt.user.client.ui.FlowPanel getMenuPanel()

getLastVisitedView

protected String getLastVisitedView()


Copyright © 2014. All rights reserved.