com.ibm.richtext.print
Class PrintingUtils

java.lang.Object
  |
  +--com.ibm.richtext.print.PrintingUtils

public final class PrintingUtils
extends java.lang.Object

PrintingUtils contains a static method for printing styled text.

See Also:
MConstText

Method Summary
static void userPrintText(MConstText text, AttributeMap defaultStyles, java.awt.Frame frame, java.lang.String jobTitle)
          Print the given text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

userPrintText

public static void userPrintText(MConstText text,
                                 AttributeMap defaultStyles,
                                 java.awt.Frame frame,
                                 java.lang.String jobTitle)
Print the given text. A Print dialog is presented to the user; unless the user cancels, the text is printed.
Parameters:
text - the text to print
defaultStyles - default values for unspecified attributes
frame - the parent of the Print dialog
jobTitle - the title of the PrintJob


Copyright (c) 1998-2000 IBM Corporation and others.