be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIf
Class ReportGenerator

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIf.ReportGenerator

public class ReportGenerator
extends java.lang.Object

This class generates reports as well as charts for the what-if scenarios

Creation date: 21-Mar-2005

Author:
Olivier Materne (O.Materne@student.ulg.ac.be)

Nested Class Summary
 class ReportGenerator.LoadReport
           
 
Method Summary
 javax.swing.JPanel generateReport()
          Create the report(s)
static ReportGenerator getInstance()
          Return the instance of this class
 void initReport(java.lang.String reportType)
          initialize the new reoprt
 void reset()
          Reset parameters to default value (before a new report generation)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ReportGenerator getInstance()
Return the instance of this class

Returns:
Return the instance of this class

reset

public void reset()
Reset parameters to default value (before a new report generation)


initReport

public void initReport(java.lang.String reportType)
                throws InvalidTrafficMatrixException,
                       NoRouteToHostException,
                       RoutingException
initialize the new reoprt

Parameters:
reportType - (Monitor Load, ...)
Throws:
InvalidTrafficMatrixException
NoRouteToHostException
RoutingException

generateReport

public javax.swing.JPanel generateReport()
                                  throws InvalidTrafficMatrixException,
                                         NoRouteToHostException,
                                         RoutingException
Create the report(s)

Returns:
a panel containing the generated report
Throws:
InvalidTrafficMatrixException
NoRouteToHostException
RoutingException


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