public class WindowBreadCrumbs
extends com.vaadin.ui.CssLayout
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowBreadCrumbs.NavigationButton |
static interface |
WindowBreadCrumbs.WindowNavigateHandler |
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandlercom.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandlercom.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListenercom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
BREADCRUMBS_VISIBLE_WRAP_STYLE |
protected static java.lang.String |
C_HEADLINE_CONTAINER |
protected com.vaadin.ui.Button |
closeBtn |
protected com.vaadin.ui.Layout |
linksLayout |
protected AppUI |
ui |
protected boolean |
visibleExplicitly |
protected WindowBreadCrumbs.WindowNavigateHandler |
windowNavigateHandler |
protected java.util.Deque<Window> |
windows |
protected AppWorkArea.Mode |
workAreaMode |
| Constructor and Description |
|---|
WindowBreadCrumbs(AppWorkArea.Mode workAreaMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWindow(Window window) |
protected void |
adjustParentStyles() |
void |
attach() |
protected void |
componentAttachedToUI() |
protected com.vaadin.ui.Layout |
createEnclosingLayout() |
protected com.vaadin.ui.Layout |
createLinksLayout() |
protected com.vaadin.ui.Layout |
createLogoLayout() |
protected void |
fireListeners(Window window) |
Window |
getCurrentWindow() |
java.util.Deque<Window> |
getWindows() |
protected boolean |
isCloseWithCloseButtonPrevented(Window currentWindow) |
protected void |
navigationButtonClicked(com.vaadin.ui.Button.ClickEvent event) |
protected void |
onCloseWindowButtonClick(com.vaadin.shared.MouseEventDetails meDetails) |
void |
removeWindow() |
protected com.vaadin.server.Resource |
resolveIcon(BeanLocator beanLocator,
CubaIcon icon) |
void |
setBeanLocator(BeanLocator beanLocator) |
void |
setUI(AppUI ui) |
void |
setVisible(boolean visible) |
void |
setWindowNavigateHandler(WindowBreadCrumbs.WindowNavigateHandler handler) |
void |
update() |
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, beforeClientResponse, getComponent, getComponentCount, getComponentIndex, getCss, getState, getState, iterator, readDesign, removeComponent, removeLayoutClickListener, replaceComponent, writeDesignisRequiredIndicatorVisible, readMargin, setRequiredIndicatorVisible, writeMarginaddComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidthaddContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, focus, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setWidth, setWidthFull, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddComponents, getComponentIterator, moveComponentsFrom, removeAllComponentsaddListener, addStyleName, addStyleNames, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setCubaId, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleNameaddAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerprotected static final java.lang.String BREADCRUMBS_VISIBLE_WRAP_STYLE
protected static final java.lang.String C_HEADLINE_CONTAINER
protected boolean visibleExplicitly
protected AppWorkArea.Mode workAreaMode
protected java.util.Deque<Window> windows
protected com.vaadin.ui.Layout linksLayout
protected com.vaadin.ui.Button closeBtn
protected WindowBreadCrumbs.WindowNavigateHandler windowNavigateHandler
protected AppUI ui
public WindowBreadCrumbs(AppWorkArea.Mode workAreaMode)
public void setUI(AppUI ui)
public void setBeanLocator(BeanLocator beanLocator)
protected com.vaadin.server.Resource resolveIcon(BeanLocator beanLocator, CubaIcon icon)
protected void onCloseWindowButtonClick(com.vaadin.shared.MouseEventDetails meDetails)
protected boolean isCloseWithCloseButtonPrevented(Window currentWindow)
protected com.vaadin.ui.Layout createEnclosingLayout()
protected com.vaadin.ui.Layout createLinksLayout()
protected com.vaadin.ui.Layout createLogoLayout()
public Window getCurrentWindow()
public void addWindow(Window window)
public void removeWindow()
public void setVisible(boolean visible)
setVisible in interface com.vaadin.ui.ComponentsetVisible in class com.vaadin.ui.AbstractComponentprotected void adjustParentStyles()
public void setWindowNavigateHandler(WindowBreadCrumbs.WindowNavigateHandler handler)
protected void fireListeners(Window window)
public void update()
public void attach()
attach in interface com.vaadin.server.ClientConnectorattach in interface com.vaadin.ui.Componentattach in class com.vaadin.ui.AbstractComponentprotected void componentAttachedToUI()
public java.util.Deque<Window> getWindows()
protected void navigationButtonClicked(com.vaadin.ui.Button.ClickEvent event)