edu.cmu.hcii.calo.view.notification.support.NotificationState Class Reference

Collaboration diagram for edu.cmu.hcii.calo.view.notification.support.NotificationState:

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents a particular property within the state of a Notification.

When NotificationPaneView generates PropertyChangedEvents with a name of NotificationViewPropertyNames.NOTIFICATION_STATE_PROPERTY_NAME, the old and new values passed in the event will be NotificationState objects representing what has changed in what notification.

Author:
Will Haines


Public Types

enum  NotificationStateProperty
 The property that we are concerned with. More...

Public Member Functions

 NotificationState (Notification notification, NotificationStateProperty property, Object value)
 Constructs a NotificationState for the given notification, noting that property has a value of value.
Notification getNotification ()
 Gets the Notification for this NotificationState.
NotificationStateProperty getProperty ()
 Gets the property for this NotificationState.
Object getValue ()
 The value for this NotificationState.

Properties

Object value
 The value of that property.

Private Attributes

Notification notification
 The notifications to which this state pertains.


Member Enumeration Documentation

enum edu.cmu.hcii.calo.view.notification.support.NotificationState.NotificationStateProperty

The property that we are concerned with.

Author:
Will Haines


Constructor & Destructor Documentation

edu.cmu.hcii.calo.view.notification.support.NotificationState.NotificationState ( Notification  notification,
NotificationStateProperty  property,
Object  value 
)

Constructs a NotificationState for the given notification, noting that property has a value of value.

Parameters:
notification the notification to which this state pertains
property the property that we are concerned with
value the value of that property


Member Function Documentation

Notification edu.cmu.hcii.calo.view.notification.support.NotificationState.getNotification (  ) 

Gets the Notification for this NotificationState.

Returns:
the Notification

NotificationStateProperty edu.cmu.hcii.calo.view.notification.support.NotificationState.getProperty (  ) 

Gets the property for this NotificationState.

Returns:
the property

Object edu.cmu.hcii.calo.view.notification.support.NotificationState.getValue (  ) 

The value for this NotificationState.

Returns:
the Notification


Member Data Documentation

Notification edu.cmu.hcii.calo.view.notification.support.NotificationState.notification [private]

The notifications to which this state pertains.


Property Documentation

Object edu.cmu.hcii.calo.view.notification.support.NotificationState.value [private]

The value of that property.


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:25 2007 for CALO by  doxygen 1.5.2