Package io.jmix.ui.widget
Class JmixManagedTabSheet.TabImpl
java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractComponentContainer
com.vaadin.ui.AbstractLayout
com.vaadin.ui.CssLayout
io.jmix.ui.widget.JmixManagedTabSheet.TabImpl
- All Implemented Interfaces:
com.vaadin.event.ContextClickEvent.ContextClickNotifier,com.vaadin.event.LayoutEvents.LayoutClickNotifier,com.vaadin.event.MethodEventSource,com.vaadin.server.ClientConnector,com.vaadin.server.Sizeable,com.vaadin.shared.Connector,com.vaadin.ui.Component,com.vaadin.ui.Component.HasContextHelp,com.vaadin.ui.ComponentContainer,com.vaadin.ui.HasComponents,com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier,com.vaadin.ui.Layout,JmixManagedTabSheet.Tab,Serializable,Iterable<com.vaadin.ui.Component>
- Enclosing class:
- JmixManagedTabSheet
public static class JmixManagedTabSheet.TabImpl
extends com.vaadin.ui.CssLayout
implements JmixManagedTabSheet.Tab
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandlerNested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListenerNested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.ListenerNested classes/interfaces inherited from interface com.vaadin.ui.Component.HasContextHelp
com.vaadin.ui.Component.HasContextHelp.ContextHelpIconClickEvent, com.vaadin.ui.Component.HasContextHelp.ContextHelpIconClickListenerNested classes/interfaces inherited from interface com.vaadin.ui.HasComponents
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListenerNested classes/interfaces inherited from interface com.vaadin.ui.Layout
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandlerNested classes/interfaces inherited from interface com.vaadin.server.Sizeable
com.vaadin.server.Sizeable.Unit -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected JmixManagedTabSheet.CloseHandlerprotected com.vaadin.ui.Componentprotected ContentSwitchModeprotected Stringprotected static final Stringprotected com.vaadin.ui.TabSheet.TabFields inherited from class com.vaadin.ui.CssLayout
componentsFields inherited from class com.vaadin.ui.AbstractComponent
componentErrorProvider, DESIGN_ATTR_PLAIN_TEXT, requiredErrorFields inherited from interface com.vaadin.server.Sizeable
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JmixManagedTabSheet.CloseHandlercom.vaadin.ui.Componentprotected ContentSwitchModecom.vaadin.server.ResourcegetIcon()getId()protected com.vaadin.ui.TabSheet.TabbooleanbooleanbooleanvoidsetCaption(String caption) voidsetClosable(boolean closable) protected voidsetCloseHandler(JmixManagedTabSheet.CloseHandler closeHandler) protected voidsetComponent(com.vaadin.ui.Component component) protected voidsetContentSwitchMode(ContentSwitchMode contentSwitchMode) voidsetEnabled(boolean enabled) voidsetIcon(com.vaadin.server.Resource icon) voidvoidsetStyleName(String style) protected voidsetTabbarTab(com.vaadin.ui.TabSheet.Tab tabbarTab) voidsetVisible(boolean visible) Methods inherited from class com.vaadin.ui.CssLayout
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, beforeClientResponse, getComponent, getComponentCount, getComponentIndex, getCss, getState, getState, iterator, readDesign, removeComponent, removeLayoutClickListener, replaceComponent, writeDesignMethods inherited from class com.vaadin.ui.AbstractLayout
isRequiredIndicatorVisible, readMargin, setRequiredIndicatorVisible, writeMarginMethods inherited from class com.vaadin.ui.AbstractComponentContainer
addComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidthMethods inherited from class com.vaadin.ui.AbstractComponent
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, setWidthUndefinedMethods inherited from class com.vaadin.server.AbstractClientConnector
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, updateDiffstateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerMethods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, addStyleNames, attach, getDescription, getJTestId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, removeListener, removeStyleName, removeStyleNames, setJTestId, setParent, setPrimaryStyleName, setStyleNameMethods inherited from interface com.vaadin.ui.ComponentContainer
addComponents, getComponentIterator, moveComponentsFrom, removeAllComponentsMethods inherited from interface com.vaadin.shared.Connector
getConnectorIdMethods inherited from interface com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier
addComponentAttachListener, addComponentDetachListener, removeComponentAttachListener, removeComponentDetachListenerMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface io.jmix.ui.widget.JmixManagedTabSheet.Tab
getComponentError, getDescription, getStyleName, setComponentError, setDescriptionMethods inherited from interface com.vaadin.server.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
-
Field Details
-
id
-
MANAGED_TAB_STYLENAME
- See Also:
-
closeHandler
-
closable
protected boolean closable -
component
protected com.vaadin.ui.Component component -
tabbarTab
protected com.vaadin.ui.TabSheet.Tab tabbarTab -
contentSwitchMode
-
-
Constructor Details
-
TabImpl
protected TabImpl(com.vaadin.ui.Component component)
-
-
Method Details
-
getCloseHandler
-
setCloseHandler
-
setId
- Specified by:
setIdin interfacecom.vaadin.ui.Component- Specified by:
setIdin interfaceJmixManagedTabSheet.Tab- Overrides:
setIdin classcom.vaadin.ui.AbstractComponent
-
getId
- Specified by:
getIdin interfacecom.vaadin.ui.Component- Specified by:
getIdin interfaceJmixManagedTabSheet.Tab- Overrides:
getIdin classcom.vaadin.ui.AbstractComponent
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfacecom.vaadin.ui.Component- Specified by:
setEnabledin interfaceJmixManagedTabSheet.Tab- Overrides:
setEnabledin classcom.vaadin.ui.AbstractComponent
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfacecom.vaadin.ui.Component- Specified by:
isEnabledin interfaceJmixManagedTabSheet.Tab- Overrides:
isEnabledin classcom.vaadin.ui.AbstractComponent
-
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfacecom.vaadin.ui.Component- Specified by:
isVisiblein interfaceJmixManagedTabSheet.Tab- Overrides:
isVisiblein classcom.vaadin.ui.AbstractComponent
-
setVisible
public void setVisible(boolean visible) - Specified by:
setVisiblein interfacecom.vaadin.ui.Component- Specified by:
setVisiblein interfaceJmixManagedTabSheet.Tab- Overrides:
setVisiblein classcom.vaadin.ui.AbstractComponent
-
setCaption
- Specified by:
setCaptionin interfacecom.vaadin.ui.Component- Specified by:
setCaptionin interfaceJmixManagedTabSheet.Tab- Overrides:
setCaptionin classcom.vaadin.ui.AbstractComponent
-
getCaption
- Specified by:
getCaptionin interfacecom.vaadin.ui.Component- Specified by:
getCaptionin interfaceJmixManagedTabSheet.Tab- Overrides:
getCaptionin classcom.vaadin.ui.AbstractComponent
-
getTabbarTab
protected com.vaadin.ui.TabSheet.Tab getTabbarTab() -
setTabbarTab
protected void setTabbarTab(com.vaadin.ui.TabSheet.Tab tabbarTab) -
isClosable
public boolean isClosable()- Specified by:
isClosablein interfaceJmixManagedTabSheet.Tab
-
setClosable
public void setClosable(boolean closable) - Specified by:
setClosablein interfaceJmixManagedTabSheet.Tab
-
setStyleName
- Specified by:
setStyleNamein interfacecom.vaadin.ui.Component- Specified by:
setStyleNamein interfaceJmixManagedTabSheet.Tab- Overrides:
setStyleNamein classcom.vaadin.ui.AbstractComponent
-
setIcon
public void setIcon(@Nullable com.vaadin.server.Resource icon) - Specified by:
setIconin interfacecom.vaadin.ui.Component- Specified by:
setIconin interfaceJmixManagedTabSheet.Tab- Overrides:
setIconin classcom.vaadin.ui.AbstractComponent
-
getIcon
@Nullable public com.vaadin.server.Resource getIcon()- Specified by:
getIconin interfacecom.vaadin.ui.Component- Specified by:
getIconin interfaceJmixManagedTabSheet.Tab- Overrides:
getIconin classcom.vaadin.ui.AbstractComponent
-
getComponent
public com.vaadin.ui.Component getComponent()- Specified by:
getComponentin interfaceJmixManagedTabSheet.Tab
-
setComponent
protected void setComponent(com.vaadin.ui.Component component) -
setContentSwitchMode
-
getContentSwitchMode
-