Class AlignPrintExample


  • public class AlignPrintExample
    extends java.lang.Object
    Prints the contents of TutorialExample2, but centered horizontally and vertically on the page.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Print createPrint()  
      static void main​(java.lang.String[] args)
      Prints the BreakPrintExample to the default printer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AlignPrintExample

        public AlignPrintExample()
    • Method Detail

      • createPrint

        public static Print createPrint()
      • main

        public static void main​(java.lang.String[] args)
        Prints the BreakPrintExample to the default printer.
        Parameters:
        args - command-line args