info.monitorenter.gui.chart.events
Class Chart2DActionSaveEpsSingletonApacheFop

java.lang.Object
  extended by info.monitorenter.gui.chart.events.Chart2DActionSaveEpsSingletonApacheFop

public final class Chart2DActionSaveEpsSingletonApacheFop
extends java.lang.Object

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:
Chart2DActionSetCustomGridColor

Field Summary
static boolean EPS_SUPPORTED
          Flag set whenever the proper jar file (apache-xmlgraphics-commons) is in the classpath.
 
Method Summary
static javax.swing.Action getInstance(Chart2D chart, java.lang.String actionName)
          Returns the single instance for the given component, potentially creating it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EPS_SUPPORTED

public static final boolean EPS_SUPPORTED
Flag set whenever the proper jar file (apache-xmlgraphics-commons) is in the classpath.

Method Detail

getInstance

public static javax.swing.Action getInstance(Chart2D chart,
                                             java.lang.String actionName)
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 on
actionName - the descriptive String that will be displayed by AbstractButton subclasses that get this Action assigned ( AbstractButton.setAction(javax.swing.Action)).
Returns:
the single instance for the given component.


Copyright © 2001 - 2010 LGPL, All Rights Footloose.