|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.chart.AbstractNode
com.zfqjava.chart.Chart
com.zfqjava.chart.BasicChart
com.zfqjava.chart.XYChart
public abstract class XYChart
XYChart provides a XY chart.
| Field Summary | |
|---|---|
static int |
HORIZONTAL
Horizontal orientation. |
static int |
VERTICAL
Vertical orientation. |
| Fields inherited from class com.zfqjava.chart.Chart |
|---|
listenerList |
| Constructor Summary | |
|---|---|
XYChart()
|
|
XYChart(BasicChartModel model)
|
|
XYChart(BasicChartModel model,
int orientation)
|
|
| Method Summary | |
|---|---|
void |
chartChanged(BasicChartModelEvent e)
Invoked after the category has been changed. |
protected GridNode |
createGridNode()
Creates the grid node. |
protected AxisNode |
createXAxisNode()
Creates the x axis node. |
protected TextNode |
createXLabelNode()
Creates the x label node. |
protected AxisNode |
createYAxisNode()
Creates the y axis node. |
protected TextNode |
createYLabelNode()
Creates the y label node. |
GridNode |
getGridNode()
Returns the grid node. |
int |
getOrientation()
Returns the orientation. |
AxisNode |
getXAxisNode()
Returns the x axis node. |
String |
getXLabel()
Returns the x axis label. |
TextNode |
getXLabelNode()
Returns the x label node. |
AxisNode |
getYAxisNode()
Returns the y axis node. |
String |
getYLabel()
Returns the y axis label. |
TextNode |
getYLabelNode()
Returns the y label node. |
void |
setOrientation(int orientation)
Sets the orientation. |
void |
setXLabel(String xlabel)
Sets the x axis label. |
void |
setYLabel(String ylabel)
Sets the y axis label. |
| Methods inherited from class com.zfqjava.chart.BasicChart |
|---|
addCategory, addCategory, addSeries, addSeries, create, create, createLegendNode, createTitleNode, drawShape, getCategoryCount, getCategoryName, getLegendNode, getModel, getSeriesCount, getSeriesName, getTitle, getTitleNode, getValue, indexOfCategoryName, indexOfSeriesName, removeCategory, removeSeries, setCategoryName, setModel, setSeriesName, setTitle, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int HORIZONTAL
public static final int VERTICAL
| Constructor Detail |
|---|
public XYChart()
public XYChart(BasicChartModel model)
public XYChart(BasicChartModel model,
int orientation)
| Method Detail |
|---|
public void chartChanged(BasicChartModelEvent e)
BasicChartModelListener
chartChanged in interface BasicChartModelListenerchartChanged in class BasicChartprotected AxisNode createXAxisNode()
protected AxisNode createYAxisNode()
protected TextNode createXLabelNode()
protected TextNode createYLabelNode()
protected GridNode createGridNode()
public int getOrientation()
setOrientation(int)public void setOrientation(int orientation)
orientation - the orientationgetOrientation()public void setXLabel(String xlabel)
xlabel - the x axis labelpublic String getXLabel()
public void setYLabel(String ylabel)
ylabel - the y axis labelpublic String getYLabel()
public AxisNode getXAxisNode()
public AxisNode getYAxisNode()
public TextNode getXLabelNode()
public TextNode getYLabelNode()
public GridNode getGridNode()
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||