Interface HasOverlayClassName

All Superinterfaces:
HasElement, Serializable
All Known Implementing Classes:
AvatarGroup, CollaborationAvatarGroup, ComboBox, ComboBoxBase, ContextMenu, DatePicker, DateTimePicker, MenuBar, MultiSelectComboBox, Select, TimePicker

public interface HasOverlayClassName extends HasElement
Mixin interface for components that have an internal overlay and support setting CSS class names on it for styling.
Author:
Vaadin Ltd
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    A space-delimited list of CSS class names to set on the overlay element.
    default void
    setOverlayClassName(String overlayClassName)
    Sets a space-delimited list of CSS class names to set on the overlay element.

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement
  • Method Details

    • getOverlayClassName

      default String getOverlayClassName()
      A space-delimited list of CSS class names to set on the overlay element.
      Returns:
      the overlayClass property
    • setOverlayClassName

      default void setOverlayClassName(String overlayClassName)
      Sets a space-delimited list of CSS class names to set on the overlay element.
      Parameters:
      overlayClassName - The overlay class name to set