Class VAccordionPanel

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.flow.component.details.Details

        com.vaadin.flow.component.details.Details.OpenedChangeEvent
    • Constructor Summary

      Constructors 
      Constructor Description
      VAccordionPanel()  
      VAccordionPanel​(com.vaadin.flow.component.Component summary, com.vaadin.flow.component.Component content)  
      VAccordionPanel​(String summary, com.vaadin.flow.component.Component content)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VAccordionPanel withContent​(com.vaadin.flow.component.Component content)  
      VAccordionPanel withOpened​(boolean opened)  
      VAccordionPanel withOpenedChangeListener​(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.details.Details.OpenedChangeEvent> listener)  
      VAccordionPanel withSummary​(com.vaadin.flow.component.Component summary)  
      VAccordionPanel withSummaryText​(String summary)  
      VAccordionPanel withThemeVariants​(com.vaadin.flow.component.details.DetailsVariant... variants)  
      • Methods inherited from class com.vaadin.flow.component.details.Details

        addContent, addOpenedChangeListener, addThemeVariants, getContent, getSummary, getSummaryText, isOpened, removeThemeVariants, setContent, setOpened, setSummary, setSummaryText
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasEnabled

        isEnabled, setEnabled
      • Methods inherited from interface com.vaadin.flow.component.HasSize

        getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
      • 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.HasTheme

        addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
      • Methods inherited from interface com.vaadin.flow.component.shared.HasTooltip

        getTooltip, setTooltipText
    • Constructor Detail

      • VAccordionPanel

        public VAccordionPanel()
      • VAccordionPanel

        public VAccordionPanel​(String summary,
                               com.vaadin.flow.component.Component content)
      • VAccordionPanel

        public VAccordionPanel​(com.vaadin.flow.component.Component summary,
                               com.vaadin.flow.component.Component content)
    • Method Detail

      • withSummary

        public VAccordionPanel withSummary​(com.vaadin.flow.component.Component summary)
      • withContent

        public VAccordionPanel withContent​(com.vaadin.flow.component.Component content)
      • withThemeVariants

        public VAccordionPanel withThemeVariants​(com.vaadin.flow.component.details.DetailsVariant... variants)
      • withOpenedChangeListener

        public VAccordionPanel withOpenedChangeListener​(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.details.Details.OpenedChangeEvent> listener)