java.lang.Object
javax.swing.AbstractAction
org.jfree.chart3d.graphics3d.swing.ExportToSVGAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class ExportToSVGAction extends AbstractAction
An action that handles saving the content of a panel to a Scalable Vector
Graphics (SVG) file using JFreeSVG.
NOTE: This class is serializable, but the serialization format is subject to change in future releases and should not be relied upon for persisting instances of this class.
NOTE: This class is serializable, but the serialization format is subject to change in future releases and should not be relied upon for persisting instances of this class.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
Constructors Constructor Description ExportToSVGAction(Panel3D panel)
Creates a new action. -
Method Summary
Modifier and Type Method Description void
actionPerformed(ActionEvent e)
Writes the content of the panel to an SVG file, using JFreeSVG.Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ExportToSVGAction
Creates a new action.- Parameters:
panel
- the panel that the action applies to (null
not permitted).
-
-
Method Details
-
actionPerformed
Writes the content of the panel to an SVG file, using JFreeSVG.- Parameters:
e
- the event.
-