com.saic.isd.printscreen
Class PrintScreenAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bycom.saic.isd.printscreen.PrintScreenAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class PrintScreenAction
extends javax.swing.AbstractAction

Provides a action to support printing of generic swing objects.

Version:
$Revision: 1.2 $
Author:
A Rearick (originator), $Author: beckg $ (latest)
See Also:
Serialized Form

Field Summary
static int COPY
           
static int FILE
           
static int PREVIEW
           
static int PRINT
           
 
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
PrintScreenAction(int type, PrintScreenHandler handler)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 
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
 

Field Detail

PRINT

public static final int PRINT
See Also:
Constant Field Values

COPY

public static final int COPY
See Also:
Constant Field Values

FILE

public static final int FILE
See Also:
Constant Field Values

PREVIEW

public static final int PREVIEW
See Also:
Constant Field Values
Constructor Detail

PrintScreenAction

public PrintScreenAction(int type,
                         PrintScreenHandler handler)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)


Copyright © 2002 Gerhard Beck. All rights reserved. Subject to GPL.