|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.ri.common.print.PrintUtilities
This is final class containing some static utility methods for printing.
| Method Summary | |
static void |
adjustScale(StormPageFormat stormpageformat,
double layout_width)
Adjusts scale factor in stormpageformat if option scale to fit in stormpageformat is true. |
static PrintHelper |
getPrintHelper(Viewport viewport,
StormPageFormat stormpageformat)
Creates instance of PrintHelper based on the existence of java.awt.JobAttributes. |
static boolean |
isFrameset(Viewport viewport)
Checks document associated with given viewport if
it contains frameset with child frames. |
static void |
refreshPageDecoration(Viewport viewport,
StormPageFormat stormPageFormat)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void adjustScale(StormPageFormat stormpageformat,
double layout_width)
layout_width - original layout width
public static PrintHelper getPrintHelper(Viewport viewport,
StormPageFormat stormpageformat)
java.awt.JobAttributes.
java.awt.JobAttributes has been added to SUN JVM since 1.3.
viewport - stormpageformat -
public static boolean isFrameset(Viewport viewport)
viewport if
it contains frameset with child frames.
viewport -
public static void refreshPageDecoration(Viewport viewport,
StormPageFormat stormPageFormat)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||