Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

ch.unibe.iam.scg.archie.controller
Class ProviderChartFactory

java.lang.Object
  extended by ch.unibe.iam.scg.archie.controller.ProviderChartFactory

public class ProviderChartFactory
extends java.lang.Object

Factory singleton object for creating chart composited based on JFreeChart charts and our custom chart model.

$Id$


Method Summary
 org.eclipse.swt.widgets.Composite createChart(org.eclipse.swt.widgets.Composite parent)
          Creates a chart from the currently set chart model and attaches it to the given parent.
static ProviderChartFactory getInstance()
          Returns an instance of this provider manager.
 void setChartModel(ChartModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ProviderChartFactory getInstance()
Returns an instance of this provider manager.

Returns:
An instance of this provider manager.

setChartModel

public void setChartModel(ChartModel model)
Parameters:
model -

createChart

public org.eclipse.swt.widgets.Composite createChart(org.eclipse.swt.widgets.Composite parent)
Creates a chart from the currently set chart model and attaches it to the given parent.

Parameters:
parent - Chart composite cotainer.
Returns:
Composite containing the chart just created.

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013