com.jFormTK
Class JPDF

java.lang.Object
  extended by com.jFormTK.JPDF
All Implemented Interfaces:
JConstants

public abstract class JPDF
extends java.lang.Object
implements JConstants

This 'jFormTK' abstract class is a Collection of 'JPDF' Utility Methods...

Version:
1.00, 18 July 2007
Author:
Jim Crowell
Professional Computer Solutions [PCS]
URL: http://jFormTK.com/
E-Mail: JimCrowell@EMail.com

Copyright (c) 2007 by Professional Computer Solutions [PCS]
All Rights Reserved

Nested Class Summary
static class JPDF.JPreviewDialog
           Inner Class to query the 'jFormTK' End User for the display of the JPDF Preview Dialog...
static class JPDF.SwingComponentsPrinter
           Inner Class designed to Print an array of JPDF compatable Swing Components...
 
Field Summary
 
Fields inherited from interface com.jFormTK.JConstants
__, _AB, _AB_, _AField, _B, _BField, _CField, _CIField, _DField, _EU_, _H, _HEIGHT, _HEIGHT_INV, _HField, _I, _IField, _LField, _MField, _NField, _NotRequired, _PField, _PIField, _QField, _Required, _RField, _TAField, _TField, _WIDTH, _WIDTH_INV, _XField, AB, APP_TRACE_FOCUS, APP_TRACE_GET, APP_TRACE_SET, B_, BAR, BAR_, BB, BH, BI, BREAKPOINT_FOCUS, BREAKPOINT_GET, BREAKPOINT_SET, BVB, C_QUOTE, CLOSE, CLOSE_BRACKET, COLORS_DELIMITER, COMMA, COMMA_, D_ELEMENT, D_ELEMENT_N, D_ELEMENT_N1, D_ELEMENT_N2, D_ELEMENT_N3, D_FIELDS, D_FIELDS_N, D_FIELDS_N1, D_FIELDS_N2, D_FIELDS_N3, D_ITEMS, DASH, DOT, EOL, EOP, EOS, FIELD_TRACE_FOCUS, FIELD_TRACE_GET, FIELD_TRACE_SET, FONT_DELIMITER, H_, HB, HH, HI, I_, IB, IH, II, JLAF_DELIMITER, LF, LISTBRACKET, NO, OPEN, OPEN_BRACKET, pCheckboxGroup, QUOTE, SPACE_, TAB, YES
 
Constructor Summary
JPDF()
           
 
Method Summary
static void printTable(javax.swing.JTable table, java.lang.String title, int[] colWidths, java.lang.String jpdfType, boolean portrait, java.lang.Boolean previewIn)
           Given a 'JTable', print it using the JPDF Package...
static void printTextArea(javax.swing.JTextArea ta, java.lang.String pTitle, java.lang.String annotation, java.lang.String jpdfType)
           Given a 'JTextArea', print it using the JPDF Package...
static void printTextPane(javax.swing.JTextPane ta, java.lang.String pTitle, java.lang.String annotation, java.lang.String jpdfType)
           Given a 'JTextArea', print it using the JPDF Package...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPDF

public JPDF()
Method Detail

printTable

public static void printTable(javax.swing.JTable table,
                              java.lang.String title,
                              int[] colWidths,
                              java.lang.String jpdfType,
                              boolean portrait,
                              java.lang.Boolean previewIn)
        Given a 'JTable', print it using the JPDF Package...

        Kernel Usage:
        1)      'AppDB.AppDBDialog.doPrintAppDBParameters' Method...
        

Parameters:
table - The Text Area to be printed...
title - Title [String]...
colWidths - An 'int' Attay of Column widths in pixels...
jpdfType - JFormTKDB JPDF Type for setting the 'Preview' flag...
portrait - Flag [boolean] to set the portrait / landscape attribute...
previewIn - Boolean instance to control the Print Preview flag. If 'previewIn' is Null, then the Preview Flag is =f[JFormTKDB] Else the Print preview Flag is taken from the 'previewIn' instance...

printTextArea

public static void printTextArea(javax.swing.JTextArea ta,
                                 java.lang.String pTitle,
                                 java.lang.String annotation,
                                 java.lang.String jpdfType)
        Given a 'JTextArea', print it using the JPDF Package...

        Kernel Usage:
        1)      'AppDB.AppDBDialog.doPrintAppDBParameters' Method...
        

Parameters:
ta - The Text Area to be printed...
pTitle - Title [String]
annotation - Annotation [String] used in JPDF header / footer construction...
jpdfType - JFormTKDB JPDF Type for setting the 'Preview' flag...

printTextPane

public static void printTextPane(javax.swing.JTextPane ta,
                                 java.lang.String pTitle,
                                 java.lang.String annotation,
                                 java.lang.String jpdfType)
        Given a 'JTextArea', print it using the JPDF Package...

        Kernel Usage:
        1)      'AppDB.AppDBDialog.doPrintAppDBParameters' Method...
        

Parameters:
ta - The Text Area to be printed...
pTitle - Title [String]
annotation - Annotation [String] used in JPDF header / footer construction...
jpdfType - JFormTKDB JPDF Type for setting the 'Preview' flag...