Groovy 2.2.0

groovy.swing.impl
[Java] Class ListWrapperListModel

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

public class ListWrapperListModel
extends AbstractListModel

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

Authors:
Andres Almiray


Constructor Summary
ListWrapperListModel(List delegateList)

 
Method Summary
void add(int i, E e)

boolean add(E e)

boolean addAll(Collection es)

boolean addAll(int i, Collection es)

void clear()

boolean contains(Object o)

boolean containsAll(Collection objects)

E get(int i)

List getDelegateList()

Object getElementAt(int i)

int getSize()

int indexOf(Object o)

boolean isEmpty()

Iterator iterator()

int lastIndexOf(Object o)

ListIterator listIterator()

ListIterator listIterator(int i)

E remove(int i)

boolean remove(Object o)

void removeRange(int fromIndex, int toIndex)

E set(int i, E e)

Object[] toArray(Object[] ts)

Object[] toArray()

 
Methods inherited from class AbstractListModel
addListDataListener, removeListDataListener, getListDataListeners, getListeners, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getElementAt, getSize
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

ListWrapperListModel

public ListWrapperListModel(List delegateList)


 
Method Detail

add

public void add(int i, E e)


add

public boolean add(E e)


addAll

public boolean addAll(Collection es)


addAll

public boolean addAll(int i, Collection es)


clear

public void clear()


contains

public boolean contains(Object o)


containsAll

public boolean containsAll(Collection objects)


get

public E get(int i)


getDelegateList

public List getDelegateList()


getElementAt

public Object getElementAt(int i)


getSize

public int getSize()


indexOf

public int indexOf(Object o)


isEmpty

public boolean isEmpty()


iterator

public Iterator iterator()


lastIndexOf

public int lastIndexOf(Object o)


listIterator

public ListIterator listIterator()


listIterator

public ListIterator listIterator(int i)


remove

public E remove(int i)


remove

public boolean remove(Object o)


removeRange

public void removeRange(int fromIndex, int toIndex)


set

public E set(int i, E e)


toArray

public Object[] toArray(Object[] ts)


toArray

public Object[] toArray()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.