@Tag(value="vaadin-accordion-panel")
public class AccordionPanel
extends com.vaadin.flow.component.details.Details
| 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, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic 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 © 2019 Vaadin Ltd. All rights reserved.