|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saic.isd.printscreen.PrintScreenHandler
Superclass designed to construct and hold an internal representation of the object to be printed.
Field Summary | |
protected java.awt.Component |
myComponentToPrint
|
protected SimpleFileFilter |
myFilter
|
protected javax.swing.Icon |
myIcon
|
protected java.lang.String |
myLabel
|
protected java.lang.String |
myShortDescription
|
Constructor Summary | |
protected |
PrintScreenHandler(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 | |
abstract void |
copy()
Create an internal representation of the screen and then copy that internal representation to the clipboard. |
abstract void |
file()
Create an internal representation of the screen and then preserver that internal representation in a file. |
javax.swing.Icon |
getIcon()
May return null. |
java.lang.String |
getLabel()
Must not return null. |
java.lang.String |
getShortDescription()
May return null. |
abstract void |
preview()
Create an internal representation of the screen and then show that in a window. |
abstract 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 |
Field Detail |
protected java.awt.Component myComponentToPrint
protected java.lang.String myLabel
protected java.lang.String myShortDescription
protected javax.swing.Icon myIcon
protected SimpleFileFilter myFilter
Constructor Detail |
protected PrintScreenHandler(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 Detail |
public java.lang.String getLabel()
public abstract void copy()
public abstract void print()
public abstract void preview()
public abstract void file()
public java.lang.String getShortDescription()
public javax.swing.Icon getIcon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |