|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pivot.collections.SetListener.Adapter<E>
public static class SetListener.Adapter<E>
Set listener adapter.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.pivot.collections.SetListener |
|---|
SetListener.Adapter<E> |
| Constructor Summary | |
|---|---|
SetListener.Adapter()
|
|
| Method Summary | |
|---|---|
void |
comparatorChanged(Set<E> set,
Comparator<E> previousComparator)
Called when a set's comparator has changed. |
void |
elementAdded(Set<E> set,
E element)
Called when an element is added to a set. |
void |
elementRemoved(Set<E> set,
E element)
Called when an element is removed from the set. |
void |
setCleared(Set<E> set)
Called when set data has been reset. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetListener.Adapter()
| Method Detail |
|---|
public void elementAdded(Set<E> set,
E element)
SetListener
elementAdded in interface SetListener<E>set - The source of the set event.element - The element that was added to the set.
public void elementRemoved(Set<E> set,
E element)
SetListener
elementRemoved in interface SetListener<E>set - The source of the set event.element - The element that was removed from the set.public void setCleared(Set<E> set)
SetListener
setCleared in interface SetListener<E>set - The source of the set event.
public void comparatorChanged(Set<E> set,
Comparator<E> previousComparator)
SetListener
comparatorChanged in interface SetListener<E>set - The source of the event.previousComparator - The previous comparator value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||