be.ac.ulg.montefiore.run.totem.chart.model.plotters
Class PlotterManager

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.chart.model.plotters.PlotterManager

public class PlotterManager
extends java.lang.Object

Maintains a list of all available collectors, can create instance of specific collectors, can get parameters of specific collectors

Creation date: 25 janv. 2006

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

Method Summary
 java.lang.String[] getAvailablePlotters()
          return a table containing the availables plotters names
static PlotterManager getInstance()
          return the unique instance of the manager
 ChartPlotter getPlotterInstance(java.lang.String name)
          return a new instance of the plotter whose name is given as parameter
 java.util.List<ParameterDescriptor> getPlotterParameters(java.lang.String shortName)
          returns the parameters that can be passed to the plotter given by its name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PlotterManager getInstance()
return the unique instance of the manager

Returns:

getAvailablePlotters

public java.lang.String[] getAvailablePlotters()
return a table containing the availables plotters names

Returns:

getPlotterParameters

public java.util.List<ParameterDescriptor> getPlotterParameters(java.lang.String shortName)
returns the parameters that can be passed to the plotter given by its name

Parameters:
shortName -
Returns:
a list of parameters

getPlotterInstance

public ChartPlotter getPlotterInstance(java.lang.String name)
return a new instance of the plotter whose name is given as parameter

Parameters:
name - The name of the collector to instantiate.
Returns:


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