org.apache.pivot.collections
Class Stack.StackListenerList<T>
java.lang.Object
org.apache.pivot.util.ListenerList<StackListener<T>>
org.apache.pivot.collections.Stack.StackListenerList<T>
- All Implemented Interfaces:
- Iterable<StackListener<T>>, StackListener<T>
- Enclosing interface:
- Stack<T>
public static class Stack.StackListenerList<T>
- extends ListenerList<StackListener<T>>
- implements StackListener<T>
Stack listener list.
Stack.StackListenerList
public Stack.StackListenerList()
itemPushed
public void itemPushed(Stack<T> stack,
T item)
- Description copied from interface:
StackListener
- Called when an item has been pushed onto a stack.
- Specified by:
itemPushed
in interface StackListener<T>
itemPopped
public void itemPopped(Stack<T> stack,
T item)
- Description copied from interface:
StackListener
- Called when an item has been popped off of a stack.
- Specified by:
itemPopped
in interface StackListener<T>
stackCleared
public void stackCleared(Stack<T> stack)
- Description copied from interface:
StackListener
- Called when a stack has been cleared.
- Specified by:
stackCleared
in interface StackListener<T>
comparatorChanged
public void comparatorChanged(Stack<T> stack,
Comparator<T> previousComparator)
- Description copied from interface:
StackListener
- Called when a stack's comparator has changed.
- Specified by:
comparatorChanged
in interface StackListener<T>