All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Webcrawler.Visualizer.Tracer

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

public class Tracer
extends JInternalFrame
This is an InternalFrame used by the Visualizer to display the internal states of the Crawler. It displays 4 lists, one for each of the Parsers, Readers, and ToDo-Queues. A node travels counter-clockwise through those 4 lists.


Variable Index

 o parsersList
 o parsersRunning
 o psp
 o readersList
 o readersRunning
 o rsp
 o threadsRunning
 o todoParsersLabel
 o todoParsersList
 o todoReadersLabel
 o todoReadersList
 o tpsp
 o trsp

Constructor Index

 o Tracer()

Method Index

 o createProgressStringVector(Enumeration)
 o createStringVector(Enumeration)
 o updateParsersList(Crawler)
 o updateReadersList(Crawler)
 o updateTodoParsersList(Crawler)
 o updateTodoReadersList(Crawler)
 o updateTracer(Crawler)
Call this to update the Tracer-Window now.

Variables

 o todoParsersList
 private JList todoParsersList
 o tpsp
 private JScrollPane tpsp
 o todoParsersLabel
 private JLabel todoParsersLabel
 o parsersList
 private JList parsersList
 o psp
 private JScrollPane psp
 o parsersRunning
 private JLabel parsersRunning
 o todoReadersList
 private JList todoReadersList
 o trsp
 private JScrollPane trsp
 o todoReadersLabel
 private JLabel todoReadersLabel
 o readersList
 private JList readersList
 o rsp
 private JScrollPane rsp
 o readersRunning
 private JLabel readersRunning
 o threadsRunning
 private JLabel threadsRunning

Constructors

 o Tracer
 public Tracer()

Methods

 o updateTracer
 public synchronized void updateTracer(Crawler c)
Call this to update the Tracer-Window now.

 o createStringVector
 private Vector createStringVector(Enumeration e)
 o createProgressStringVector
 private Vector createProgressStringVector(Enumeration e)
 o updateTodoParsersList
 private void updateTodoParsersList(Crawler c)
 o updateParsersList
 private void updateParsersList(Crawler c)
 o updateTodoReadersList
 private void updateTodoReadersList(Crawler c)
 o updateReadersList
 private void updateReadersList(Crawler c)

All Packages  Class Hierarchy  This Package  Previous  Next  Index