public class

ChartEditorManager

extends Object
java.lang.Object
   ↳ org.jfree.chart.editor.ChartEditorManager

Class Overview

The central point for obtaining 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).

Summary

Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static ChartEditor getChartEditor (JFreeChart chart)

Returns a component that can be used to edit the given chart.

Parameters
chart the chart.
Returns
  • The chart editor.

public static ChartEditorFactory getChartEditorFactory ()

Returns the current factory.

Returns
  • The current factory (never null).

public static void setChartEditorFactory (ChartEditorFactory f)

Sets the chart editor factory.

Parameters
f the new factory (null not permitted).