net.wotonomy.ui.swing
Class NotificationInspector

java.lang.Object
  extended by net.wotonomy.ui.swing.NotificationInspector
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.util.EventListener

public class NotificationInspector
extends java.lang.Object
implements java.awt.event.MouseListener, java.awt.event.ActionListener

The NotificationInspector displays a JFrame that displays notifications as they occur.

Version:
$Revision: 904 $
Author:
michael@mpowers.net

Field Summary
protected static java.lang.String CLEAR_ALL
           
protected static java.lang.String CLEAR_SELECTED
           
static java.lang.String COPY
           
protected  net.wotonomy.ui.EODisplayGroup displayGroup
           
protected  javax.swing.JPopupMenu popupMenu
           
protected  javax.swing.JTable table
           
 
Constructor Summary
NotificationInspector()
          Displays all notifications on the default notification center.
NotificationInspector(net.wotonomy.foundation.NSNotificationCenter aCenter)
          Displays all notifications from the specified notification center.
NotificationInspector(net.wotonomy.foundation.NSNotificationCenter aCenter, java.lang.String notificationName, java.lang.Object anObject)
          Displays notifications on the specified notification center using the specified name and object filters.
NotificationInspector(java.lang.String notificationName, java.lang.Object anObject)
          Displays notifications from the default notification center using the specified name and object filters.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Method used to listen for the action event from the popup menu items.
 void handleNotification(net.wotonomy.foundation.NSNotification aNotification)
          Handles the notification.
protected  void initLayout()
           
 void mouseClicked(java.awt.event.MouseEvent e)
          Double click to launch object inspector.
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected javax.swing.JTable table

popupMenu

protected javax.swing.JPopupMenu popupMenu

displayGroup

protected net.wotonomy.ui.EODisplayGroup displayGroup

COPY

public static final java.lang.String COPY
See Also:
Constant Field Values

CLEAR_ALL

protected static final java.lang.String CLEAR_ALL
See Also:
Constant Field Values

CLEAR_SELECTED

protected static final java.lang.String CLEAR_SELECTED
See Also:
Constant Field Values
Constructor Detail

NotificationInspector

public NotificationInspector()
Displays all notifications on the default notification center.


NotificationInspector

public NotificationInspector(net.wotonomy.foundation.NSNotificationCenter aCenter)
Displays all notifications from the specified notification center.


NotificationInspector

public NotificationInspector(java.lang.String notificationName,
                             java.lang.Object anObject)
Displays notifications from the default notification center using the specified name and object filters.


NotificationInspector

public NotificationInspector(net.wotonomy.foundation.NSNotificationCenter aCenter,
                             java.lang.String notificationName,
                             java.lang.Object anObject)
Displays notifications on the specified notification center using the specified name and object filters.

Method Detail

initLayout

protected void initLayout()

handleNotification

public void handleNotification(net.wotonomy.foundation.NSNotification aNotification)
Handles the notification.


actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Method used to listen for the action event from the popup menu items.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Double click to launch object inspector.

Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener


Copyright © 2006 null. All Rights Reserved.