Class GraphicalViewFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----GraphicalViewFrame

class GraphicalViewFrame
extends Frame
implements ActionListener, Observer

Variable Index

 o defaultBounds
A rectangle specifying default values for the position and size of the Frame.
 o displayNetwork
 o network

Constructor Index

 o GraphicalViewFrame(Network)

Method Index

 o actionPerformed(ActionEvent)
 o addMenus()
 o close()
 o setTitle(String)
 o setVisible(boolean)
 o update(Observable, Object)

Variables

 o network
 private Network network
 o displayNetwork
 private DisplayNetwork displayNetwork
 o defaultBounds
 private Rectangle defaultBounds
A rectangle specifying default values for the position and size of the Frame. These values are only used if the Frame cannot find a position and size in the properties of the Framework.

Constructors

 o GraphicalViewFrame
 GraphicalViewFrame(Network n)

Methods

 o setVisible
 public void setVisible(boolean b)
Overrides:
setVisible in class Component
 o setTitle
 public void setTitle(String networkName)
Overrides:
setTitle in class Frame
 o update
 public void update(Observable o,
                    Object arg)
 o addMenus
 private void addMenus()
 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o close
 void close()