|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.ui.monitoring.charts.config.ChartConfiguration
public class ChartConfiguration
Instances of this class represent the configuration elements used to create and update a chart definition.
| Field Summary | |
|---|---|
Object |
chart
The JFreeChart object. |
JPanel |
chartPanel
The chartPanel enclosing the chart. |
Object |
dataset
The dataset associated witht the chart. |
Fields[] |
fields
The list of fields charted in this chart. |
String |
name
Name of this configuration. |
int |
position
Position of the chart in its containing panel. |
int |
precision
Precision of the number to display in items and tooltip labels. |
ChartType |
type
Determines the type of the chart, ie bar chart, plot chart, pie, etc. |
String |
unit
Unit to display on item labels or in the legend or title. |
| Constructor Summary | |
|---|---|
ChartConfiguration()
Default constructor. |
|
ChartConfiguration(ChartConfiguration cfg)
Create a configuration from another configuration (copy constructor). |
|
ChartConfiguration(String name,
ChartType type,
String unit,
int precision,
Fields[] fields)
Create a configuration with the specified parameters. |
|
| Method Summary | |
|---|---|
String |
toString()
Get a string representation of this chart configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String name
public ChartType type
public String unit
public int precision
public Fields[] fields
public Object dataset
public Object chart
public JPanel chartPanel
public int position
| Constructor Detail |
|---|
public ChartConfiguration()
public ChartConfiguration(String name,
ChartType type,
String unit,
int precision,
Fields[] fields)
name - the name of this configuration, must be unique.type - determines the type of the chart, ie bar chart, plot chart, pie, etc.unit - the unit to display on item labels or in the legend or title.precision - the precision of the number to display in items and tooltip labels.fields - the list of fields charted in this chart.public ChartConfiguration(ChartConfiguration cfg)
cfg - the configuration to copy from.| Method Detail |
|---|
public String toString()
toString in class ObjectObject.toString()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||