Package com.vaadin.flow.dom
Interface ClassList
- All Superinterfaces:
Collection<String>
,Iterable<String>
,Serializable
,Set<String>
- All Known Implementing Classes:
ImmutableClassList
,OverlayClassListProxy
Representation of the class 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 class name, based on theset
parameter.- Parameters:
className
- the class name to set or removeset
- true to set the class name, false to remove it- Returns:
- true if the class list was modified (class name added or removed), false otherwise
-