We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.dom.
Interface ThemeList
-
All Superinterfaces:
Collection<String>
,Iterable<String>
,Serializable
,Set<String>
All Known Implementing Classes:
public interface ThemeList extends Set<String>, Serializable
Representation of the theme names for an
Element
.Since:
1.0
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method Description default boolean
set(String themeName, boolean set)
Sets or removes the given theme name, based on the
set
parameter.-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
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 removeset
- true to set the theme name, false to remove itReturns:
true if the theme list was modified (theme name added or removed), false otherwise
-
-