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
-
frame
- The parent frame.
-
node
- The node whose information is being displayed
-
PIV_OFFSET
-
-
pivCount
- A count of the number of port information viewers launched
from this dialog window.
-
screenLoc
- The location of the dialog window.
-
NodeInfoDialog(Frame, Node)
- Constructs an information dialog window.
-
actionPerformed(ActionEvent)
-
-
setLocation(int, int)
- Sets the location of the dialog window, offsetting the
given location by the parent frame's location.
-
setLocation(Point)
- Sets the location of the dialog window, offsetting the
given location by the parent frame's location.
-
windowActivated(WindowEvent)
-
-
windowClosed(WindowEvent)
-
-
windowClosing(WindowEvent)
-
-
windowDeactivated(WindowEvent)
-
-
windowDeiconified(WindowEvent)
-
-
windowIconified(WindowEvent)
-
-
windowOpened(WindowEvent)
-
frame
private Frame frame
- The parent frame.
node
private Node node
- The node whose information is being displayed
pivCount
private int pivCount
- A count of the number of port information viewers launched
from this dialog window.
PIV_OFFSET
private static final int PIV_OFFSET
screenLoc
private Point screenLoc
- The location of the dialog window.
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.
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
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
windowActivated
public void windowActivated(WindowEvent e)
windowClosed
public void windowClosed(WindowEvent e)
windowClosing
public void windowClosing(WindowEvent e)
windowDeactivated
public void windowDeactivated(WindowEvent e)
windowDeiconified
public void windowDeiconified(WindowEvent e)
windowIconified
public void windowIconified(WindowEvent e)
windowOpened
public void windowOpened(WindowEvent e)
actionPerformed
public void actionPerformed(ActionEvent e)