Groovy Documentation

groovy.swing.impl
[Java] Class ListWrapperListModel

java.lang.Object
  javax.swing.AbstractListModel
      groovy.swing.impl.ListWrapperListModel

public class ListWrapperListModel
extends javax.swing.AbstractListModel

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

Authors:
Andres Almiray


Constructor Summary
ListWrapperListModel(java.util.List delegateList)

 
Method Summary
void add(int i, E e)

boolean add(E e)

boolean addAll(java.util.Collection es)

boolean addAll(int i, java.util.Collection es)

void clear()

boolean contains(java.lang.Object o)

boolean containsAll(java.util.Collection objects)

E get(int i)

java.util.List getDelegateList()

java.lang.Object getElementAt(int i)

int getSize()

int indexOf(java.lang.Object o)

boolean isEmpty()

java.util.Iterator iterator()

int lastIndexOf(java.lang.Object o)

java.util.ListIterator listIterator()

java.util.ListIterator listIterator(int i)

E remove(int i)

boolean remove(java.lang.Object o)

void removeRange(int fromIndex, int toIndex)

E set(int i, E e)

java.lang.Object[] toArray(java.lang.Object[] ts)

java.lang.Object[] toArray()

 
Methods inherited from class javax.swing.AbstractListModel
javax.swing.AbstractListModel#addListDataListener(javax.swing.event.ListDataListener), javax.swing.AbstractListModel#removeListDataListener(javax.swing.event.ListDataListener), javax.swing.AbstractListModel#getListDataListeners(), javax.swing.AbstractListModel#getListeners(java.lang.Class), javax.swing.AbstractListModel#wait(long, int), javax.swing.AbstractListModel#wait(long), javax.swing.AbstractListModel#wait(), javax.swing.AbstractListModel#equals(java.lang.Object), javax.swing.AbstractListModel#toString(), javax.swing.AbstractListModel#hashCode(), javax.swing.AbstractListModel#getClass(), javax.swing.AbstractListModel#notify(), javax.swing.AbstractListModel#notifyAll(), javax.swing.AbstractListModel#getElementAt(int), javax.swing.AbstractListModel#getSize()
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

ListWrapperListModel

public ListWrapperListModel(java.util.List delegateList)


 
Method Detail

add

public void add(int i, E e)


add

public boolean add(E e)


addAll

public boolean addAll(java.util.Collection es)


addAll

public boolean addAll(int i, java.util.Collection es)


clear

public void clear()


contains

public boolean contains(java.lang.Object o)


containsAll

public boolean containsAll(java.util.Collection objects)


get

public E get(int i)


getDelegateList

public java.util.List getDelegateList()


getElementAt

public java.lang.Object getElementAt(int i)


getSize

public int getSize()


indexOf

public int indexOf(java.lang.Object o)


isEmpty

public boolean isEmpty()


iterator

public java.util.Iterator iterator()


lastIndexOf

public int lastIndexOf(java.lang.Object o)


listIterator

public java.util.ListIterator listIterator()


listIterator

public java.util.ListIterator listIterator(int i)


remove

public E remove(int i)


remove

public boolean remove(java.lang.Object o)


removeRange

public void removeRange(int fromIndex, int toIndex)


set

public E set(int i, E e)


toArray

public java.lang.Object[] toArray(java.lang.Object[] ts)


toArray

public java.lang.Object[] toArray()


 

Groovy Documentation