Class Chart2DActionSaveEpsSingletonApacheFop
java.lang.Object
info.monitorenter.gui.chart.events.Chart2DActionSaveEpsSingletonApacheFop
Singleton
Action that saves the current chart to an encapsulated
postscript file at the the location specified by showing a modal file chooser
save dialog.
Only one instance per target component may exist.
- Version:
- $Revision: 1.4 $
- Author:
- Achim Westermann
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanFlag set whenever the proper jar file (apache-xmlgraphics-commons) is in the classpath. -
Method Summary
Modifier and TypeMethodDescriptionstatic ActiongetInstance(Chart2D chart, String actionName) Returns the single instance for the given component, potentially creating it.
-
Field Details
-
EPS_SUPPORTED
public static final boolean EPS_SUPPORTEDFlag set whenever the proper jar file (apache-xmlgraphics-commons) is in the classpath.
-
-
Method Details
-
getInstance
Returns the single instance for the given component, potentially creating it.If an instance for the given component had been created the description String is ignored.
- Parameters:
chart- the target the action will work onactionName- the descriptiveStringthat will be displayed byAbstractButtonsubclasses that get thisActionassigned (AbstractButton.setAction(javax.swing.Action)).- Returns:
- the single instance for the given component.
-