|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObservableListListener
Notification types from an ObservableList
.
Method Summary | |
---|---|
void |
listElementPropertyChanged(ObservableList list,
int index)
Notification than a property of an element in this list has changed. |
void |
listElementReplaced(ObservableList list,
int index,
java.lang.Object oldElement)
Notification that an element has been replaced by another in the list. |
void |
listElementsAdded(ObservableList list,
int index,
int length)
Notification that elements have been added to the list. |
void |
listElementsRemoved(ObservableList list,
int index,
java.util.List oldElements)
Notification that elements have been removed from the list. |
Method Detail |
---|
void listElementsAdded(ObservableList list, int index, int length)
list
- the ObservableList
that has changedindex
- the index the elements were added tolength
- the number of elements that were addedvoid listElementsRemoved(ObservableList list, int index, java.util.List oldElements)
list
- the ObservableList
that has changedindex
- the starting index the elements were removed fromoldElements
- a list containing the elements that were removed.void listElementReplaced(ObservableList list, int index, java.lang.Object oldElement)
list
- the ObservableList
that has changedindex
- the index of the element that was replacedoldElement
- the element at the index before the changevoid listElementPropertyChanged(ObservableList list, int index)
ObservableLists
support this notification. Only
observable lists that return true
from
supportsElementPropertyChanged
send this notification.
list
- the ObservableList
that has changedindex
- the index of the element that changed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |