We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.tabs.
Class GeneratedVaadinTabs<R extends GeneratedVaadinTabs<R>>
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.tabs.GeneratedVaadinTabs<R>
-
All Implemented Interfaces:
AttachNotifier, DetachNotifier, HasElement, HasStyle, Serializable
Direct Known Subclasses:
@Generated(value={"Generator: com.vaadin.generator.ComponentGenerator#1.0-SNAPSHOT","WebComponent: Vaadin.TabsElement#2.0.0","Flow#1.0-SNAPSHOT"}) @Tag(value="vaadin-tabs") @HtmlImport(value="frontend://bower_components/vaadin-tabs/src/vaadin-tabs.html") public abstract class GeneratedVaadinTabs<R extends GeneratedVaadinTabs<R>> extends Component implements HasStyle
Description copied from corresponding location in WebComponent:
<vaadin-tabs>
is a Polymer 2 element for easy switching between different view<vaadin-tabs selected="4"> <vaadin-tab>Page 1</vaadin-tab> <vaadin-tab>Page 2</vaadin-tab> <vaadin-tab>Page 3</vaadin-tab> <vaadin-tab>Page 4</vaadin-tab> </vaadin-tabs>
Styling
The following shadow DOM parts are available for styling:
Part name Description back-button
Button for moving the scroll back tabs
The tabs container forward-button
Button for moving the scroll forward The following state attributes are available for styling:
Attribute Description Part name orientation
Tabs disposition, valid values are horizontal
andvertical
.:host overflow
It's set to start
,end
, none or both.:host See ThemableMixin ? how to apply styles for shadow parts
See Also:
-
-
Constructor Summary
Constructors Constructor and Description GeneratedVaadinTabs()
-
Method Summary
All Methods Modifier and Type Method and Description protected void
focus()
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
-
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
-
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
-
-