T - the type parameterpublic class EventedModelList<T>
extends java.util.LinkedList<T>
LinkedList extension that triggers events on:
ModelEvent.ADDModelEvent.REMOVEModelEvent.CLEAR| Constructor and Description |
|---|
EventedModelList()
Instantiates a new Evented model list.
|
EventedModelList(Model parent)
Instantiates a new Evented model list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T t) |
void |
addFirst(T t) |
void |
addLast(T t) |
void |
clear() |
T |
remove() |
T |
remove(int index) |
boolean |
remove(java.lang.Object o) |
T |
removeFirst() |
T |
removeLast() |
addAll, addAll, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, removeFirstOccurrence, removeLastOccurrence, set, size, toArray, toArrayequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitpublic EventedModelList()
This default constructor is used by the parser when a CustomizeJsonParser is
not provided. In this last case no ModelEvent are triggered.
public EventedModelList(Model parent)
parent - the parentpublic boolean add(T t)
public void add(int index,
T element)
public void addFirst(T t)
public void addLast(T t)
public boolean remove(java.lang.Object o)
public T remove(int index)
public T remove()
public T removeFirst()
public T removeLast()