jsynoptic.plugins.jfreechart
Class JFreeChartPlugin
java.lang.Object
jsynoptic.base.Plugin
jsynoptic.plugins.jfreechart.JFreeChartPlugin
public class JFreeChartPlugin
- extends Plugin
This plugin brings in shapes from the JFreeChart project.
Method Summary |
java.lang.String |
about()
The information returned here will be displayed in the about box. |
AbstractShape |
createShape(java.lang.String name,
DiagramComponent diagram)
The plugin is asked to create a new shape for one of the name it provided
with getShapes(). |
java.lang.String[] |
getShapes()
Shape factory: this plugin may bring its own shapes to put in the shape
list. |
Methods inherited from class jsynoptic.base.Plugin |
addPluginHashMap, createSource, exit, getDataSourceIcons, getFileFilters, getHelp, getOptionPanelForFilter, getShapeName, getShapesMap, getSources, getTemplates, load, newComponent, newDesktopComponent, newSourceComponent, newSourceComponent, processDataSourceCollection, processFile, processSynoptic, setMenu, setMenu, setToolBarItem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resources
public static java.util.ResourceBundle resources
providedComponents
public static final java.lang.String[] providedComponents
JFreeChartPlugin
public JFreeChartPlugin()
getShapes
public java.lang.String[] getShapes()
- Description copied from class:
Plugin
- Shape factory: this plugin may bring its own shapes to put in the shape
list. It will then be asked to create a new shape when requested. As an
example, the plot is a basic shape provided with JSynoptic.
- Overrides:
getShapes
in class Plugin
- Returns:
- An array of shape names, or null if this plugin does not provide
any shape.
createShape
public AbstractShape createShape(java.lang.String name,
DiagramComponent diagram)
- Description copied from class:
Plugin
- The plugin is asked to create a new shape for one of the name it provided
with getShapes(). Note that the newly created shape will be inserted in a
diagram set up with an ActionPopup popup menu. Thus, it may implement
JSynoptic ContextualActionProvider interface to interact with the user.
- Overrides:
createShape
in class Plugin
- Parameters:
name
- The name of the shape to create.diagram
- The diagram this shape will be inserted into.
about
public java.lang.String about()
- Description copied from class:
Plugin
- The information returned here will be displayed in the about box. You
should return an HTML 3.2 text content. This text will be included in a
- tag. Returning null is permitted, and disables completely this
plugin information. Default is to use the class name, without the package
prefix.
- Overrides:
about
in class Plugin
- Returns:
- the information about this plugin, including authors, license,
etc..