public class Components<T extends Component<?>> extends ArrayList<T>
Modifier and Type | Class and Description |
---|---|
static interface |
Components.Clone<T> |
modCount
Constructor and Description |
---|
Components() |
Components(Collection<? extends T> components) |
Components(Collection<? extends T> components,
Components.Clone<T> clone) |
Components(int maxSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
boolean |
canAdd(Collection<? extends T> c) |
void |
clear()
Clear both the Widget and Component.
|
void |
clearComponents()
Clear the component data without touching the DOM.
|
void |
clearWidgets()
Clear the components Widgets, without dumping the component.
|
boolean |
isFull() |
T |
remove(int index) |
T |
softRemove(int index) |
boolean |
softRemove(T item) |
add, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public Components()
public Components(int maxSize)
public Components(Collection<? extends T> components)
public Components(Collection<? extends T> components, Components.Clone<T> clone)
public void clear()
public void clearWidgets()
public void clearComponents()
public boolean isFull()
public boolean addAll(Collection<? extends T> c)
public boolean addAll(int index, Collection<? extends T> c)
public T softRemove(int index)
public boolean softRemove(T item)
public boolean canAdd(Collection<? extends T> c)
Copyright © 2018. All rights reserved.