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:
-
Field Summary
Fields inherited from class org.jadice.util.glazedlists.event.ListEvent
DELETE, INSERT, sourceList, UNKNOWN_VALUE, UPDATE
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionGwtListEvent
(org.jadice.util.glazedlists.EventList<E> sourceList, int index, E newValue) InsertEventGwtListEvent
(org.jadice.util.glazedlists.EventList<E> sourceList, E oldValue, int index) Delete EventGwtListEvent
(org.jadice.util.glazedlists.EventList<E> sourceList, E oldValue, E newValue) Update Event -
Method Summary
Methods inherited from class org.jadice.util.glazedlists.event.ListEvent
getSourceList, unknownValue
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
GwtListEvent
Delete Event- Parameters:
sourceList
- The listeners to be notifiedoldValue
- The value to be deletedindex
- The index of the element to be removed
-
GwtListEvent
Update Event- Parameters:
sourceList
- The listeners to be notifiedoldValue
- The old value of the updated elementnewValue
- the new value of the updated element
-
GwtListEvent
InsertEvent- Parameters:
sourceList
- The listeners to be notifiedindex
- The index where to insert the elementnewValue
- The value of the element to be inserted.
-
-
Method Details
-
copy
- Specified by:
copy
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
reset
public void reset()- Specified by:
reset
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
next
public boolean next()- Specified by:
next
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
isReordering
public boolean isReordering()- Specified by:
isReordering
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
getIndex
public int getIndex()- Specified by:
getIndex
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
getType
public int getType()- Specified by:
getType
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
getOldValue
- Specified by:
getOldValue
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
getNewValue
- Specified by:
getNewValue
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
toString
- Specified by:
toString
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
nextBlock
public boolean nextBlock()- Specified by:
nextBlock
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
getReorderMap
public int[] getReorderMap()- Specified by:
getReorderMap
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
getBlockStartIndex
public int getBlockStartIndex()- Specified by:
getBlockStartIndex
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
getBlockEndIndex
public int getBlockEndIndex()- Specified by:
getBlockEndIndex
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
getBlocksRemaining
public int getBlocksRemaining()- Specified by:
getBlocksRemaining
in classorg.jadice.util.glazedlists.event.ListEvent<E>
-
hashCode
public int hashCode() -
equals
-