ca.odell.glazedlists.event
Interface SequenceDependenciesEventPublisher.EventFormat<Subject,Listener,Event>
public static interface SequenceDependenciesEventPublisher.EventFormat<Subject,Listener,Event>
Adapt any observer-style interface to a common format.
void | fire(Subject subject, Event event, Listener listener) - Fire the specified event to the specified listener.
|
boolean | isStale(Subject subject, Listener listener) - Whether the listener is still valid.
|
void | postEvent(Subject subject) - A callback made only after all listeners of the specified subject
have been notified of the specified event.
|
fire
public void fire(Subject subject,
Event event,
Listener listener)
Fire the specified event to the specified listener.
isStale
public boolean isStale(Subject subject,
Listener listener)
Whether the listener is still valid. Usually a listener becomes stale
when a weak reference goes out of scope. If this method returns true,
the listener will be silently removed and no longer receive events.
postEvent
public void postEvent(Subject subject)
A callback made only after all listeners of the specified subject
have been notified of the specified event. This can be used as
a hook to clean up temporary datastructures for that event.
Glazed Lists, Copyright © 2003-2006 publicobject.com, O'Dell Engineering.
Documentation build by buildd at 2008-01-04 14:38