public static class CubaManagedTabSheet.TabImpl extends com.vaadin.ui.CssLayout implements CubaManagedTabSheet.Tab
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
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.HasContextHelp, 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
Modifier and Type | Field and Description |
---|---|
protected boolean |
closable |
protected CubaManagedTabSheet.CloseHandler |
closeHandler |
protected com.vaadin.ui.Component |
component |
protected ContentSwitchMode |
contentSwitchMode |
protected java.lang.String |
id |
protected static java.lang.String |
MANAGED_TAB_STYLENAME |
protected com.vaadin.ui.TabSheet.Tab |
tabbarTab |
Modifier | Constructor and Description |
---|---|
protected |
TabImpl(com.vaadin.ui.Component component) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCaption() |
protected CubaManagedTabSheet.CloseHandler |
getCloseHandler() |
com.vaadin.ui.Component |
getComponent() |
protected ContentSwitchMode |
getContentSwitchMode() |
com.vaadin.server.Resource |
getIcon() |
java.lang.String |
getId() |
protected com.vaadin.ui.TabSheet.Tab |
getTabbarTab() |
boolean |
isClosable() |
boolean |
isEnabled() |
boolean |
isVisible() |
void |
setCaption(java.lang.String caption) |
void |
setClosable(boolean closable) |
protected void |
setCloseHandler(CubaManagedTabSheet.CloseHandler closeHandler) |
protected void |
setComponent(com.vaadin.ui.Component component) |
protected void |
setContentSwitchMode(ContentSwitchMode contentSwitchMode) |
void |
setEnabled(boolean enabled) |
void |
setIcon(com.vaadin.server.Resource icon) |
void |
setId(java.lang.String id) |
void |
setStyleName(java.lang.String style) |
protected void |
setTabbarTab(com.vaadin.ui.TabSheet.Tab tabbarTab) |
void |
setVisible(boolean visible) |
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, beforeClientResponse, getComponent, getComponentCount, getComponentIndex, getCss, getState, getState, iterator, readDesign, removeComponent, removeLayoutClickListener, replaceComponent, writeDesign
isRequiredIndicatorVisible, readMargin, setRequiredIndicatorVisible, writeMargin
addComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidth
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, focus, getActionManager, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isOrHasAncestor, isReadOnly, isResponsive, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setHeight, setHeightUndefined, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, 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, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getComponentError, getDescription, getStyleName, setComponentError, setDescription
addComponents, getComponentIterator, moveComponentsFrom, removeAllComponents
addListener, addStyleName, addStyleNames, attach, getCubaId, getDescription, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, removeListener, removeStyleName, removeStyleNames, setCubaId, setParent, setPrimaryStyleName, setStyleName
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected java.lang.String id
protected static final java.lang.String MANAGED_TAB_STYLENAME
protected CubaManagedTabSheet.CloseHandler closeHandler
protected boolean closable
protected com.vaadin.ui.Component component
protected com.vaadin.ui.TabSheet.Tab tabbarTab
protected ContentSwitchMode contentSwitchMode
protected CubaManagedTabSheet.CloseHandler getCloseHandler()
protected void setCloseHandler(CubaManagedTabSheet.CloseHandler closeHandler)
public void setId(java.lang.String id)
setId
in interface CubaManagedTabSheet.Tab
setId
in interface com.vaadin.ui.Component
setId
in class com.vaadin.ui.AbstractComponent
public java.lang.String getId()
getId
in interface CubaManagedTabSheet.Tab
getId
in interface com.vaadin.ui.Component
getId
in class com.vaadin.ui.AbstractComponent
public void setEnabled(boolean enabled)
setEnabled
in interface CubaManagedTabSheet.Tab
setEnabled
in interface com.vaadin.ui.Component
setEnabled
in class com.vaadin.ui.AbstractComponent
public boolean isEnabled()
isEnabled
in interface CubaManagedTabSheet.Tab
isEnabled
in interface com.vaadin.ui.Component
isEnabled
in class com.vaadin.ui.AbstractComponent
public boolean isVisible()
isVisible
in interface CubaManagedTabSheet.Tab
isVisible
in interface com.vaadin.ui.Component
isVisible
in class com.vaadin.ui.AbstractComponent
public void setVisible(boolean visible)
setVisible
in interface CubaManagedTabSheet.Tab
setVisible
in interface com.vaadin.ui.Component
setVisible
in class com.vaadin.ui.AbstractComponent
public void setCaption(java.lang.String caption)
setCaption
in interface CubaManagedTabSheet.Tab
setCaption
in interface com.vaadin.ui.Component
setCaption
in class com.vaadin.ui.AbstractComponent
public java.lang.String getCaption()
getCaption
in interface CubaManagedTabSheet.Tab
getCaption
in interface com.vaadin.ui.Component
getCaption
in class com.vaadin.ui.AbstractComponent
protected com.vaadin.ui.TabSheet.Tab getTabbarTab()
protected void setTabbarTab(com.vaadin.ui.TabSheet.Tab tabbarTab)
public boolean isClosable()
isClosable
in interface CubaManagedTabSheet.Tab
public void setClosable(boolean closable)
setClosable
in interface CubaManagedTabSheet.Tab
public void setStyleName(java.lang.String style)
setStyleName
in interface CubaManagedTabSheet.Tab
setStyleName
in interface com.vaadin.ui.Component
setStyleName
in class com.vaadin.ui.AbstractComponent
public void setIcon(com.vaadin.server.Resource icon)
setIcon
in interface CubaManagedTabSheet.Tab
setIcon
in interface com.vaadin.ui.Component
setIcon
in class com.vaadin.ui.AbstractComponent
public com.vaadin.server.Resource getIcon()
getIcon
in interface CubaManagedTabSheet.Tab
getIcon
in interface com.vaadin.ui.Component
getIcon
in class com.vaadin.ui.AbstractComponent
public com.vaadin.ui.Component getComponent()
getComponent
in interface CubaManagedTabSheet.Tab
protected void setComponent(com.vaadin.ui.Component component)
protected void setContentSwitchMode(ContentSwitchMode contentSwitchMode)
protected ContentSwitchMode getContentSwitchMode()