|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.util.ListPropertyChangeListener
public class ListPropertyChangeListener
Provides convenience methods for subclasses to override so that they don't have to manually implement the list change extraction by themselves.
Constructor Summary | |
---|---|
ListPropertyChangeListener()
|
Method Summary | |
---|---|
protected void |
itemDeleted(java.lang.Object source,
int index,
java.util.List oldList,
java.util.List newList)
Called when an item has been deleted. |
protected void |
itemInserted(java.lang.Object source,
int index,
java.util.List oldList,
java.util.List newList)
Called when an item has been inserted. |
protected void |
itemUpdated(java.lang.Object source,
int index,
java.util.List oldList,
java.util.List newList)
Called when an item has been replaced. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
Iterates through the information contain in the event and calls one of the other methods as appropriate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListPropertyChangeListener()
Method Detail |
---|
protected void itemInserted(java.lang.Object source, int index, java.util.List oldList, java.util.List newList)
protected void itemUpdated(java.lang.Object source, int index, java.util.List oldList, java.util.List newList)
protected void itemDeleted(java.lang.Object source, int index, java.util.List oldList, java.util.List newList)
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |