gov.lbl.genome.gui.action
Class PrintAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by gov.lbl.genome.gui.action.VAbstractAction
          extended by gov.lbl.genome.gui.action.PrintAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable, java.util.EventListener, javax.swing.Action

public class PrintAction
extends VAbstractAction

Title: Print

Description: Print a picture

Copyright: Copyright (c) 2002 Ernest Orlando Lawrence Berkeley National Laboratory

Company: LBNL

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.lbl.genome.gui.action.VAbstractAction
action, actionIcon, actionThread, numberOfActions, param, va
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
PrintAction(VistaApp vapp)
          PrintAction
PrintAction(VistaApp vapp, java.lang.String name)
          PrintAction
 
Method Summary
 void run()
          Show standatd dialogs window with printer and paper settings This must be done to initialise properly printJob There are some problems with printing from an applet in java 1.5
 
Methods inherited from class gov.lbl.genome.gui.action.VAbstractAction
actionPerformed
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintAction

public PrintAction(VistaApp vapp)
PrintAction

Parameters:
vapp - VistaApp

PrintAction

public PrintAction(VistaApp vapp,
                   java.lang.String name)
PrintAction

Parameters:
vapp - VistaApp
name - String
Method Detail

run

public void run()
Show standatd dialogs window with printer and paper settings This must be done to initialise properly printJob There are some problems with printing from an applet in java 1.5

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class VAbstractAction
See Also:
DisplayPanel.drawContent(Graphics,PageFormat)