com.vaadin.flow.dom.

Interface ThemeList

All Superinterfaces:

Collection<String>, Iterable<String>, Serializable, Set<String>

All Known Implementing Classes:

ThemeListImpl

public interface ThemeList extends Set<String>, Serializable

Representation of the theme names for an Element.

Since:

1.0

Author:

Vaadin Ltd

  • Method Details

    • set

      default boolean set(String themeName, boolean set)

      Sets or removes the given theme name, based on the set parameter.

      Parameters:

      themeName - the theme name to set or remove

      set - true to set the theme name, false to remove it

      Returns:

      true if the theme list was modified (theme name added or removed), false otherwise