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,
                     NewRecordPanel newRecordPanel);

  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, NewRecordPanel)

Synopsis: public PrintAction(org.kaiwitte.workbench.ui.UIConfig config, 
                             org.kaiwitte.workbench.ui.view.NewRecordPanel \
newRecordPanel);

Parameters

newRecordPanel

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.