Class PrintAction

Prints to paper based on the template file and a org.kaiwitte.workbench.data.MetaRecord.

Synopsis

 public class PrintAction extends AbstractAction {
  public PrintAction(UIConfig config,
                     MetaRecordCreator metaRecordCreator,
                     PrintTemplateCreator templates,
                     boolean closeDialog,
                     JDialog dialog);

  public void actionPerformed(ActionEvent e);
}

Methods inherited from javax.swing.AbstractAction: addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled

Methods inherited from java.lang.Object: equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait

Inheritance Path. java.lang.Object-> javax.swing.AbstractAction-> org.kaiwitte.workbench.ui.controller.PrintAction

PrintAction(UIConfig, MetaRecordCreator, PrintTemplateCreator, boolean, JDialog)

Synopsis: public PrintAction(org.kaiwitte.workbench.ui.UIConfig config, 
                             org.kaiwitte.workbench.ui.view.MetaRecordCreat\
or metaRecordCreator, 
                             org.kaiwitte.workbench.printing.PrintTemplateC\
reator templates, 
                             boolean closeDialog, 
                             javax.swing.JDialog dialog);

Parameters

metaRecordCreator

the panel with the org.kaiwitte.workbench.data.MetaRecord to be printed

config

the UIConfig of the runtime context

Creates a new instance.

actionPerformed(ActionEvent)

Synopsis: public void actionPerformed(java.awt.event.ActionEvent e);

Parameters

e

not used

Performs the printing.