Package com.vaadin.flow.dom
Interface ThemeList
- All Superinterfaces:
Collection<String>,Iterable<String>,Serializable,Set<String>
- All Known Implementing Classes:
ThemeListImpl
Representation of the theme names for an
Element.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Method Details
-
set
Sets or removes the given theme name, based on thesetparameter.- Parameters:
themeName- the theme name to set or removeset- 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
-