T
- type of data displayed in a content viewpublic class ContentViews<T> extends com.vaadin.ui.VerticalLayout implements UIComponent, com.vaadin.ui.Component.Focusable
content views
.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
com.vaadin.server.Sizeable.Unit
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
Constructor and Description |
---|
ContentViews(Workbench.WorkbenchContext workbenchContext,
ContentViewsDefinition<T> definition,
List<ExtensionViewDefinition> extensionViews) |
Modifier and Type | Method and Description |
---|---|
protected com.vaadin.ui.Component |
createViewIcon(String viewType,
boolean extension,
String icon) |
protected com.vaadin.ui.Button |
createViewIcon(String viewType,
boolean extension,
String icon,
info.magnolia.icons.MagnoliaIcons defaultIcon) |
void |
focus() |
protected ContentViewsDefinition<T> |
getDefinition() |
protected Map<String,ExtensionViewDefinition> |
getExtensionViews() |
int |
getTabIndex() |
void |
setTabIndex(int tabIndex) |
void |
setTitle(String title) |
void |
setTitle(String title,
boolean isHtml) |
addComponentsAndExpand, getState, getState
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, isSpacing, iterator, readDesign, removeComponent, removeLayoutClickListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesign
addComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidth
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
accessViewBeanStore, asVaadinComponent, bindContext, bindInstance, create, create, create, create, destroy, getComponentProvider, getCurrentViewReference
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, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
addComponents, getComponentIterator, moveComponentsFrom, removeAllComponents
forEach, spliterator
@Inject public ContentViews(Workbench.WorkbenchContext workbenchContext, ContentViewsDefinition<T> definition, List<ExtensionViewDefinition> extensionViews)
protected com.vaadin.ui.Button createViewIcon(String viewType, boolean extension, String icon, info.magnolia.icons.MagnoliaIcons defaultIcon)
protected com.vaadin.ui.Component createViewIcon(String viewType, boolean extension, String icon)
public void setTitle(String title)
public void setTitle(String title, boolean isHtml)
protected ContentViewsDefinition<T> getDefinition()
protected Map<String,ExtensionViewDefinition> getExtensionViews()
public void focus()
focus
in interface com.vaadin.ui.Component.Focusable
focus
in class com.vaadin.ui.AbstractComponent
public int getTabIndex()
getTabIndex
in interface com.vaadin.ui.Component.Focusable
public void setTabIndex(int tabIndex)
setTabIndex
in interface com.vaadin.ui.Component.Focusable
Copyright © 2021 Magnolia International Ltd.. All rights reserved.