adams.gui.visualization.instance
Class InstanceReportFactory

java.lang.Object
  extended by adams.gui.visualization.report.ReportFactory
      extended by adams.gui.visualization.instance.InstanceReportFactory

public class InstanceReportFactory
extends ReportFactory

A factory for GUI components for Instance-related reports.

Version:
$Revision: 4584 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Nested Class Summary
static class InstanceReportFactory.Panel
          A specialized panel that displays reports.
static class InstanceReportFactory.Table
          A specialized table for displaying a Report.
 
Nested classes/interfaces inherited from class adams.gui.visualization.report.ReportFactory
ReportFactory.Dialog<C extends ReportContainer,M extends ReportContainerManager>, ReportFactory.Model, ReportFactory.StandardsDialog
 
Constructor Summary
InstanceReportFactory()
           
 
Method Summary
static ReportFactory.Model getModel(Report report)
          Returns a new model for the given report.
static BasePanel getPanel(Report report)
          Returns a new panel for the given report.
static InstanceReportFactory.Panel getPanel(Vector<Container> reports)
          Returns a new table for the given reports.
static InstanceReportFactory.Panel getPanelForReports(Vector reports)
          Returns a new table for the given reports.
static InstanceReportFactory.Table getTable(Report report)
          Returns a new table for the given report.
 
Methods inherited from class adams.gui.visualization.report.ReportFactory
getDialog, getDialog, getPanel, getStandardsDialog, getStandardsDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceReportFactory

public InstanceReportFactory()
Method Detail

getModel

public static ReportFactory.Model getModel(Report report)
Returns a new model for the given report.

Parameters:
report - the report to create a model for
Returns:
the model

getTable

public static InstanceReportFactory.Table getTable(Report report)
Returns a new table for the given report.

Parameters:
report - the report to create a table for
Returns:
the table

getPanel

public static BasePanel getPanel(Report report)
Returns a new panel for the given report.

Parameters:
report - the report to create a table/panel for
Returns:
the panel

getPanel

public static InstanceReportFactory.Panel getPanel(Vector<Container> reports)
Returns a new table for the given reports.

Parameters:
reports - the reports to create a tabbed pane for
Returns:
the tabbed pane

getPanelForReports

public static InstanceReportFactory.Panel getPanelForReports(Vector reports)
Returns a new table for the given reports.

Parameters:
reports - the reports to create a tabbed pane for
Returns:
the tabbed pane


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.