Class GwtEventList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
com.jadice.web.util.glazedlists.GwtEventList<E>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess, SequencedCollection<E>, org.jadice.util.glazedlists.EventList<E>

public class GwtEventList<E> extends ArrayList<E> implements org.jadice.util.glazedlists.EventList<E>
See Also:
  • Constructor Details

    • GwtEventList

      public GwtEventList()
  • Method Details

    • addListEventListener

      public void addListEventListener(org.jadice.util.glazedlists.event.ListEventListener<? super E> listChangeListener)
      Specified by:
      addListEventListener in interface org.jadice.util.glazedlists.EventList<E>
    • removeListEventListener

      public void removeListEventListener(org.jadice.util.glazedlists.event.ListEventListener<? super E> listChangeListener)
      Specified by:
      removeListEventListener in interface org.jadice.util.glazedlists.EventList<E>
    • add

      public boolean add(E e)
      Specified by:
      add in interface Collection<E>
      Specified by:
      add in interface List<E>
      Overrides:
      add in class ArrayList<E>
      Parameters:
      e - The element to be added
      Returns:
      true (as specified by Collection.add(E))
    • add

      public void add(int index, E e)
      Specified by:
      add in interface List<E>
      Overrides:
      add in class ArrayList<E>
    • addAll

      public boolean addAll(Collection<? extends E> c)
      Specified by:
      addAll in interface Collection<E>
      Specified by:
      addAll in interface List<E>
      Overrides:
      addAll in class ArrayList<E>
    • addAll

      public boolean addAll(int index, Collection<? extends E> c)
      Specified by:
      addAll in interface List<E>
      Overrides:
      addAll in class ArrayList<E>
    • remove

      public boolean remove(Object o)
      Specified by:
      remove in interface Collection<E>
      Specified by:
      remove in interface List<E>
      Overrides:
      remove in class ArrayList<E>
    • removeAll

      public boolean removeAll(Collection<?> c)
      Specified by:
      removeAll in interface Collection<E>
      Specified by:
      removeAll in interface List<E>
      Overrides:
      removeAll in class ArrayList<E>
    • remove

      public E remove(int index)
      Specified by:
      remove in interface List<E>
      Overrides:
      remove in class ArrayList<E>
    • set

      public E set(int index, E element)
      Specified by:
      set in interface List<E>
      Overrides:
      set in class ArrayList<E>
    • getPublisher

      public org.jadice.util.glazedlists.event.ListEventPublisher getPublisher()
      Specified by:
      getPublisher in interface org.jadice.util.glazedlists.EventList<E>
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.jadice.util.glazedlists.EventList<E>
    • getReadWriteLock

      public ReadWriteLock getReadWriteLock()
      Specified by:
      getReadWriteLock in interface org.jadice.util.glazedlists.EventList<E>
    • clear

      public void clear()
      Specified by:
      clear in interface Collection<E>
      Specified by:
      clear in interface List<E>
      Overrides:
      clear in class ArrayList<E>