@Tag(value="vaadin-accordion-panel") public class AccordionPanel extends Details
Details.OpenedChangeEvent| Constructor and Description |
|---|
AccordionPanel()
Creates an empty panel.
|
AccordionPanel(com.vaadin.flow.component.Component summary,
com.vaadin.flow.component.Component content)
Creates a panel with the provided summary component and content.
|
AccordionPanel(String summary,
com.vaadin.flow.component.Component content)
Creates a panel with the provided summary text and content.
|
addContent, addOpenedChangeListener, addThemeVariants, getContent, getSummary, getSummaryText, isOpened, removeThemeVariants, setContent, setOpened, setSummary, setSummaryTextaddListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNamepublic AccordionPanel()
public AccordionPanel(String summary, com.vaadin.flow.component.Component content)
summary - the summary. Null is treated like an empty string.content - the content. If null no content is added.public AccordionPanel(com.vaadin.flow.component.Component summary,
com.vaadin.flow.component.Component content)
summary - the summary. Null clears any existing summary.content - the content. If null no content is added.Copyright © 2025. All rights reserved.