public class ThemeListImpl extends Object implements ThemeList, Serializable
ThemeList
that stores the theme names
of the corresponding element. Makes sure that each change to the collection
is reflected in the corresponding element attribute name,
THEME_ATTRIBUTE_NAME
.
For internal use only. May be renamed or removed in a future release.
Modifier and Type | Field and Description |
---|---|
static String |
THEME_ATTRIBUTE_NAME |
Constructor and Description |
---|
ThemeListImpl(Element element)
Creates new theme list for element specified.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(String themeName) |
boolean |
addAll(Collection<? extends String> themeNames) |
void |
clear() |
boolean |
contains(Object themeName) |
boolean |
containsAll(Collection<?> themeNames) |
boolean |
isEmpty() |
Iterator<String> |
iterator() |
boolean |
remove(Object themeName) |
boolean |
removeAll(Collection<?> themeNamesToRemove) |
boolean |
retainAll(Collection<?> themeNamesToRetain) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, spliterator
parallelStream, removeIf, stream
public static final String THEME_ATTRIBUTE_NAME
public ThemeListImpl(Element element)
element
- the element to reflect theme changes ontopublic boolean add(String themeName)
public boolean addAll(Collection<? extends String> themeNames)
public boolean remove(Object themeName)
public boolean retainAll(Collection<?> themeNamesToRetain)
public boolean removeAll(Collection<?> themeNamesToRemove)
public void clear()
public int size()
public boolean isEmpty()
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean contains(Object themeName)
public boolean containsAll(Collection<?> themeNames)
containsAll
in interface Collection<String>
containsAll
in interface Set<String>
Copyright © 2025. All rights reserved.