public class MagnoliaTabSheet
extends com.vaadin.ui.AbstractComponentContainer
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 |
---|
MagnoliaTabSheet() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(com.vaadin.ui.Component c) |
MagnoliaTab |
addTab(String caption,
com.vaadin.ui.Component c) |
protected void |
closeTab(MagnoliaTab tab) |
void |
closeTabFromServer(MagnoliaTab tab)
Send a rpc call to the client, which will remove the tab related views and call back to the server.
|
protected void |
doAddTab(MagnoliaTab tab) |
MagnoliaTab |
getActiveTab() |
int |
getComponentCount() |
MagnoliaTab |
getNextTab(MagnoliaTab tab) |
protected MagnoliaTabSheetState |
getState() |
protected MagnoliaTabSheetState |
getState(boolean markDirty) |
Iterator<com.vaadin.ui.Component> |
iterator() |
void |
removeComponent(com.vaadin.ui.Component c) |
void |
replaceComponent(com.vaadin.ui.Component oldComponent,
com.vaadin.ui.Component newComponent) |
void |
setActiveTab(MagnoliaTab tab) |
void |
setLogo(String logo,
String bgcolor) |
void |
setName(String name) |
protected void |
showAll() |
void |
showAllTab(boolean showAll,
String label) |
addComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidth
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, readDesign, 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, writeDesign
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
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, readDesign, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, 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, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidthUndefined
forEach, spliterator
protected void showAll()
public void addComponent(com.vaadin.ui.Component c)
addComponent
in interface com.vaadin.ui.ComponentContainer
addComponent
in class com.vaadin.ui.AbstractComponentContainer
public MagnoliaTab addTab(String caption, com.vaadin.ui.Component c)
protected MagnoliaTabSheetState getState()
getState
in class com.vaadin.ui.AbstractComponent
protected MagnoliaTabSheetState getState(boolean markDirty)
getState
in class com.vaadin.ui.AbstractComponent
public void showAllTab(boolean showAll, String label)
protected void closeTab(MagnoliaTab tab)
protected void doAddTab(MagnoliaTab tab)
public MagnoliaTab getActiveTab()
public MagnoliaTab getNextTab(MagnoliaTab tab)
public void removeComponent(com.vaadin.ui.Component c)
removeComponent
in interface com.vaadin.ui.ComponentContainer
removeComponent
in class com.vaadin.ui.AbstractComponentContainer
public void setActiveTab(MagnoliaTab tab)
public void replaceComponent(com.vaadin.ui.Component oldComponent, com.vaadin.ui.Component newComponent)
public int getComponentCount()
public Iterator<com.vaadin.ui.Component> iterator()
public void closeTabFromServer(MagnoliaTab tab)
closeTab(MagnoliaTab)
public void setName(String name)
Copyright © 2017 Magnolia International Ltd.. All rights reserved.