Class NodeInfoDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----NodeInfoDialog

public class NodeInfoDialog
extends Dialog
implements ActionListener, WindowListener
Class definition for a dialog to display information about a node.

Version:
$Revision: 1.7 $, $Date: 2000/10/12 14:07:54 $
Author:
John Cavanaugh

Variable Index

 o frame
The parent frame.
 o node
The node whose information is being displayed
 o PIV_OFFSET
 o pivCount
A count of the number of port information viewers launched from this dialog window.
 o screenLoc
The location of the dialog window.

Constructor Index

 o NodeInfoDialog(Frame, Node)
Constructs an information dialog window.

Method Index

 o actionPerformed(ActionEvent)
 o setLocation(int, int)
Sets the location of the dialog window, offsetting the given location by the parent frame's location.
 o setLocation(Point)
Sets the location of the dialog window, offsetting the given location by the parent frame's location.
 o windowActivated(WindowEvent)
 o windowClosed(WindowEvent)
 o windowClosing(WindowEvent)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
 o windowIconified(WindowEvent)
 o windowOpened(WindowEvent)

Variables

 o frame
 private Frame frame
The parent frame.

 o node
 private Node node
The node whose information is being displayed

 o pivCount
 private int pivCount
A count of the number of port information viewers launched from this dialog window.

 o PIV_OFFSET
 private static final int PIV_OFFSET
 o screenLoc
 private Point screenLoc
The location of the dialog window.

Constructors

 o NodeInfoDialog
 public NodeInfoDialog(Frame frame,
                       Node node)
Constructs an information dialog window.

Parameters:
frame - the parent frame.
node - the node whose information is to be displayed.

Methods

 o setLocation
 public void setLocation(Point loc)
Sets the location of the dialog window, offsetting the given location by the parent frame's location.

Parameters:
loc - The location for the window.
Overrides:
setLocation in class Component
 o setLocation
 public void setLocation(int x,
                         int y)
Sets the location of the dialog window, offsetting the given location by the parent frame's location.

Parameters:
x - The x offset for the window.
y - The y offset for the window.
Overrides:
setLocation in class Component
 o windowActivated
 public void windowActivated(WindowEvent e)
 o windowClosed
 public void windowClosed(WindowEvent e)
 o windowClosing
 public void windowClosing(WindowEvent e)
 o windowDeactivated
 public void windowDeactivated(WindowEvent e)
 o windowDeiconified
 public void windowDeiconified(WindowEvent e)
 o windowIconified
 public void windowIconified(WindowEvent e)
 o windowOpened
 public void windowOpened(WindowEvent e)
 o actionPerformed
 public void actionPerformed(ActionEvent e)