org.pdfsam.plugin.merge.actions
Class SaveListAsXmlAction
java.lang.Object
javax.swing.AbstractAction
org.pdfsam.plugin.merge.actions.SaveListAsXmlAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class SaveListAsXmlAction
- extends javax.swing.AbstractAction
Saves the selection list an xml file that can be used as input for the pdfsam-console
- Author:
- Andrea Vacondio
- See Also:
- Serialized Form
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 |
SaveListAsXmlAction(org.pdfsam.guiclient.commons.panels.JPdfSelectionPanel selectionPanel)
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
writeXmlFile(org.pdfsam.guiclient.dto.PdfSelectionTableItem[] rows,
java.io.File selectedFile)
Save the xml file |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaveListAsXmlAction
public SaveListAsXmlAction(org.pdfsam.guiclient.commons.panels.JPdfSelectionPanel selectionPanel)
- Parameters:
selectionPanel
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
writeXmlFile
public void writeXmlFile(org.pdfsam.guiclient.dto.PdfSelectionTableItem[] rows,
java.io.File selectedFile)
throws java.lang.Exception
- Save the xml file
- Parameters:
rows
- selectedFile
-
- Throws:
java.lang.Exception