Package org.vaadin.firitin.components
Class DisclosurePanel
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.VerticalLayout
-
- org.vaadin.firitin.components.DisclosurePanel
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.VerticalLayout>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasOrderedComponents,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.orderedlayout.FlexComponent,com.vaadin.flow.component.orderedlayout.ThemableLayout,Serializable
public class DisclosurePanel extends com.vaadin.flow.component.orderedlayout.VerticalLayout- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisclosurePanel()DisclosurePanel(String caption, com.vaadin.flow.component.Component... content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.component.icon.IcongetClosedIcon()VVerticalLayoutgetContentWrapper()com.vaadin.flow.component.icon.IcongetOpenIcon()booleanisOpen()voidsetCaption(String caption)DisclosurePanelsetClosedIcon(com.vaadin.flow.component.icon.Icon closedIcon)DisclosurePanelsetContent(com.vaadin.flow.component.Component... content)DisclosurePanelsetOpen(boolean open)DisclosurePanelsetOpenIcon(com.vaadin.flow.component.icon.Icon openIcon)-
Methods inherited from class com.vaadin.flow.component.orderedlayout.VerticalLayout
addAndExpand, getAlignItems, getAlignSelf, getDefaultHorizontalComponentAlignment, getHorizontalComponentAlignment, setAlignItems, setAlignSelf, setDefaultHorizontalComponentAlignment, setHorizontalComponentAlignment, setPadding, setSpacing
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut
-
Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
expand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, setJustifyContentMode
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOf
-
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
-
-
-
-
Constructor Detail
-
DisclosurePanel
public DisclosurePanel()
-
DisclosurePanel
public DisclosurePanel(String caption, com.vaadin.flow.component.Component... content)
-
-
Method Detail
-
isOpen
public boolean isOpen()
-
setOpen
public DisclosurePanel setOpen(boolean open)
-
setContent
public DisclosurePanel setContent(com.vaadin.flow.component.Component... content)
-
setCaption
public void setCaption(String caption)
-
getContentWrapper
public VVerticalLayout getContentWrapper()
-
getClosedIcon
public com.vaadin.flow.component.icon.Icon getClosedIcon()
-
setClosedIcon
public DisclosurePanel setClosedIcon(com.vaadin.flow.component.icon.Icon closedIcon)
-
getOpenIcon
public com.vaadin.flow.component.icon.Icon getOpenIcon()
-
setOpenIcon
public DisclosurePanel setOpenIcon(com.vaadin.flow.component.icon.Icon openIcon)
-
-