ListWrapperListModel (Groovy 4.0.10)

Package: groovy.swing.impl

## [Java] Class ListWrapperListModel<E>

- groovy.swing.impl.ListWrapperListModel

-     public class ListWrapperListModel<E>
      extends AbstractListModel

  A `ListModel` implementation that's backed by a live `List`.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ListWrapperListModel(List<E> delegateList)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public void` | `add(int i, E e)`
    `` | `public boolean` | `add(E e)`
    `` | `public boolean` | `addAll(Collection<? extends E> es)`
    `` | `public boolean` | `addAll(int i, Collection<? extends E> es)`
    `` | `public void` | `clear()`
    `` | `public boolean` | `contains(Object o)`
    `` | `public boolean` | `containsAll(Collection<?> objects)`
    `` | `public E` | `get(int i)`
    `` | `public List<E>` | `getDelegateList()`
    `` | `public Object` | `getElementAt(int i)`
    `` | `public int` | `getSize()`
    `` | `public int` | `indexOf(Object o)`
    `` | `public boolean` | `isEmpty()`
    `` | `public Iterator<E>` | `iterator()`
    `` | `public int` | `lastIndexOf(Object o)`
    `` | `public ListIterator<E>` | `listIterator()`
    `` | `public ListIterator<E>` | `listIterator(int i)`
    `` | `public E` | `remove(int i)`
    `` | `public boolean` | `remove(Object o)`
    `` | `public void` | `removeRange(int fromIndex, int toIndex)`
    `` | `public E` | `set(int i, E e)`
    `<T>` | `public T[]` | `toArray(T[] ts)`
    `` | `public Object[]` | `toArray()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class AbstractListModel` | `addListDataListener, removeListDataListener, getListeners, getListDataListeners, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getSize, getElementAt`

- - ### Constructor Detail

    - #### public ListWrapperListModel(List<E> delegateList)

  - ### Method Detail

    - #### public void add(int i, E e)

    - #### public boolean add(E e)

    - #### public boolean addAll(Collection<? extends E> es)

    - #### public boolean addAll(int i, Collection<? extends E> es)

    - #### public void clear()

    - #### public boolean contains(Object o)

    - #### public boolean containsAll(Collection<?> objects)

    - #### public E get(int i)

    - #### public List<E> getDelegateList()

    - #### @Override
      public Object getElementAt(int i)

    - #### @Override
      public int getSize()

    - #### public int indexOf(Object o)

    - #### public boolean isEmpty()

    - #### public Iterator<E> iterator()

    - #### public int lastIndexOf(Object o)

    - #### public ListIterator<E> listIterator()

    - #### public ListIterator<E> listIterator(int i)

    - #### public E remove(int i)

    - #### public boolean remove(Object o)

    - #### public void removeRange(int fromIndex, int toIndex)

    - #### public E set(int i, E e)

    - #### <T> public T[] toArray(T[] ts)

    - #### public Object[] toArray()