| javax.swing.JDialog jimm.datavision.gui.ExportWin
ExportWin | public class ExportWin extends JDialog implements ActionListener(Code) | | This dialog lets the user export report results using one of the
layout engines.
author: Jim Menard, jimm@io.com |
ExportWin | public ExportWin(Frame owner, Report report)(Code) | | Constructor.
Parameters: owner - the parent window to which this dialog belongs Parameters: report - the report |
actionPerformed | public void actionPerformed(ActionEvent e)(Code) | | Handles the OK and Cancel buttons.
Parameters: e - action event |
buildButtonPanel | protected JPanel buildButtonPanel()(Code) | | Builds and returns a panel containing the OK and Cancel
a panel |
buildWindow | protected void buildWindow()(Code) | | Builds the window contents.
|
runReport | protected void runReport(String choice)(Code) | | Given the user's choice of layout engine, ask user for output file
and run the report.
Parameters: choice - the combo box string that the user selected |
selectFile | protected String selectFile(String extension)(Code) | | Lets user select output file. I'd like to be able to give a default
file extension (thus the argument), but that will have to come later.
Parameters: extension - default file name extension (unused) the path to the selected file |
|
|