public class TextEditor.ExportImageAction extends javax.swing.AbstractAction
| Constructor and Description |
|---|
ExportImageAction(java.lang.String formatName)
Create a new action to export an image.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Export an image.
|
public ExportImageAction(java.lang.String formatName)
formatName - The name of the format, currently PNG and
GIF are supported.public void actionPerformed(java.awt.event.ActionEvent e)
e - The ActionEvent that invoked this action.