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
KonstruktorenKonstruktorBeschreibungToolbarPopover(ToolbarSwitch referencedSwitch) Creates a new instance, that will open, when the given switch is active. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ToolbarPopoverhorizontal(ToolbarSwitch toolbarSwitch, com.vaadin.flow.component.Component... components) Creates a new instance listing the given components in a horizontal order (center aligned).static ToolbarPopoverhorizontal(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.voidsetFocusOnOpenTarget(com.vaadin.flow.component.Component focusOnOpenTarget) Allows to define a component, that should be focused initially, when opening this instance.static ToolbarPopoververtical(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, setWidthVon 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, setVisibleVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden com.vaadin.flow.component.AttachNotifier
addAttachListenerVon Schnittstelle geerbte Methoden com.vaadin.flow.component.DetachNotifier
addDetachListenerVon Schnittstelle geerbte Methoden com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, remove, remove, removeAllVon Schnittstelle geerbte Methoden com.vaadin.flow.component.HasElement
getElementVon Schnittstelle geerbte Methoden com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledVon Schnittstelle geerbte Methoden com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, hasClassName, removeClassName, removeClassNames, setClassNameVon Schnittstelle geerbte Methoden com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameVon Schnittstelle geerbte Methoden com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, removeThemeVariants
-
Konstruktordetails
-
ToolbarPopover
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 popovercomponents- 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 popovercomponents- 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 popovercomponents- 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
-