|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saic.isd.printscreen.PrintScreenFactory
Produces basic print screen AbstractActions and menus based on those abstract actions.
The constants indicate the types of AbstractActions available.
The menus are based on the actions. You may use the actions directly to build your own menu structure if the default menu structure does not meet your needs.
Field Summary | |
static int |
COPY_AS_HTML
|
static int |
COPY_AS_IMAGE
|
static int |
COPY_AS_TEXT
|
static int |
COPY_AS_XML
|
static int |
PREVIEW_AS_HTML
|
static int |
PREVIEW_AS_IMAGE
|
static int |
PREVIEW_AS_TEXT
|
static int |
PREVIEW_AS_XML
|
static int |
PRINT_AS_HTML
|
static int |
PRINT_AS_IMAGE
|
static int |
PRINT_AS_TEXT
|
static int |
PRINT_AS_XML
|
static int |
SAVE_AS_HTML
|
static int |
SAVE_AS_IMAGE
|
static int |
SAVE_AS_TEXT
|
static int |
SAVE_AS_XML
|
Constructor Summary | |
PrintScreenFactory(java.awt.Window window)
Creates a set of AbstractActions for the window passed in. |
Method Summary | |
javax.swing.AbstractAction |
getAction(int type)
Return an AbstractAction with the indicated properties. |
javax.swing.JMenu |
makeScreenCopyJMenu()
Makes a copy menu to save the screen image of the window as text, html, xml, or an image. |
java.awt.Menu |
makeScreenCopyMenu()
Makes a copy menu to save the screen image of the window as text, html, xml, or an image. |
javax.swing.JMenu |
makeScreenPreviewJMenu()
Makes a print menu to save the screen image of the window as text, html, xml, or an image. |
java.awt.Menu |
makeScreenPreviewMenu()
Makes a print menu to save the screen image of the window as text, html, xml, or an image. |
javax.swing.JMenu |
makeScreenPrintJMenu()
Makes a print menu to save the screen image of the window as text, html, xml, or an image. |
java.awt.Menu |
makeScreenPrintMenu()
Makes a print menu to save the screen image of the window as text, html, xml, or an image. |
javax.swing.JMenu |
makeScreenSaveJMenu()
Makes a save menu to save the screen image of the window as text, html, xml, or an image. |
java.awt.Menu |
makeScreenSaveMenu()
Makes a save menu to save the screen image of the window as text, html, xml, or an image. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int PRINT_AS_TEXT
public static final int PRINT_AS_HTML
public static final int PRINT_AS_XML
public static final int PRINT_AS_IMAGE
public static final int SAVE_AS_TEXT
public static final int SAVE_AS_HTML
public static final int SAVE_AS_XML
public static final int SAVE_AS_IMAGE
public static final int COPY_AS_TEXT
public static final int COPY_AS_HTML
public static final int COPY_AS_XML
public static final int COPY_AS_IMAGE
public static final int PREVIEW_AS_TEXT
public static final int PREVIEW_AS_HTML
public static final int PREVIEW_AS_XML
public static final int PREVIEW_AS_IMAGE
Constructor Detail |
public PrintScreenFactory(java.awt.Window window)
copy, save, and print.
window
- Window needing to be printedMethod Detail |
public javax.swing.JMenu makeScreenSaveJMenu()
public javax.swing.JMenu makeScreenPrintJMenu()
public javax.swing.JMenu makeScreenPreviewJMenu()
public javax.swing.JMenu makeScreenCopyJMenu()
public java.awt.Menu makeScreenSaveMenu()
public java.awt.Menu makeScreenPrintMenu()
public java.awt.Menu makeScreenPreviewMenu()
public java.awt.Menu makeScreenCopyMenu()
public javax.swing.AbstractAction getAction(int type)
type
- One of the constants of this class indicating what
action you wish the action to have.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |