BrightSide Workbench Full Report + Source Code
org.turro.charts.Series Class Reference
Collaboration diagram for org.turro.charts.Series:

Public Member Functions

 Series (String name)
 
String getName ()
 
String getLink ()
 
void setLink (String link)
 
ArrayList< DatagetData ()
 
Data addData (String name)
 

Protected Attributes

String name
 
ArrayList< Datadata
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 27 of file Series.java.

Constructor & Destructor Documentation

◆ Series()

org.turro.charts.Series.Series ( String  name)

Definition at line 32 of file Series.java.

32  {
33  this.name = name;
34  this.data = new ArrayList<>();
35  }
ArrayList< Data > data
Definition: Series.java:30

Member Function Documentation

◆ addData()

Data org.turro.charts.Series.addData ( String  name)

Definition at line 53 of file Series.java.

53  {
54  Data d = new Data(name);
55  if(data.add(d)) {
56  return d;
57  }
58  return null;
59  }
Here is the caller graph for this function:

◆ getData()

ArrayList<Data> org.turro.charts.Series.getData ( )

Definition at line 49 of file Series.java.

49  {
50  return data;
51  }

◆ getLink()

String org.turro.charts.Series.getLink ( )

Definition at line 41 of file Series.java.

41  {
42  return link;
43  }

◆ getName()

String org.turro.charts.Series.getName ( )

Definition at line 37 of file Series.java.

37  {
38  return name;
39  }

◆ setLink()

void org.turro.charts.Series.setLink ( String  link)

Definition at line 45 of file Series.java.

45  {
46  this.link = link;
47  }

Member Data Documentation

◆ data

ArrayList<Data> org.turro.charts.Series.data
protected

Definition at line 30 of file Series.java.

◆ name

String org.turro.charts.Series.name
protected

Definition at line 29 of file Series.java.


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