Class VDetails

    • 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
      VDetails()  
      VDetails​(com.vaadin.flow.component.Component summary, com.vaadin.flow.component.Component content)  
      VDetails​(String summary, com.vaadin.flow.component.Component content)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VDetails withContent​(com.vaadin.flow.component.Component content)  
      VDetails withOpened​(boolean opened)  
      VDetails withOpenedChangeListener​(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.details.Details.OpenedChangeEvent> listener)  
      VDetails withSummary​(com.vaadin.flow.component.Component summary)  
      VDetails withSummaryText​(String summary)  
      VDetails 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

      • VDetails

        public VDetails()
      • VDetails

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

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

      • withSummary

        public VDetails withSummary​(com.vaadin.flow.component.Component summary)
      • withSummaryText

        public VDetails withSummaryText​(String summary)
      • withContent

        public VDetails withContent​(com.vaadin.flow.component.Component content)
      • withOpened

        public VDetails withOpened​(boolean opened)
      • withThemeVariants

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

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