public class MagnoliaTab
extends com.vaadin.ui.AbstractSingleComponentContainer
implements com.vaadin.ui.SelectiveRenderer
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 |
---|
MagnoliaTab(String caption,
com.vaadin.ui.Component c) |
Modifier and Type | Method and Description |
---|---|
String |
getNotification() |
MagnoliaTabSheet |
getParent() |
protected MagnoliaTabState |
getState() |
protected MagnoliaTabState |
getState(boolean markAsDirty) |
boolean |
hasError() |
boolean |
hasNotification() |
void |
hideNotification() |
boolean |
isClosable() |
boolean |
isRendered(com.vaadin.ui.Component childComponent) |
void |
setActive(boolean active) |
void |
setClosable(boolean isClosable) |
void |
setContent(com.vaadin.ui.Component content) |
void |
setHasError(boolean hasError) |
void |
setIcon(String icon) |
void |
setNotification(String text) |
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentCount, getContent, iterator, readDesign, readDesignChildren, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setHeight, setWidth, writeDesign
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, getPrimaryStyleName, 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
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, 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, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
forEach, spliterator
public MagnoliaTab(String caption, com.vaadin.ui.Component c)
public boolean isClosable()
protected MagnoliaTabState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.AbstractComponent
protected MagnoliaTabState getState()
getState
in class com.vaadin.ui.AbstractComponent
public boolean isRendered(com.vaadin.ui.Component childComponent)
isRendered
in interface com.vaadin.ui.SelectiveRenderer
public void setClosable(boolean isClosable)
public void setNotification(String text)
public void setHasError(boolean hasError)
public void hideNotification()
public String getNotification()
public boolean hasNotification()
public boolean hasError()
public MagnoliaTabSheet getParent()
getParent
in interface com.vaadin.server.ClientConnector
getParent
in interface com.vaadin.shared.Connector
getParent
in interface com.vaadin.ui.Component
getParent
in class com.vaadin.ui.AbstractComponent
public void setContent(com.vaadin.ui.Component content)
setContent
in interface com.vaadin.ui.SingleComponentContainer
setContent
in class com.vaadin.ui.AbstractSingleComponentContainer
public void setIcon(String icon)
public void setActive(boolean active)
Copyright © 2017 Magnolia International Ltd.. All rights reserved.