All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Webcrawler.Visualizer.NodeViewer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JInternalFrame
                                   |
                                   +----Webcrawler.Visualizer.NodeViewer

public class NodeViewer
extends JInternalFrame
implements ActionListener
This class shows all the information of a Node in a seperate window. Every node-type (such as URLNode/LoadableNode/...) has it's own panel containing graphical components for displaying the information stored in that specific node. E.g. if the NodeViewer has to show an HTMLNode, it creates a tabbed-pane with 3 tabs: URLNodePanel, LoadableNodePanel and HTMLNodePanel. (The HTMLNodePanel only contains the info that LoadableNodePanel doesn't show yet, the LoadableNodePanel only shows the info that URLNodePanel doesn't contain yet, ...)


Variable Index

 o hnp
 o lnp
 o tabbedPane
 o unp

Constructor Index

 o NodeViewer(URLNode)
Creates a new window showing the correct panels according to the "real" type of n.

Method Index

 o actionPerformed(ActionEvent)
 o openNewViewer(URLNode)

Variables

 o tabbedPane
 protected JTabbedPane tabbedPane
 o unp
 protected URLNodePanel unp
 o lnp
 protected LoadableNodePanel lnp
 o hnp
 protected HTMLNodePanel hnp

Constructors

 o NodeViewer
 public NodeViewer(URLNode n)
Creates a new window showing the correct panels according to the "real" type of n.

See Also:
URLNodePanel, LoadableNodePanel, HTMLNodePanel

Methods

 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o openNewViewer
 public void openNewViewer(URLNode n)

All Packages  Class Hierarchy  This Package  Previous  Next  Index