schmitzm.jfree.feature
Class FeatureChartPanel
java.lang.Object
org.jfree.chart.ChartPanel
schmitzm.jfree.chart.SelectableChartPanel
schmitzm.jfree.feature.FeatureChartPanel
public class FeatureChartPanel
- extends SelectableChartPanel
This panel is a special SelectableChartPanel
which uses
special DatasetSelectionModels
to
connect the chart data with features.
- Version:
- 1.0
- Author:
- Martin Schmitz
Constructor Summary |
FeatureChartPanel(JFreeChart chart)
Creates a new chart panel. |
FeatureChartPanel(JFreeChart chart,
boolean useBuffer)
Creates a new chart panel. |
FeatureChartPanel(JFreeChart chart,
boolean properties,
boolean save,
boolean print,
boolean zoom,
boolean tooltips)
Creates a new chart panel. |
FeatureChartPanel(JFreeChart chart,
int width,
int height,
int minimumDrawWidth,
int minimumDrawHeight,
int maximumDrawWidth,
int maximumDrawHeight,
boolean useBuffer,
boolean properties,
boolean save,
boolean print,
boolean zoom,
boolean tooltips)
Creates a new chart panel. |
Methods inherited from class schmitzm.jfree.chart.SelectableChartPanel |
applyRendererPropertiesToSelectionRenderer, chartChanged, getWindowSelectionMode, init, mouseDragged, mouseMoved, refresh, setChart, setWindowSelectionMode, updateSelectionRenderers, updateStatesForWindowSelectionMode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureChartPanel
public FeatureChartPanel(JFreeChart chart)
- Creates a new chart panel.
FeatureChartPanel
public FeatureChartPanel(JFreeChart chart,
boolean useBuffer)
- Creates a new chart panel.
FeatureChartPanel
public FeatureChartPanel(JFreeChart chart,
boolean properties,
boolean save,
boolean print,
boolean zoom,
boolean tooltips)
- Creates a new chart panel.
FeatureChartPanel
public FeatureChartPanel(JFreeChart chart,
int width,
int height,
int minimumDrawWidth,
int minimumDrawHeight,
int maximumDrawWidth,
int maximumDrawHeight,
boolean useBuffer,
boolean properties,
boolean save,
boolean print,
boolean zoom,
boolean tooltips)
- Creates a new chart panel.
createSelectionRenderer
protected SelectionRenderer<?> createSelectionRenderer(Dataset dataset)
- Creates an adequate selection renderer for a dataset. If provided this
method returns a renderer which uses a
FeatureDatasetSelectionModel
for the dataset. Otherwise the super method is used.
- Overrides:
createSelectionRenderer
in class SelectableChartPanel
- Parameters:
dataset
- a dataset
- Returns:
- besides
SelectionRenderer
the returned object must be
an AbstractRenderer