public class ChartEditorManager extends java.lang.Object
ChartEditor
instances for editing
charts. Right now, the API is minimal - the plan is to extend this class
to provide customisation options for chart editors (for example, make some
editor items read-only).Modifier and Type | Method and Description |
---|---|
static ChartEditor |
getChartEditor(JFreeChart chart)
Returns a component that can be used to edit the given chart.
|
static ChartEditorFactory |
getChartEditorFactory()
Returns the current factory.
|
static void |
setChartEditorFactory(ChartEditorFactory f)
Sets the chart editor factory.
|
public static ChartEditorFactory getChartEditorFactory()
null
).public static void setChartEditorFactory(ChartEditorFactory f)
f
- the new factory (null
not permitted).public static ChartEditor getChartEditor(JFreeChart chart)
chart
- the chart.