edu.ufl.hcs.ppw.analysis.AnalysisVisManager Class Reference

This class ties together all of the analysis visualizations, using a tabbed panel to contain them. More...

Inheritance diagram for edu.ufl.hcs.ppw.analysis.AnalysisVisManager:

edu.ufl.hcs.ppw.vis.VisInterface

List of all members.

Classes

class  VisualizationChangeListener
 A class for handling tab panel changes. More...

Public Member Functions

String getVisName ()
 What should the tab show in the interface?
String getVisDescription ()
 A longer description of the visualization (shown in tooltip for vis).
boolean isSourceVis ()
 Should this interface show the source pane?
JPanel getVisPanel ()
 Returns the JPanel for this visualization.
void setGUI (PPWGUIInterface gui)
 This routine passes along a class that the visualziation can use to interact with the main GUI (for things like highlighting source code, etc).
void initPDM (HighLevelPDM pdm, PPWUserOptions opts)
 This routine is used by the GUI to tell each vis it has new data it should display, and is also used to pass along global user options.
void initExperimentSet (ExperimentSet set)
 This routine is used by the GUI to give each visualization a copy of the current event set, so that they may do cross-experiment analyses.
void closePDM ()
 Tell the visualizations to close the currently-open file.
void loadEventSet (ExperimentSet es)
 Tell the visualizations to use this event set.
void notifyNewAggregationMethod ()
 Tell the visualizations there is a new aggregation method.
void notifyNewDisplayUnits ()
 Tell the visualizations there are new display units.
void notifyExperimentSetChanged ()
 Tell the visualizations the experiment set has changed.
void notifySelectedRevision (String rev)
 Tell the visualizations the selected revision.
void notifySelected ()
 Used to tell the visualization that it has been selected.
boolean isTextVersionAvailable ()
 If a text version of analysis is available.
void printResults (PrintStream out, int level, boolean wantSummary, boolean useTabs)
 Textual results of the visualization (optional, returns immediately if no text output available).

Package Functions

void loadVisualizations ()
 Loads up all visualizations and sets up the visArray.
void initPanel ()
 Loads up all GUI components for this tabbed panel.
void notifySelectedVisualization ()
 Push out selection notification.

Package Attributes

HighLevelPDM pdm
String lastRev
AnalysisVisInterface[] visArray
PPWGUIInterface gui
PPWUserOptions opts
JTabbedPane visTabs


Detailed Description

This class ties together all of the analysis visualizations, using a tabbed panel to contain them.

The analysis visualization manager itself acts as a single visualization from the point of view of the main visualization manager, and thus implements VisInterface.

Author:
Max Billingsley III

Member Function Documentation

String edu.ufl.hcs.ppw.analysis.AnalysisVisManager.getVisDescription (  ) 

A longer description of the visualization (shown in tooltip for vis).

Implements edu.ufl.hcs.ppw.vis.VisInterface.

void edu.ufl.hcs.ppw.analysis.AnalysisVisManager.initExperimentSet ( ExperimentSet  es  ) 

This routine is used by the GUI to give each visualization a copy of the current event set, so that they may do cross-experiment analyses.

There is no guarantee this function will be called ever.

Implements edu.ufl.hcs.ppw.vis.VisInterface.

void edu.ufl.hcs.ppw.analysis.AnalysisVisManager.printResults ( PrintStream  out,
int  level,
boolean  wantSummary,
boolean  useTabs 
)

Textual results of the visualization (optional, returns immediately if no text output available).

Running this should not affect the GUI visualization's state.

Parameters:
out PrintStream to use to output results
level When printing output, each vis should try to indent each line by this many characters. Used for prettying long report output; a visualization may ignore this.
wantSummary If the text output should be brief or possibly include breakdowns for all nodes; this paramter may be ignored.
useTabs If tabs should be used to format output data (useful for users to import data into a spreadsheet)

Implements edu.ufl.hcs.ppw.vis.VisInterface.

void edu.ufl.hcs.ppw.analysis.AnalysisVisManager.setGUI ( PPWGUIInterface  gui  ) 

This routine passes along a class that the visualziation can use to interact with the main GUI (for things like highlighting source code, etc).

Note that this is guaranteed to be called before initPDM().

Implements edu.ufl.hcs.ppw.vis.VisInterface.


The documentation for this class was generated from the following file:

Generated on Sat Sep 29 08:46:41 2012 for PPW by  doxygen 1.5.8