|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.context.observer.group.AfterGroupObserverList
public final class AfterGroupObserverList
This class provides a type-safe list of observers for the group close event.
| Constructor Summary | |
|---|---|
AfterGroupObserverList()
|
|
| Method Summary | |
|---|---|
void |
add(AfterGroupObserver observer)
Add an observer to the list. |
static AfterGroupObserver |
register(AfterGroupObserver list,
AfterGroupObserver observer)
Take a list and add an observer. |
void |
update()
Invoke all observers on the list to inform them that a group has just been closed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AfterGroupObserverList()
| Method Detail |
|---|
public static AfterGroupObserver register(AfterGroupObserver list,
AfterGroupObserver observer)
null then
a new one is created.
list - the input list or nullobserver - the observer to add
public void add(AfterGroupObserver observer)
observer - the observer to add to the listpublic void update()
update in interface AfterGroupObserver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||