cern::laser::guiplatform::printing::PrintDialog Class Reference

Collaboration diagram for cern::laser::guiplatform::printing::PrintDialog:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PrintDialog (java.awt.Frame parent, boolean modal)
String getPrinterName ()
int getNumberOfCopies ()
boolean isTwoSidedPrint ()
boolean isAllPagePrint ()
boolean isRangePagePrint ()
int getRangeFrom ()
int getRangeTo ()
boolean isPrintToFile ()
File getFileToPrint ()
boolean areSettingsOK ()
boolean isLandscape ()

Static Public Member Functions

static void main (String args[])

Package Attributes

boolean settingsCorrect
File fileToPrint

Private Member Functions

void initComponents ()
void printButtonActionPerformed (java.awt.event.ActionEvent evt)
void cancelButtonActionPerformed (java.awt.event.ActionEvent evt)
void numberOfCopiesStateChanged (javax.swing.event.ChangeEvent evt)
void printAllStateChanged (javax.swing.event.ChangeEvent evt)
void buildingNumberKeyReleased (java.awt.event.KeyEvent evt)
void refreshButtonActionPerformed (java.awt.event.ActionEvent evt)
void formWindowOpened (java.awt.event.WindowEvent evt)
void closeDialog (java.awt.event.WindowEvent evt)

Private Attributes

javax.swing.JTextField buildingNumber
javax.swing.JButton cancelButton
javax.swing.ButtonGroup directionGroup
javax.swing.JRadioButton directionLandscape
javax.swing.JRadioButton directionPortrait
javax.swing.JLabel jLabel1
javax.swing.JLabel jLabel2
javax.swing.JLabel jLabel3
javax.swing.JLabel jLabel4
javax.swing.JLabel jLabel5
javax.swing.JLabel jLabel6
javax.swing.JLabel jLabel7
javax.swing.JPanel jPanel1
javax.swing.JSpinner numberOfCopies
javax.swing.JRadioButton printAll
javax.swing.JButton printButton
javax.swing.JRadioButton printRange
javax.swing.JCheckBox printToFile
javax.swing.JCheckBox printTwoSided
javax.swing.JComboBox printersCombo
javax.swing.JTextField rangeFrom
javax.swing.JTextField rangeTo
javax.swing.ButtonGroup rangesGroup
javax.swing.JButton refreshButton

Detailed Description

Author:
woloszyn

Constructor & Destructor Documentation

cern::laser::guiplatform::printing::PrintDialog::PrintDialog ( java.awt.Frame  parent,
boolean  modal 
) [inline]

Creates new form PrintDialog

References fileToPrint, initComponents(), and settingsCorrect.

Referenced by main().


Member Function Documentation

boolean cern::laser::guiplatform::printing::PrintDialog::areSettingsOK (  )  [inline]
void cern::laser::guiplatform::printing::PrintDialog::buildingNumberKeyReleased ( java.awt.event.KeyEvent  evt  )  [inline, private]
void cern::laser::guiplatform::printing::PrintDialog::cancelButtonActionPerformed ( java.awt.event.ActionEvent  evt  )  [inline, private]

References closeDialog().

Referenced by initComponents().

void cern::laser::guiplatform::printing::PrintDialog::closeDialog ( java.awt.event.WindowEvent  evt  )  [inline, private]
void cern::laser::guiplatform::printing::PrintDialog::formWindowOpened ( java.awt.event.WindowEvent  evt  )  [inline, private]

References buildingNumber, numberOfCopies, and printersCombo.

Referenced by initComponents().

File cern::laser::guiplatform::printing::PrintDialog::getFileToPrint (  )  [inline]
int cern::laser::guiplatform::printing::PrintDialog::getNumberOfCopies (  )  [inline]
String cern::laser::guiplatform::printing::PrintDialog::getPrinterName (  )  [inline]
int cern::laser::guiplatform::printing::PrintDialog::getRangeFrom (  )  [inline]
int cern::laser::guiplatform::printing::PrintDialog::getRangeTo (  )  [inline]
void cern::laser::guiplatform::printing::PrintDialog::initComponents (  )  [inline, private]
boolean cern::laser::guiplatform::printing::PrintDialog::isAllPagePrint (  )  [inline]
boolean cern::laser::guiplatform::printing::PrintDialog::isLandscape (  )  [inline]
boolean cern::laser::guiplatform::printing::PrintDialog::isPrintToFile (  )  [inline]
boolean cern::laser::guiplatform::printing::PrintDialog::isRangePagePrint (  )  [inline]
boolean cern::laser::guiplatform::printing::PrintDialog::isTwoSidedPrint (  )  [inline]
static void cern::laser::guiplatform::printing::PrintDialog::main ( String  args[]  )  [inline, static]
Parameters:
args the command line arguments

References PrintDialog().

void cern::laser::guiplatform::printing::PrintDialog::numberOfCopiesStateChanged ( javax.swing.event.ChangeEvent  evt  )  [inline, private]

References numberOfCopies.

Referenced by initComponents().

void cern::laser::guiplatform::printing::PrintDialog::printAllStateChanged ( javax.swing.event.ChangeEvent  evt  )  [inline, private]

References printAll, rangeFrom, and rangeTo.

Referenced by initComponents().

void cern::laser::guiplatform::printing::PrintDialog::printButtonActionPerformed ( java.awt.event.ActionEvent  evt  )  [inline, private]
void cern::laser::guiplatform::printing::PrintDialog::refreshButtonActionPerformed ( java.awt.event.ActionEvent  evt  )  [inline, private]

Member Data Documentation

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents(), and isLandscape().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents(), and isRangePagePrint().

Referenced by initComponents(), and isPrintToFile().

Referenced by initComponents(), and isTwoSidedPrint().

Referenced by initComponents().

Referenced by initComponents().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2