radtools.graphing
Class ActiveGraph

java.lang.Object
  extended by radtools.graphing.ActiveGraph
All Implemented Interfaces:
ActionListener, MouseListener, EventListener

@Revision(value="$Revision: 1.2 $",
          date="$Date: 2006/12/15 20:37:44 $",
          tag="$Name:  $")
public class ActiveGraph
extends Object
implements ActionListener, MouseListener

The base class of the graphing package which represents a window showing a graph.

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize
TODO: equals, hashCode, toString

Version:
$Revision: 1.2 $
Author:
Lilia Gutnik

Field Summary
 Graph graph
          The graph which is being shown within the window.
 JFrame window
          The window containing the graph, which this object represents.
 
Constructor Summary
ActiveGraph(rcf.core.util.collection.Collection<Point> _points, int _nDimensions, String _title, String _xLabel, String _yLabel)
          TODO: Javadoc
 
Method Summary
 void actionPerformed(ActionEvent evt)
           
 void mouseClicked(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graph

public Graph graph
The graph which is being shown within the window.


window

public JFrame window
The window containing the graph, which this object represents.

Constructor Detail

ActiveGraph

public ActiveGraph(rcf.core.util.collection.Collection<Point> _points,
                   int _nDimensions,
                   String _title,
                   String _xLabel,
                   String _yLabel)
TODO: Javadoc

Method Detail

actionPerformed

public void actionPerformed(ActionEvent evt)
Specified by:
actionPerformed in interface ActionListener

mouseClicked

public void mouseClicked(MouseEvent e)
Specified by:
mouseClicked in interface MouseListener

mouseEntered

public void mouseEntered(MouseEvent e)
Specified by:
mouseEntered in interface MouseListener

mouseExited

public void mouseExited(MouseEvent e)
Specified by:
mouseExited in interface MouseListener

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener