org.freedesktop.dbus.viewer
abstract class TabbedSaveAction extends AbstractAction implements Iterable<TextFile>
Field Summary | |
---|---|
protected JTabbedPane | tabbedPane |
Constructor Summary | |
---|---|
protected | TabbedSaveAction(JTabbedPane tabbedPane) |
protected | TabbedSaveAction(JTabbedPane tabbedPane, String name) |
Method Summary | |
---|---|
void | actionPerformed(ActionEvent e) |
protected String | getFileName(int index) Get the file name for the supplied index |
protected TextFile | getTextFile(int index) Get the text file object associated with the supplied index |
Parameters: index The tabbed pane index
Returns: The file name for the referenced tab
Parameters: index The tabbed pane index
Returns: The text file object for the referenced tab