@JavaScript(value={"jquery-1.12.4.min.js","jquery.animate-enhanced.min.js"}) public class MagnoliaShell extends com.vaadin.ui.AbstractComponent implements com.vaadin.ui.HasComponents, View
Modifier and Type | Class and Description |
---|---|
static interface |
MagnoliaShell.Listener
Listener for events.
|
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.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 |
---|
MagnoliaShell() |
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Component |
asVaadinComponent()
Returns the Vaadin component managed by this view.
|
protected MagnoliaShellState |
createState() |
void |
doRegisterApps(List<String> appNames) |
ShellViewport |
getAppViewport() |
ShellAppsViewport |
getShellAppViewport() |
protected MagnoliaShellState |
getState() |
protected MagnoliaShellState |
getState(boolean markDirty) |
String |
getUriFragment() |
void |
goToApp(Fragment fragment) |
void |
goToShellApp(Fragment fragment) |
void |
hideAllMessages() |
Iterator<com.vaadin.ui.Component> |
iterator()
Must also include any overlays that have been attached to the shell.
|
void |
notifyOnFragmentChanged(String fragment) |
void |
onAppStarted(String appName) |
void |
onAppStopped(String appName) |
OverlayCloser |
openOverlay(View child,
View parent,
OverlayLayer.ModalityDomain modalityDomain,
OverlayLayer.ModalityLevel modalityLevel)
Open an Overlay on top of a specific View.
|
void |
registerShellApp(ShellAppType type,
com.vaadin.ui.Component component) |
void |
removeMessage(String messageId) |
void |
removeOverlay(Overlay overlay) |
void |
setFullScreen(boolean isFullScreen) |
void |
setIndication(ShellAppType type,
int indication) |
void |
setListener(MagnoliaShell.Listener listener) |
void |
setStickerView(View view) |
void |
setUriFragment(Fragment fragment) |
void |
setUserMenu(View view) |
void |
showError(String id,
String subject,
String message) |
void |
showInfo(String id,
String subject,
String message) |
void |
showWarning(String id,
String subject,
String message) |
void |
stopCurrentApp() |
void |
stopCurrentShellApp() |
void |
updateShellAppIndication(ShellAppType type,
int incrementOrDecrement) |
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined, writeDesign
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, 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, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
forEach, spliterator
public void setUserMenu(View view)
public void setStickerView(View view)
public void stopCurrentShellApp()
public void stopCurrentApp()
public void removeMessage(String messageId)
public void goToApp(Fragment fragment)
public void goToShellApp(Fragment fragment)
public void hideAllMessages()
public void setFullScreen(boolean isFullScreen)
public void updateShellAppIndication(ShellAppType type, int incrementOrDecrement)
public void setIndication(ShellAppType type, int indication)
public void setUriFragment(Fragment fragment)
public String getUriFragment()
public OverlayCloser openOverlay(View child, View parent, OverlayLayer.ModalityDomain modalityDomain, OverlayLayer.ModalityLevel modalityLevel)
child
- View to be displayed over another view.parent
- The View to open the Overlay on top of.public void removeOverlay(Overlay overlay)
protected MagnoliaShellState createState()
createState
in class com.vaadin.server.AbstractClientConnector
protected MagnoliaShellState getState()
getState
in class com.vaadin.ui.AbstractComponent
protected MagnoliaShellState getState(boolean markDirty)
getState
in class com.vaadin.ui.AbstractComponent
public void notifyOnFragmentChanged(String fragment)
public void setListener(MagnoliaShell.Listener listener)
public void onAppStarted(String appName)
public void onAppStopped(String appName)
public void registerShellApp(ShellAppType type, com.vaadin.ui.Component component)
public Iterator<com.vaadin.ui.Component> iterator()
public ShellViewport getAppViewport()
public ShellAppsViewport getShellAppViewport()
public com.vaadin.ui.Component asVaadinComponent()
View
asVaadinComponent
in interface View
Copyright © 2018 Magnolia International Ltd.. All rights reserved.