Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ikayaki.gui.MeasurementGraphsPanel Class Reference

Inheritance diagram for ikayaki.gui.MeasurementGraphsPanel:

Inheritance graph
[legend]
Collaboration diagram for ikayaki.gui.MeasurementGraphsPanel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MeasurementGraphsPanel ()
void projectUpdated (ProjectEvent event)
void measurementUpdated (MeasurementEvent event)
Override void setProject (Project project)

Static Public Member Functions

static void main (String args[])

Private Member Functions

void updatePlots ()

Private Attributes

Vector< Plotplots = new Vector<Plot>()
JTabbedPane tabs

Detailed Description

Author:
Aki Sysmäläinen

Definition at line 40 of file MeasurementGraphsPanel.java.


Constructor & Destructor Documentation

ikayaki.gui.MeasurementGraphsPanel.MeasurementGraphsPanel  ) 
 

Creates new panel for plots

Definition at line 51 of file MeasurementGraphsPanel.java.

References ikayaki.gui.ProjectComponent.getParentFrame(), ikayaki.gui.MeasurementGraphsPanel.plots, and ikayaki.gui.MeasurementGraphsPanel.tabs.

Here is the call graph for this function:


Member Function Documentation

static void ikayaki.gui.MeasurementGraphsPanel.main String  args[]  )  [static]
 

Definition at line 142 of file MeasurementGraphsPanel.java.

void ikayaki.gui.MeasurementGraphsPanel.measurementUpdated MeasurementEvent  event  ) 
 

Parameters:
event MeasurementEvent received.

Reimplemented from ikayaki.gui.ProjectComponent.

Definition at line 124 of file MeasurementGraphsPanel.java.

References ikayaki.MeasurementEvent.getType(), and ikayaki.MeasurementEvent.VALUE_MEASURED.

Here is the call graph for this function:

void ikayaki.gui.MeasurementGraphsPanel.projectUpdated ProjectEvent  event  ) 
 

Listener to listen events if projects state is changed.

Reimplemented from ikayaki.gui.ProjectComponent.

Definition at line 115 of file MeasurementGraphsPanel.java.

References ikayaki.ProjectEvent.DATA_CHANGED, ikayaki.ProjectEvent.getType(), and ikayaki.ProjectEvent.STATE_CHANGED.

Here is the call graph for this function:

Override void ikayaki.gui.MeasurementGraphsPanel.setProject Project  project  ) 
 

Sets the project for this ProjectComponent. Unregisters MeasurementListener and ProjectListener from the old project, and registers them to the new project.

Parameters:
project new active project, or null to make no project active.

Reimplemented from ikayaki.gui.ProjectComponent.

Definition at line 136 of file MeasurementGraphsPanel.java.

References ikayaki.gui.project.

void ikayaki.gui.MeasurementGraphsPanel.updatePlots  )  [private]
 

Updates plots when additional measurements are done or the data has changed.

Definition at line 100 of file MeasurementGraphsPanel.java.

References ikayaki.gui.null.


Member Data Documentation

Vector<Plot> ikayaki.gui.MeasurementGraphsPanel.plots = new Vector<Plot>() [private]
 

All plots in this panel

Definition at line 44 of file MeasurementGraphsPanel.java.

Referenced by ikayaki.gui.MeasurementGraphsPanel.MeasurementGraphsPanel().

JTabbedPane ikayaki.gui.MeasurementGraphsPanel.tabs [private]
 

Definition at line 46 of file MeasurementGraphsPanel.java.

Referenced by ikayaki.gui.MeasurementGraphsPanel.MeasurementGraphsPanel().


The documentation for this class was generated from the following file:
Generated on Fri May 6 16:01:01 2005 for Squid by  doxygen 1.4.1