ChartReport Class Reference

Inherits er::bugtracker::components::reporting::Report.

Collaboration diagram for ChartReport:

Collaboration graph
[legend]

List of all members.

Classes

class  AreaChartConfiguration
interface  ChartConfiguration
class  PieChartConfiguration

Public Member Functions

void awake ()
JFreeChart chart ()
NSArray chartConfigurations ()
 ChartReport (WOContext context)
Dataset dataset ()
Dataset dataset (Integer attribTotalKey)
Dataset datasetForAttribute ()
boolean isCurrentTypeSelected ()
void selectType ()
void setChart (JFreeChart chart)

Public Attributes

ChartConfiguration currentConfiguration
String currentType
ChartConfiguration selectedConfiguration = (ChartConfiguration) CHART_CONFIGURATIONS.lastObject()
String selectedType = selectedConfiguration.defaultType()

Static Private Attributes

static NSArray CHART_CONFIGURATIONS
static final Logger log = Logger.getLogger(ChartReport.class)


Constructor & Destructor Documentation

ChartReport ( WOContext  context  ) 

Public constructor

Parameters:
context the context


Member Function Documentation

void awake (  ) 

Reimplemented from WRReport.

JFreeChart chart (  ) 

NSArray chartConfigurations (  ) 

Dataset dataset (  ) 

Dataset dataset ( Integer  attribTotalKey  ) 

Dataset datasetForAttribute (  ) 

boolean isCurrentTypeSelected (  ) 

void selectType (  ) 

void setChart ( JFreeChart  chart  ) 


Member Data Documentation

NSArray CHART_CONFIGURATIONS [static, private]

Initial value:

 new NSArray(new Object[] {
            new PieChartConfiguration(),
            new AreaChartConfiguration()
    })

final Logger log = Logger.getLogger(ChartReport.class) [static, private]

logging support

Reimplemented from Report.

ChartConfiguration selectedConfiguration = (ChartConfiguration) CHART_CONFIGURATIONS.lastObject()

String selectedType = selectedConfiguration.defaultType()


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:45 2012 for Project Wonder by  doxygen 1.5.8