Class GwtListEvent<E>

java.lang.Object
java.util.EventObject
org.jadice.util.glazedlists.event.ListEvent<E>
com.jadice.web.util.glazedlists.event.GwtListEvent<E>
All Implemented Interfaces:
Serializable

public class GwtListEvent<E> extends org.jadice.util.glazedlists.event.ListEvent<E>
See Also:
  • Constructor Details

    • GwtListEvent

      public GwtListEvent(org.jadice.util.glazedlists.EventList<E> sourceList, E oldValue, int index)
      Delete Event
      Parameters:
      sourceList - The listeners to be notified
      oldValue - The value to be deleted
      index - The index of the element to be removed
    • GwtListEvent

      public GwtListEvent(org.jadice.util.glazedlists.EventList<E> sourceList, E oldValue, E newValue)
      Update Event
      Parameters:
      sourceList - The listeners to be notified
      oldValue - The old value of the updated element
      newValue - the new value of the updated element
    • GwtListEvent

      public GwtListEvent(org.jadice.util.glazedlists.EventList<E> sourceList, int index, E newValue)
      InsertEvent
      Parameters:
      sourceList - The listeners to be notified
      index - The index where to insert the element
      newValue - The value of the element to be inserted.
  • Method Details

    • copy

      public org.jadice.util.glazedlists.event.ListEvent<E> copy()
      Specified by:
      copy in class org.jadice.util.glazedlists.event.ListEvent<E>
    • reset

      public void reset()
      Specified by:
      reset in class org.jadice.util.glazedlists.event.ListEvent<E>
    • next

      public boolean next()
      Specified by:
      next in class org.jadice.util.glazedlists.event.ListEvent<E>
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in class org.jadice.util.glazedlists.event.ListEvent<E>
    • isReordering

      public boolean isReordering()
      Specified by:
      isReordering in class org.jadice.util.glazedlists.event.ListEvent<E>
    • getIndex

      public int getIndex()
      Specified by:
      getIndex in class org.jadice.util.glazedlists.event.ListEvent<E>
    • getType

      public int getType()
      Specified by:
      getType in class org.jadice.util.glazedlists.event.ListEvent<E>
    • getOldValue

      public E getOldValue()
      Specified by:
      getOldValue in class org.jadice.util.glazedlists.event.ListEvent<E>
    • getNewValue

      public E getNewValue()
      Specified by:
      getNewValue in class org.jadice.util.glazedlists.event.ListEvent<E>
    • toString

      public String toString()
      Specified by:
      toString in class org.jadice.util.glazedlists.event.ListEvent<E>
    • nextBlock

      public boolean nextBlock()
      Specified by:
      nextBlock in class org.jadice.util.glazedlists.event.ListEvent<E>
    • getReorderMap

      public int[] getReorderMap()
      Specified by:
      getReorderMap in class org.jadice.util.glazedlists.event.ListEvent<E>
    • getBlockStartIndex

      public int getBlockStartIndex()
      Specified by:
      getBlockStartIndex in class org.jadice.util.glazedlists.event.ListEvent<E>
    • getBlockEndIndex

      public int getBlockEndIndex()
      Specified by:
      getBlockEndIndex in class org.jadice.util.glazedlists.event.ListEvent<E>
    • getBlocksRemaining

      public int getBlocksRemaining()
      Specified by:
      getBlocksRemaining in class org.jadice.util.glazedlists.event.ListEvent<E>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object