com.saic.isd.printscreen
Class ImageHandler
java.lang.Object
com.saic.isd.printscreen.PrintScreenHandler
com.saic.isd.printscreen.ImageHandler
- public class ImageHandler
- extends PrintScreenHandler
Provides a action to support printing of generic swing objects.
- Version:
- $Revision: 1.2 $
- Author:
- A Rearick (originator), $Author: beckg $ (latest)
Constructor Summary |
protected |
ImageHandler(java.awt.Window window)
|
protected |
ImageHandler(java.awt.Window window,
java.lang.String label,
java.lang.String shortDescription,
javax.swing.Icon icon,
java.lang.String extension,
java.lang.String description)
|
Method Summary |
void |
copy()
Create an internal representation of the screen
and then copy that internal representation to the clipboard. |
void |
file()
Create an internal representation of the screen
and then preserver that internal representation in a file. |
void |
preview()
Create an internal representation of the screen
and then show that in a window. |
void |
print()
Create an internal representation of the screen
and then print that internal representation to a printer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageHandler
protected ImageHandler(java.awt.Window window)
ImageHandler
protected ImageHandler(java.awt.Window window,
java.lang.String label,
java.lang.String shortDescription,
javax.swing.Icon icon,
java.lang.String extension,
java.lang.String description)
copy
public void copy()
- Description copied from class:
PrintScreenHandler
- Create an internal representation of the screen
and then copy that internal representation to the clipboard.
- Specified by:
copy
in class PrintScreenHandler
file
public void file()
- Description copied from class:
PrintScreenHandler
- Create an internal representation of the screen
and then preserver that internal representation in a file.
- Specified by:
file
in class PrintScreenHandler
print
public void print()
- Description copied from class:
PrintScreenHandler
- Create an internal representation of the screen
and then print that internal representation to a printer.
- Specified by:
print
in class PrintScreenHandler
preview
public void preview()
- Description copied from class:
PrintScreenHandler
- Create an internal representation of the screen
and then show that in a window.
- Specified by:
preview
in class PrintScreenHandler
Copyright © 2002 Gerhard Beck. All rights reserved. Subject to GPL.