@Tag(value="vaadin-accordion-panel") public class AccordionPanel extends Details
Details.OpenedChangeEvent| Constructor and Description |
|---|
AccordionPanel()
Creates an empty panel.
|
AccordionPanel(Component summary,
Component content)
Creates a panel with the provided summary component and content.
|
AccordionPanel(String summary,
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, waitisEnabled, setEnabledaddThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNamegetElementaddAttachListeneraddDetachListenerpublic AccordionPanel()
public AccordionPanel(String summary, Component content)
summary - the summary. Null is treated like an empty string.content - the content. If null no content is added.Copyright © 2025. All rights reserved.