edu.cmu.hcii.calo.controller.NotificationCenterController Class Reference

Inherits edu.cmu.hcii.calo.messagePassing.MessageTarget.

Inheritance diagram for edu.cmu.hcii.calo.controller.NotificationCenterController:

Inheritance graph
[legend]
Collaboration diagram for edu.cmu.hcii.calo.controller.NotificationCenterController:

Collaboration graph
[legend]
List of all members.

Detailed Description

The controller that attaches the notification manager to its corresponding views.

Author:
Will Haines


Public Member Functions

 NotificationCenterController (NotificationCenterView view)
 Constructs a NotificationCenterController that sends updates to (and listens for property changes from) the given NotificationCenterView.
void onMessageReceived (Observable sender, Message msg)
 Should be implemented by implementing classes to handle specific messages.
void Change (PropertyChangeEvent e)
 This method gets called when a bound property is changed.

Private Attributes

NotificationCenterView view
 The view to control.
boolean ignoreModelMessages
 Tells the controller to ignore model messages to assure atomic updates.
NotificationGroupView oldOutsideViewReference
 The last group shown outside of the mini bar.


Constructor & Destructor Documentation

edu.cmu.hcii.calo.controller.NotificationCenterController.NotificationCenterController ( NotificationCenterView  view  ) 

Constructs a NotificationCenterController that sends updates to (and listens for property changes from) the given NotificationCenterView.

Parameters:
view the view to send updates to


Member Function Documentation

void edu.cmu.hcii.calo.controller.NotificationCenterController.onMessageReceived ( Observable  sender,
Message  msg 
) [virtual]

Should be implemented by implementing classes to handle specific messages.

Parameters:
sender the sender of this message
msg the message being sent

Implements edu.cmu.hcii.calo.messagePassing.MessageTarget.

void edu.cmu.hcii.calo.controller.NotificationCenterController.Change ( PropertyChangeEvent  e  ) 

This method gets called when a bound property is changed.

Parameters:
e A PropertyChangeEvent object describing the event source and the property that has changed.
See also:
java.beans.PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)


Member Data Documentation

NotificationCenterView edu.cmu.hcii.calo.controller.NotificationCenterController.view [private]

The view to control.

boolean edu.cmu.hcii.calo.controller.NotificationCenterController.ignoreModelMessages [private]

Tells the controller to ignore model messages to assure atomic updates.

NotificationGroupView edu.cmu.hcii.calo.controller.NotificationCenterController.oldOutsideViewReference [private]

The last group shown outside of the mini bar.


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