public static class JmixManagedTabSheet.TabImpl extends com.vaadin.ui.CssLayout implements JmixManagedTabSheet.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 JmixManagedTabSheet.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 JmixManagedTabSheet.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(JmixManagedTabSheet.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, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getJTestId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isOrHasAncestor, isReadOnly, isResponsive, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setData, setDebugId, setDescription, setDescription, setHeight, setHeightFull, setHeightUndefined, setJTestId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setWidth, setWidthFull, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, 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, getDescription, getJTestId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, removeListener, removeStyleName, removeStyleNames, setJTestId, 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 JmixManagedTabSheet.CloseHandler closeHandler
protected boolean closable
protected com.vaadin.ui.Component component
protected com.vaadin.ui.TabSheet.Tab tabbarTab
protected ContentSwitchMode contentSwitchMode
@Nullable protected JmixManagedTabSheet.CloseHandler getCloseHandler()
protected void setCloseHandler(@Nullable JmixManagedTabSheet.CloseHandler closeHandler)
public void setId(java.lang.String id)
setId
in interface com.vaadin.ui.Component
setId
in interface JmixManagedTabSheet.Tab
setId
in class com.vaadin.ui.AbstractComponent
public java.lang.String getId()
getId
in interface com.vaadin.ui.Component
getId
in interface JmixManagedTabSheet.Tab
getId
in class com.vaadin.ui.AbstractComponent
public void setEnabled(boolean enabled)
setEnabled
in interface com.vaadin.ui.Component
setEnabled
in interface JmixManagedTabSheet.Tab
setEnabled
in class com.vaadin.ui.AbstractComponent
public boolean isEnabled()
isEnabled
in interface com.vaadin.ui.Component
isEnabled
in interface JmixManagedTabSheet.Tab
isEnabled
in class com.vaadin.ui.AbstractComponent
public boolean isVisible()
isVisible
in interface com.vaadin.ui.Component
isVisible
in interface JmixManagedTabSheet.Tab
isVisible
in class com.vaadin.ui.AbstractComponent
public void setVisible(boolean visible)
setVisible
in interface com.vaadin.ui.Component
setVisible
in interface JmixManagedTabSheet.Tab
setVisible
in class com.vaadin.ui.AbstractComponent
public void setCaption(java.lang.String caption)
setCaption
in interface com.vaadin.ui.Component
setCaption
in interface JmixManagedTabSheet.Tab
setCaption
in class com.vaadin.ui.AbstractComponent
public java.lang.String getCaption()
getCaption
in interface com.vaadin.ui.Component
getCaption
in interface JmixManagedTabSheet.Tab
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 JmixManagedTabSheet.Tab
public void setClosable(boolean closable)
setClosable
in interface JmixManagedTabSheet.Tab
public void setStyleName(java.lang.String style)
setStyleName
in interface com.vaadin.ui.Component
setStyleName
in interface JmixManagedTabSheet.Tab
setStyleName
in class com.vaadin.ui.AbstractComponent
public void setIcon(@Nullable com.vaadin.server.Resource icon)
setIcon
in interface com.vaadin.ui.Component
setIcon
in interface JmixManagedTabSheet.Tab
setIcon
in class com.vaadin.ui.AbstractComponent
@Nullable public com.vaadin.server.Resource getIcon()
getIcon
in interface com.vaadin.ui.Component
getIcon
in interface JmixManagedTabSheet.Tab
getIcon
in class com.vaadin.ui.AbstractComponent
public com.vaadin.ui.Component getComponent()
getComponent
in interface JmixManagedTabSheet.Tab
protected void setComponent(com.vaadin.ui.Component component)
protected void setContentSwitchMode(ContentSwitchMode contentSwitchMode)
protected ContentSwitchMode getContentSwitchMode()