public class MatrixChartRenderer extends Object implements MatrixRenderer
| Modifier and Type | Field and Description |
|---|---|
protected org.jfree.chart.JFreeChart |
chart |
protected JComboBox |
chartRendererComboBox |
| Constructor and Description |
|---|
MatrixChartRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected org.jfree.chart.axis.CategoryAxis |
getCategoryAxis(MatrixND matrix)
Abscisse (nom + valeur à la verticale).
|
protected org.jfree.data.category.CategoryDataset |
getCategoryDataset(MatrixND matrix)
JFreechart data model.
|
protected org.jfree.chart.plot.CategoryPlot |
getCategoryPlot(MatrixND matrix)
Category plot.
|
protected org.jfree.chart.ChartPanel |
getChartPanel(org.jfree.chart.JFreeChart chart)
Build jfreechart panel.
|
protected JComboBox |
getChartRendererComboBox()
Chart renderers combo box.
|
Component |
getComponent(MatrixND matrix)
Renderer component for matrix.
|
Icon |
getIcon()
Renderer icon (used in
MatrixRendererSolution.ICON rendering). |
protected org.jfree.chart.JFreeChart |
getJFreeChart(MatrixND matrix)
Build chart.
|
protected JPanel |
getJFreeChartPanel(MatrixND matrix) |
String |
getName()
Renderer name (used in
MatrixRendererSolution.RADIO_BUTTON rendering). |
protected org.jfree.chart.axis.ValueAxis |
getValueAxis(MatrixND matrix)
Ordonnées (valeur seule).
|
protected JComboBox chartRendererComboBox
protected org.jfree.chart.JFreeChart chart
public Component getComponent(MatrixND matrix)
MatrixRenderergetComponent in interface MatrixRenderermatrix - matrix to display (can be null with default rendering support)MatrixViewerPanel.addMatrixRenderer(MatrixRenderer, boolean)public Icon getIcon()
MatrixRendererMatrixRendererSolution.ICON rendering).getIcon in interface MatrixRendererpublic String getName()
MatrixRendererMatrixRendererSolution.RADIO_BUTTON rendering).getName in interface MatrixRendererprotected JComboBox getChartRendererComboBox()
CategoryItemRendererprotected org.jfree.data.category.CategoryDataset getCategoryDataset(MatrixND matrix)
matrix - CategoryDatasetprotected org.jfree.chart.axis.CategoryAxis getCategoryAxis(MatrixND matrix)
matrix - protected org.jfree.chart.axis.ValueAxis getValueAxis(MatrixND matrix)
matrix - protected org.jfree.chart.plot.CategoryPlot getCategoryPlot(MatrixND matrix)
matrix - protected org.jfree.chart.JFreeChart getJFreeChart(MatrixND matrix)
protected org.jfree.chart.ChartPanel getChartPanel(org.jfree.chart.JFreeChart chart)
chart - chart to renderCopyright © 2004-2012 CodeLutin. All Rights Reserved.