Klasse ToolbarPopover

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.popover.Popover
com.vaadin.componentfactory.toolbar.ToolbarPopover
Alle implementierten Schnittstellen:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasAriaLabel, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme, com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.popover.PopoverVariant>, Serializable

public class ToolbarPopover extends com.vaadin.flow.component.popover.Popover
Popover, that is opened/closed by a toolbar switch.
Siehe auch:
  • Verschachtelte Klassen - Übersicht

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.vaadin.flow.component.popover.Popover

    com.vaadin.flow.component.popover.Popover.OpenedChangeEvent
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    ToolbarPopover(ToolbarSwitch referencedSwitch)
    Creates a new instance, that will open, when the given switch is active.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    horizontal(ToolbarSwitch toolbarSwitch, com.vaadin.flow.component.Component... components)
    Creates a new instance listing the given components in a horizontal order (center aligned).
    horizontal(ToolbarSwitch toolbarSwitch, com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment, com.vaadin.flow.component.Component... components)
    Creates a new instance listing the given components in a horizontal order with the given alignment.
    void
    setFocusOnOpenTarget(com.vaadin.flow.component.Component focusOnOpenTarget)
    Allows to define a component, that should be focused initially, when opening this instance.
    vertical(ToolbarSwitch toolbarSwitch, com.vaadin.flow.component.Component... components)
    Creates a new instance listing the given components in a vertical order.

    Von Klasse geerbte Methoden com.vaadin.flow.component.popover.Popover

    add, addComponentAtIndex, addOpenedChangeListener, close, getAriaLabel, getAriaLabelledBy, getClassNames, getFocusDelay, getFor, getHideDelay, getHoverDelay, getOverlayRole, getPosition, getStyle, getTarget, isAutofocus, isBackdropVisible, isCloseOnEsc, isCloseOnOutsideClick, isModal, isOpened, isOpenOnClick, isOpenOnFocus, isOpenOnHover, onAttach, open, setAriaLabel, setAriaLabelledBy, setAutofocus, setBackdropVisible, setClassName, setCloseOnEsc, setCloseOnOutsideClick, setDefaultFocusDelay, setDefaultHideDelay, setDefaultHoverDelay, setFocusDelay, setFor, setHeight, setHideDelay, setHoverDelay, setModal, setModal, setOpened, setOpenOnClick, setOpenOnFocus, setOpenOnHover, setOverlayRole, setPosition, setTarget, setWidth

    Von Klasse geerbte Methoden com.vaadin.flow.component.Component

    addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Von Schnittstelle geerbte Methoden com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Von Schnittstelle geerbte Methoden com.vaadin.flow.component.HasComponents

    add, add, addComponentAsFirst, remove, remove, removeAll

    Von Schnittstelle geerbte Methoden com.vaadin.flow.component.HasElement

    getElement

    Von Schnittstelle geerbte Methoden com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled

    Von Schnittstelle geerbte Methoden com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, hasClassName, removeClassName, removeClassNames, setClassName

    Von Schnittstelle geerbte Methoden com.vaadin.flow.component.HasTheme

    addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName

    Von Schnittstelle geerbte Methoden com.vaadin.flow.component.shared.HasThemeVariant

    addThemeVariants, removeThemeVariants
  • Konstruktordetails

    • ToolbarPopover

      public ToolbarPopover(ToolbarSwitch referencedSwitch)
      Creates a new instance, that will open, when the given switch is active.
      Parameter:
      referencedSwitch - switch to open the popup
  • Methodendetails

    • vertical

      public static ToolbarPopover vertical(ToolbarSwitch toolbarSwitch, com.vaadin.flow.component.Component... components)
      Creates a new instance listing the given components in a vertical order.
      Parameter:
      toolbarSwitch - switch to open the popover
      components - content
      Gibt zurück:
      new instance
    • horizontal

      public static ToolbarPopover horizontal(ToolbarSwitch toolbarSwitch, com.vaadin.flow.component.Component... components)
      Creates a new instance listing the given components in a horizontal order (center aligned).
      Parameter:
      toolbarSwitch - switch to open the popover
      components - content
      Gibt zurück:
      new instance
    • horizontal

      public static ToolbarPopover horizontal(ToolbarSwitch toolbarSwitch, com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment, com.vaadin.flow.component.Component... components)
      Creates a new instance listing the given components in a horizontal order with the given alignment.
      Parameter:
      toolbarSwitch - switch to open the popover
      components - content
      Gibt zurück:
      new instance
    • setFocusOnOpenTarget

      public void setFocusOnOpenTarget(com.vaadin.flow.component.Component focusOnOpenTarget)
      Allows to define a component, that should be focused initially, when opening this instance.
      Parameter:
      focusOnOpenTarget - initial focus target