
Public Member Functions | |
| DefaultPrinterDialog (java.awt.Frame parent, boolean modal) | |
Static Public Member Functions | |
| static String | getDefaultPrinterName () |
| static void | main (String args[]) |
Static Protected Attributes | |
| static Logger | logger = LogFactory.getLogger(DefaultPrinterDialog.class.getName()) |
Private Member Functions | |
| void | initComponents () |
| void | saveButtonActionPerformed (java.awt.event.ActionEvent evt) |
| void | cancelButtonActionPerformed (java.awt.event.ActionEvent evt) |
| void | formWindowOpened (java.awt.event.WindowEvent evt) |
| void | closeDialog (java.awt.event.WindowEvent evt) |
Private Attributes | |
| javax.swing.JButton | cancelButton |
| javax.swing.JTextField | defaultPrinterTextField |
| javax.swing.JLabel | jLabel1 |
| javax.swing.JLabel | jLabel2 |
| javax.swing.JButton | saveButton |
| cern::laser::guiplatform::printing::DefaultPrinterDialog::DefaultPrinterDialog | ( | java.awt.Frame | parent, | |
| boolean | modal | |||
| ) | [inline] |
| void cern::laser::guiplatform::printing::DefaultPrinterDialog::cancelButtonActionPerformed | ( | java.awt.event.ActionEvent | evt | ) | [inline, private] |
References closeDialog().
Referenced by initComponents().
| void cern::laser::guiplatform::printing::DefaultPrinterDialog::closeDialog | ( | java.awt.event.WindowEvent | evt | ) | [inline, private] |
Closes the dialog
Referenced by cancelButtonActionPerformed(), formWindowOpened(), initComponents(), and saveButtonActionPerformed().
| void cern::laser::guiplatform::printing::DefaultPrinterDialog::formWindowOpened | ( | java.awt.event.WindowEvent | evt | ) | [inline, private] |
References closeDialog(), defaultPrinterTextField, cern::laser::console::User::getDefaultPrinter(), and logger.
Referenced by initComponents().
| static String cern::laser::guiplatform::printing::DefaultPrinterDialog::getDefaultPrinterName | ( | ) | [inline, static] |
References cern::laser::console::User::getDefaultPrinter(), and logger.
| void cern::laser::guiplatform::printing::DefaultPrinterDialog::initComponents | ( | ) | [inline, private] |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
References cancelButton, cancelButtonActionPerformed(), closeDialog(), defaultPrinterTextField, formWindowOpened(), jLabel1, jLabel2, saveButton, and saveButtonActionPerformed().
Referenced by DefaultPrinterDialog().
| static void cern::laser::guiplatform::printing::DefaultPrinterDialog::main | ( | String | args[] | ) | [inline, static] |
| args | the command line arguments |
References DefaultPrinterDialog().
| void cern::laser::guiplatform::printing::DefaultPrinterDialog::saveButtonActionPerformed | ( | java.awt.event.ActionEvent | evt | ) | [inline, private] |
References closeDialog(), defaultPrinterTextField, logger, and cern::laser::console::User::setDefaultPrinter().
Referenced by initComponents().
javax.swing.JButton cern::laser::guiplatform::printing::DefaultPrinterDialog::cancelButton [private] |
Referenced by initComponents().
javax.swing.JTextField cern::laser::guiplatform::printing::DefaultPrinterDialog::defaultPrinterTextField [private] |
Referenced by formWindowOpened(), initComponents(), and saveButtonActionPerformed().
javax.swing.JLabel cern::laser::guiplatform::printing::DefaultPrinterDialog::jLabel1 [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::printing::DefaultPrinterDialog::jLabel2 [private] |
Referenced by initComponents().
Logger cern::laser::guiplatform::printing::DefaultPrinterDialog::logger = LogFactory.getLogger(DefaultPrinterDialog.class.getName()) [static, protected] |
logger
Referenced by formWindowOpened(), getDefaultPrinterName(), and saveButtonActionPerformed().
javax.swing.JButton cern::laser::guiplatform::printing::DefaultPrinterDialog::saveButton [private] |
Referenced by initComponents().
1.6.2