|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingbinding.impl.ListBindingManager
public abstract class ListBindingManager
Constructor Summary | |
---|---|
ListBindingManager()
|
Method Summary | |
---|---|
protected abstract void |
added(int index,
int length)
|
protected abstract void |
allChanged()
|
protected abstract void |
changed(int row)
|
int |
columnCount()
|
protected abstract AbstractColumnBinding[] |
getColBindings()
|
java.lang.Object |
getElement(int index)
|
java.util.List<?> |
getElements()
|
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 elements)
Notification that elements have been removed from the list. |
protected abstract void |
removed(int index,
int length)
|
void |
setElements(java.util.List<?> elements,
boolean sendAllChanged)
|
int |
size()
|
java.lang.Object |
valueAt(int row,
int column)
|
protected abstract void |
valueChanged(int row,
int column)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListBindingManager()
Method Detail |
---|
protected abstract AbstractColumnBinding[] getColBindings()
public void setElements(java.util.List<?> elements, boolean sendAllChanged)
public final java.lang.Object getElement(int index)
public final java.util.List<?> getElements()
public final int size()
public final java.lang.Object valueAt(int row, int column)
public final int columnCount()
public final void listElementsAdded(ObservableList list, int index, int length)
ObservableListListener
listElementsAdded
in interface ObservableListListener
list
- the ObservableList
that has changedindex
- the index the elements were added tolength
- the number of elements that were addedpublic final void listElementsRemoved(ObservableList list, int index, java.util.List elements)
ObservableListListener
listElementsRemoved
in interface ObservableListListener
list
- the ObservableList
that has changedindex
- the starting index the elements were removed fromelements
- a list containing the elements that were removed.public final void listElementReplaced(ObservableList list, int index, java.lang.Object oldElement)
ObservableListListener
listElementReplaced
in interface ObservableListListener
list
- the ObservableList
that has changedindex
- the index of the element that was replacedoldElement
- the element at the index before the changepublic final void listElementPropertyChanged(ObservableList list, int index)
ObservableListListener
ObservableLists
support this notification. Only
observable lists that return true
from
supportsElementPropertyChanged
send this notification.
listElementPropertyChanged
in interface ObservableListListener
list
- the ObservableList
that has changedindex
- the index of the element that changedprotected abstract void allChanged()
protected abstract void valueChanged(int row, int column)
protected abstract void added(int index, int length)
protected abstract void removed(int index, int length)
protected abstract void changed(int row)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |