public class CmsAppViewLayout extends com.vaadin.ui.CssLayout implements I_CmsAppUIContext
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.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
Constructor and Description |
---|
CmsAppViewLayout()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Button |
addPublishButton(I_CmsUpdateListener<java.lang.String> updateListener)
Adds the publish button to the toolbar.
|
void |
addToolbarButton(com.vaadin.ui.Component button)
Adds a toolbar button.
|
void |
clearToolbarButtons()
Removes the app's toolbar buttons.
|
void |
closePopupViews()
Closes the toolbar popup views.
|
void |
hideToolbar()
Hides the the toolbar.
|
void |
setAppContent(com.vaadin.ui.Component appContent)
Sets the app content component.
|
void |
setAppInfo(com.vaadin.ui.Component infoContent)
Sets the app info component.
|
void |
setAppTitle(java.lang.String title)
Sets the app title.
|
void |
setMenuDialogContext(I_CmsDialogContext context)
Sets the dialog context for context menu entries.
|
void |
showInfoArea(boolean show)
Sets the info grid visibility.
|
void |
showToolbar()
Shows the formerly hidden toolbar.
|
void |
updateOnChange()
Updates the ui context on site or project changes.
|
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, addListener, beforeClientResponse, getComponent, getComponentCount, getComponentIndex, getCss, getState, iterator, readDesign, removeComponent, removeLayoutClickListener, removeListener, replaceComponent, writeDesign
addComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidth
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getState, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addComponents, addListener, addListener, getComponentIterator, moveComponentsFrom, removeAllComponents, removeListener, removeListener
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public CmsAppViewLayout()
public com.vaadin.ui.Button addPublishButton(I_CmsUpdateListener<java.lang.String> updateListener)
I_CmsAppUIContext
addPublishButton
in interface I_CmsAppUIContext
updateListener
- the update listener, called after publishingI_CmsAppUIContext.addPublishButton(org.opencms.ui.I_CmsUpdateListener)
public void addToolbarButton(com.vaadin.ui.Component button)
I_CmsAppUIContext
addToolbarButton
in interface I_CmsAppUIContext
button
- the button to addI_CmsAppUIContext.addToolbarButton(com.vaadin.ui.Component)
public void clearToolbarButtons()
I_CmsAppUIContext
clearToolbarButtons
in interface I_CmsAppUIContext
I_CmsAppUIContext.clearToolbarButtons()
public void closePopupViews()
public void hideToolbar()
I_CmsAppUIContext
hideToolbar
in interface I_CmsAppUIContext
I_CmsAppUIContext.hideToolbar()
public void setAppContent(com.vaadin.ui.Component appContent)
setAppContent
in interface I_CmsAppUIContext
appContent
- the app contentpublic void setAppInfo(com.vaadin.ui.Component infoContent)
I_CmsAppUIContext
setAppInfo
in interface I_CmsAppUIContext
infoContent
- the info componentI_CmsAppUIContext.setAppInfo(com.vaadin.ui.Component)
public void setAppTitle(java.lang.String title)
I_CmsAppUIContext
setAppTitle
in interface I_CmsAppUIContext
title
- the app titleI_CmsAppUIContext.setAppTitle(java.lang.String)
public void setMenuDialogContext(I_CmsDialogContext context)
I_CmsAppUIContext
setMenuDialogContext
in interface I_CmsAppUIContext
context
- the dialog contextI_CmsAppUIContext.setMenuDialogContext(org.opencms.ui.I_CmsDialogContext)
public void showInfoArea(boolean show)
I_CmsAppUIContext
showInfoArea
in interface I_CmsAppUIContext
show
- true
to show the infoI_CmsAppUIContext.showInfoArea(boolean)
public void showToolbar()
I_CmsAppUIContext
showToolbar
in interface I_CmsAppUIContext
I_CmsAppUIContext.showToolbar()
public void updateOnChange()
I_CmsAppUIContext
updateOnChange
in interface I_CmsAppUIContext
I_CmsAppUIContext.updateOnChange()