edu.berkeley.guir.ptk.notification
Class AnyChangesNotificationSetter
java.lang.Object
edu.berkeley.guir.ptk.PTK
edu.berkeley.guir.ptk.notification.NotificationSetter
edu.berkeley.guir.ptk.notification.AnyChangesNotificationSetter
- public class AnyChangesNotificationSetter
- extends NotificationSetter
All InputSource objects check that an event has changed before dispatching it.
Therefore, this Notification Setter should never be needed, unless the
developer modifies InputSource.
Compares the new event to the previous event with the same metadata and
determines if it has changed. If the event has changed, sets the notification
level to make aware.
- Author:
- tmatthew
Created: Mar 2, 2003
|
Method Summary |
int |
set(Event e,
History h)
Sets the notification level to make aware if there has been a changed since
the previous event with the same metadata. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnyChangesNotificationSetter
public AnyChangesNotificationSetter()
set
public int set(Event e,
History h)
- Sets the notification level to make aware if there has been a changed since
the previous event with the same metadata.
- Specified by:
set in class NotificationSetter
- Parameters:
e - The event that may have its notification set.h - The history of events that have been passed to this
application.
- Returns:
- The notification level to which it set the event.