|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.chart.app.ChartDisplay
public class ChartDisplay
A component which displays a JFreeChart.
| Field Summary | |
|---|---|
static java.lang.String |
CHART_CHANGED_PROPERTY
|
static java.lang.String |
CHART_CONTENT_CHANGED_PROPERTY
|
static java.lang.String |
PROPERTY_HEIGHT
|
static java.lang.String |
PROPERTY_WIDTH
|
| Constructor Summary | |
|---|---|
ChartDisplay()
Creates a new empty ChartDisplay that is initially not
displaying a JFreeChart. |
|
ChartDisplay(JFreeChart chart)
Creates a new ChartDisplay component that is initially displaying
a specific JFreeChart. |
|
| Method Summary | |
|---|---|
JFreeChart |
getChart()
Returns the displayed JFreeChart. |
Extent |
getHeight()
Returns the height of the chart. |
Extent |
getWidth()
Returns the width of the chart. |
void |
setChart(JFreeChart newValue)
Sets the displayed JFreeChart. |
void |
setHeight(Extent newValue)
Sets the height of the chart. |
void |
setWidth(Extent newValue)
Sets the width of the chart. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CHART_CHANGED_PROPERTY
public static final java.lang.String CHART_CONTENT_CHANGED_PROPERTY
public static final java.lang.String PROPERTY_HEIGHT
public static final java.lang.String PROPERTY_WIDTH
| Constructor Detail |
|---|
public ChartDisplay()
ChartDisplay that is initially not
displaying a JFreeChart.
public ChartDisplay(JFreeChart chart)
ChartDisplay component that is initially displaying
a specific JFreeChart.
| Method Detail |
|---|
public JFreeChart getChart()
JFreeChart.
JFreeChartpublic Extent getHeight()
public Extent getWidth()
public void setChart(JFreeChart newValue)
JFreeChart.
param newValue the new JFreeChart to display
public void setHeight(Extent newValue)
newValue - the new heightpublic void setWidth(Extent newValue)
newValue - the new width
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||