@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, setSummaryText
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEnabled, setEnabled
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
getElement
addAttachListener
addDetachListener
public 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 © 2021. All rights reserved.