org.cruxframework.crux.widgets.client.disposal.menutabsdisposal
Class MenuTabsDisposalSmallController
java.lang.Object
org.cruxframework.crux.core.client.controller.crossdevice.DeviceAdaptiveController
org.cruxframework.crux.widgets.client.disposal.menutabsdisposal.MenuTabsDisposalSmallController
- All Implemented Interfaces:
- com.google.gwt.user.client.ui.IsWidget, org.cruxframework.crux.core.client.screen.DeviceAdaptive, MenuTabsDisposal
public class MenuTabsDisposalSmallController
- extends org.cruxframework.crux.core.client.controller.crossdevice.DeviceAdaptiveController
- Author:
- Gesse Dafe
| Nested classes/interfaces inherited from interface org.cruxframework.crux.core.client.screen.DeviceAdaptive |
org.cruxframework.crux.core.client.screen.DeviceAdaptive.Device, org.cruxframework.crux.core.client.screen.DeviceAdaptive.Input, org.cruxframework.crux.core.client.screen.DeviceAdaptive.Size, org.cruxframework.crux.core.client.screen.DeviceAdaptive.Template, org.cruxframework.crux.core.client.screen.DeviceAdaptive.Templates |
| 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 |
lastVisitedView
protected String lastVisitedView
MenuTabsDisposalSmallController
public MenuTabsDisposalSmallController()
init
protected void init()
- Overrides:
init in class org.cruxframework.crux.core.client.controller.crossdevice.DeviceAdaptiveController
showMenu
public void showMenu()
getCurrentView
public String getCurrentView()
doShowView
protected void doShowView(String targetView,
HorizontalSwapPanel.Direction direction)
showView
protected void showView(String targetView,
boolean saveHistory,
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
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 © 2015. All rights reserved.