Package org.jdesktop.swingbinding.impl
Class ListBindingManager
java.lang.Object
org.jdesktop.swingbinding.impl.ListBindingManager
- All Implemented Interfaces:
EventListener,ObservableListListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidadded(int index, int length) protected abstract voidprotected abstract voidchanged(int row) final intprotected abstract AbstractColumnBinding[]final ObjectgetElement(int index) final List<?>final voidlistElementPropertyChanged(ObservableList list, int index) Notification than a property of an element in this list has changed.final voidlistElementReplaced(ObservableList list, int index, Object oldElement) Notification that an element has been replaced by another in the list.final voidlistElementsAdded(ObservableList list, int index, int length) Notification that elements have been added to the list.final voidlistElementsRemoved(ObservableList list, int index, List elements) Notification that elements have been removed from the list.protected abstract voidremoved(int index, int length) voidsetElements(List<?> elements, boolean sendAllChanged) final intsize()final ObjectvalueAt(int row, int column) protected abstract voidvalueChanged(int row, int column)
-
Constructor Details
-
ListBindingManager
public ListBindingManager()
-
-
Method Details
-
getColBindings
-
setElements
-
getElement
-
getElements
-
size
public final int size() -
valueAt
-
columnCount
public final int columnCount() -
listElementsAdded
Description copied from interface:ObservableListListenerNotification that elements have been added to the list.- Specified by:
listElementsAddedin interfaceObservableListListener- Parameters:
list- theObservableListthat has changedindex- the index the elements were added tolength- the number of elements that were added
-
listElementsRemoved
Description copied from interface:ObservableListListenerNotification that elements have been removed from the list.- Specified by:
listElementsRemovedin interfaceObservableListListener- Parameters:
list- theObservableListthat has changedindex- the starting index the elements were removed fromelements- a list containing the elements that were removed.
-
listElementReplaced
Description copied from interface:ObservableListListenerNotification that an element has been replaced by another in the list.- Specified by:
listElementReplacedin interfaceObservableListListener- Parameters:
list- theObservableListthat has changedindex- the index of the element that was replacedoldElement- the element at the index before the change
-
listElementPropertyChanged
Description copied from interface:ObservableListListenerNotification than a property of an element in this list has changed. Not allObservableListssupport this notification. Only observable lists that returntruefromsupportsElementPropertyChangedsend this notification.- Specified by:
listElementPropertyChangedin interfaceObservableListListener- Parameters:
list- theObservableListthat has changedindex- the index of the element that changed
-
allChanged
protected abstract void allChanged() -
valueChanged
protected abstract void valueChanged(int row, int column) -
added
protected abstract void added(int index, int length) -
removed
protected abstract void removed(int index, int length) -
changed
protected abstract void changed(int row)
-