be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIfScenarios.model.report
Interface WIReport

All Known Implementing Classes:
LinksWIReport, LoadWIReport, ReservedBandwidthWIReport, UtilisationWIReport

public interface WIReport

A WI report is used to display the result of the execution of a What-if scenario. the method computeInitialData() will be called before the execution of the scenario and computeFinalData() will be called after the What-If execution. The panel returned by the getPanel() should emphasize the differences between before and after.

Creation date: 23/04/2007

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Method Summary
 void computeFinalData()
          Save the final data in its internal state.
 void computeInitialData()
          Save the initial data in its internal state.
 java.lang.String getName()
          Returns a name corresponding to the type of report and its parameters.
 javax.swing.JPanel getPanel()
          Returns a panel displaying the difference between the data collected by computeInitialData() and by computeFinalData()
 java.lang.String getShortName()
          Returns the name of the type of report.
 

Method Detail

getPanel

javax.swing.JPanel getPanel()
Returns a panel displaying the difference between the data collected by computeInitialData() and by computeFinalData()

Returns:

computeInitialData

void computeInitialData()
Save the initial data in its internal state.


computeFinalData

void computeFinalData()
Save the final data in its internal state.


getName

java.lang.String getName()
Returns a name corresponding to the type of report and its parameters.

Returns:

getShortName

java.lang.String getShortName()
Returns the name of the type of report.

Returns:


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.