public class ListChangedEvent<E>
extends java.util.EventObject
BaseListListener.listChanged(com.mindfusion.common.ListChangedEvent<E>)
event.Constructor and Description |
---|
ListChangedEvent(java.lang.Object source)
Initializes a new instance of the
ListChangedEvent class. |
ListChangedEvent(java.lang.Object source,
int action)
Initializes a new instance of the
ListChangedEvent class. |
ListChangedEvent(java.lang.Object source,
int action,
E newItem,
E oldItem)
Initializes a new instance of the
ListChangedEvent class. |
ListChangedEvent(java.lang.Object source,
int action,
java.util.List<E> newItems,
java.util.List<E> oldItems)
Initializes a new instance of the
ListChangedEvent class. |
Modifier and Type | Method and Description |
---|---|
int |
getAction()
Gets the action that caused the event.
|
java.util.List<E> |
getNewItems()
Gets the list of new items involved in the change.
|
java.util.List<E> |
getOldItems()
Gets the list of items affected by a Replace, Remove, or Reset action.
|
void |
setAction(int value)
Sets the action that caused the event.
|
void |
setNewItems(E[] value)
Sets the list of new items involved in the change.
|
void |
setNewItems(java.util.List<E> value)
Sets the list of new items involved in the change.
|
void |
setOldItems(E[] value)
Sets the list of items affected by a Replace, Remove, or Reset action.
|
void |
setOldItems(java.util.List<E> value)
Sets the list of items affected by a Replace, Remove, or Reset action.
|
public ListChangedEvent(java.lang.Object source)
ListChangedEvent
class.public ListChangedEvent(java.lang.Object source, int action)
ListChangedEvent
class.public ListChangedEvent(java.lang.Object source, int action, java.util.List<E> newItems, java.util.List<E> oldItems)
ListChangedEvent
class.public ListChangedEvent(java.lang.Object source, int action, E newItem, E oldItem)
ListChangedEvent
class.public int getAction()
ListChangedAction
constants.public void setAction(int value)
public java.util.List<E> getNewItems()
public void setNewItems(java.util.List<E> value)
public void setNewItems(E[] value)
public java.util.List<E> getOldItems()
public void setOldItems(java.util.List<E> value)
public void setOldItems(E[] value)