public final class Chart2DActionSaveEpsSingletonApacheFop extends Object
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.
Chart2DActionSetCustomGridColor
Modifier and Type | Field and Description |
---|---|
static boolean |
EPS_SUPPORTED
Flag set whenever the proper jar file (apache-xmlgraphics-commons) is in the classpath.
|
Modifier and Type | Method and Description |
---|---|
static Action |
getInstance(Chart2D chart,
String actionName)
Returns the single instance for the given component, potentially creating
it.
|
public static final boolean EPS_SUPPORTED
public static Action getInstance(Chart2D chart, String actionName)
If an instance for the given component had been created the description String is ignored.
chart
- the target the action will work onactionName
- the descriptive String
that will be displayed by
AbstractButton
subclasses that get this
Action
assigned (
AbstractButton.setAction(javax.swing.Action)
).Copyright © 2001 - 2010 LGPL, All Rights Footloose.