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.IncorrectConcurrentAccessHandler
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandler
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
com.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, writeDesign
isRequiredIndicatorVisible, readMargin, setRequiredIndicatorVisible, writeMargin
addComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidth
addContextClickListener, 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, setWidthUndefined
addAttachListener, 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, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addComponents, getComponentIterator, moveComponentsFrom, removeAllComponents
addListener, 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, setStyleName
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected 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.Component
setVisible
in class com.vaadin.ui.AbstractComponent
protected 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.ClientConnector
attach
in interface com.vaadin.ui.Component
attach
in class com.vaadin.ui.AbstractComponent
protected void componentAttachedToUI()
public java.util.Deque<Window> getWindows()
protected void navigationButtonClicked(com.vaadin.ui.Button.ClickEvent event)