public class MainWindow
extends com.vaadin.ui.Window
com.vaadin.ui.Window.CloseEvent, com.vaadin.ui.Window.CloseListener, com.vaadin.ui.Window.CloseShortcut, com.vaadin.ui.Window.Notification, com.vaadin.ui.Window.ResizeEvent, com.vaadin.ui.Window.ResizeListenercom.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandlercom.vaadin.terminal.URIHandler.ErrorEventcom.vaadin.terminal.ParameterHandler.ErrorEventcom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListenercom.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener| Modifier and Type | Field and Description |
|---|---|
protected UriFragment |
currentUriFragment |
protected I18nManager |
i18nManager |
protected MainLayout |
mainLayout |
protected NavigationFragmentChangeListener |
navigationFragmentChangeListener |
protected boolean |
showingLoginPage |
protected com.vaadin.ui.UriFragmentUtility |
uriFragmentUtility |
| Constructor and Description |
|---|
MainWindow() |
| Modifier and Type | Method and Description |
|---|---|
void |
attach() |
UriFragment |
getCurrentUriFragment() |
protected void |
initHiddenComponents() |
boolean |
isShowingLoginPage() |
void |
setCurrentUriFragment(UriFragment fragment)
Sets the current
UriFragment. |
void |
setI18nManager(I18nManager i18nManager) |
void |
setMainNavigation(String navigation) |
void |
setNavigationFragmentChangeListener(NavigationFragmentChangeListener navigationFragmentChangeListener) |
void |
showDefaultContent() |
void |
showLoginPage() |
void |
switchView(com.vaadin.ui.Component component) |
addComponent, addListener, addListener, addListener, addListener, addParameterHandler, addURIHandler, addWindow, bringToFront, center, changeVariables, close, detach, executeJavaScript, fireClose, fireResize, focus, getApplication, getBorder, getBrowserWindowHeight, getBrowserWindowWidth, getChildWindows, getName, getParent, getPositionX, getPositionY, getTerminal, getTheme, getURL, getWindow, handleParameters, handleURI, isClosable, isDraggable, isModal, isResizable, isResizeLazy, open, open, open, open, paintContent, removeCloseShortcut, removeListener, removeListener, removeListener, removeListener, removeParameterHandler, removeURIHandler, removeWindow, scrollIntoView, setApplication, setBorder, setClosable, setCloseShortcut, setDraggable, setModal, setName, setPositionX, setPositionY, setResizable, setResizeLazy, setTerminal, setTheme, showNotification, showNotification, showNotification, showNotification, showNotification, showNotificationaddAction, addActionHandler, addListener, componentAttachedToContainer, componentDetachedFromContainer, getActionManager, getComponentIterator, getContent, getLayout, getScrollLeft, getScrollOffsetX, getScrollOffsetY, getScrollTop, getTabIndex, isScrollable, removeAction, removeActionHandler, removeAllActionHandlers, removeAllComponents, removeComponent, removeListener, replaceComponent, requestRepaintAll, setCaption, setContent, setLayout, setScrollable, setScrollLeft, setScrollOffsetX, setScrollOffsetY, setScrollTop, setTabIndexaddListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeListener, removeListener, setEnabled, setHeight, setWidthaddListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getStyle, getStyleName, getWidth, getWidthUnits, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnitsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, addStyleName, childRequestedRepaint, getCaption, getIcon, getLocale, getStyleName, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible@Autowired protected I18nManager i18nManager
@Autowired protected NavigationFragmentChangeListener navigationFragmentChangeListener
protected MainLayout mainLayout
protected com.vaadin.ui.UriFragmentUtility uriFragmentUtility
protected UriFragment currentUriFragment
protected boolean showingLoginPage
public void attach()
attach in interface com.vaadin.ui.Componentattach in class com.vaadin.ui.Windowpublic void showLoginPage()
public void showDefaultContent()
public void switchView(com.vaadin.ui.Component component)
public void setMainNavigation(String navigation)
protected void initHiddenComponents()
public UriFragment getCurrentUriFragment()
public void setCurrentUriFragment(UriFragment fragment)
UriFragment.
Won't trigger navigation, just updates the URI fragment in the browser.public boolean isShowingLoginPage()
public void setNavigationFragmentChangeListener(NavigationFragmentChangeListener navigationFragmentChangeListener)
public void setI18nManager(I18nManager i18nManager)
Copyright © 2016 Alfresco. All rights reserved.