IListChangeListener. It contains the information
regarding the content of a list being changed.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | IListChangeEvent.EventType
This enumeration lists the possible modification a list can have. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The index of where the change occurred in the listReturns the index of where the change occurred in the list. |
| public IListChangeEvent. | Returns: One of the possibletypes of changesReturns the type of change that occurred in the list. |
| public List | Returns: The copy of the list that got changedReturns a copy of the actual list after the change has happened. |
| public String | Returns: The name of the list for whichIListChangeListeners have
been registered with the source to be notified upon changesReturns the name describing the list. |
| public < The type of the source owning the list S extends ListHolderStateObject | Returns: The source of the eventReturns the source where the modification occurred and that fired the event. |
| public int | Returns: The index of where the change occurred in the listReturns the index of where the change occurred in the list. |
| public ListIterable | |
| public int | Returns: The count of items triggering this eventReturns the number of items that caused the original list to change. |
| getEndIndex | back to summary |
|---|---|
| public int getEndIndex() Returns the index of where the change occurred in the list.
| |
| getEventType | back to summary |
|---|---|
| public IListChangeEvent. Returns the type of change that occurred in the list.
| |
| getList | back to summary |
|---|---|
| public List Returns a copy of the actual list after the change has happened.
| |
| getListName | back to summary |
|---|---|
| public String getListName() Returns the name describing the list.
| |
| getSource | back to summary |
|---|---|
| public <S extends ListHolderStateObject Returns the source where the modification occurred and that fired the event.
| |
| getStartIndex | back to summary |
|---|---|
| public int getStartIndex() Returns the index of where the change occurred in the list.
| |
| items | back to summary |
|---|---|
| public ListIterable Returns the list of items that have caused the original list to change. Depending on the even type:
| |
| itemsSize | back to summary |
|---|---|
| public int itemsSize() Returns the number of items that caused the original list to change.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final IListChangeEvent. | ADDED
Specifies the list changed by having new items inserted. |
| public static final IListChangeEvent. | CHANGED
Specifies the entire list has changed. |
| public static final IListChangeEvent. | MOVED_DOWN
Specifies the list changed by having some items have moved down the list. |
| public static final IListChangeEvent. | MOVED_UP
Specifies the list changed by having some items have moved up the list. |
| public static final IListChangeEvent. | REMOVED
Specifies the list changed by having items removed. |
| public static final IListChangeEvent. | REPLACED
Specifies the list changed by having a single item replaced. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static IListChangeEvent. | |
| public static IListChangeEvent. |
| ADDED | back to summary |
|---|---|
| public static final IListChangeEvent. Specifies the list changed by having new items inserted. | |
| CHANGED | back to summary |
|---|---|
| public static final IListChangeEvent. Specifies the entire list has changed. | |
| MOVED_DOWN | back to summary |
|---|---|
| public static final IListChangeEvent. Specifies the list changed by having some items have moved down the list. | |
| MOVED_UP | back to summary |
|---|---|
| public static final IListChangeEvent. Specifies the list changed by having some items have moved up the list. | |
| REMOVED | back to summary |
|---|---|
| public static final IListChangeEvent. Specifies the list changed by having items removed. | |
| REPLACED | back to summary |
|---|---|
| public static final IListChangeEvent. Specifies the list changed by having a single item replaced. | |
| EventType | back to summary |
|---|---|
| private EventType() | |
| valueOf | back to summary |
|---|---|
| public static IListChangeEvent. | |
| values | back to summary |
|---|---|
| public static IListChangeEvent. | |