com.jFormTK
Class JTest

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

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

This 'jFormTK' Class is designed to service the "Built_In_Test' jFormTK feature. It is an Abstract Class that contains a collection of methods designed to use the 'JFormInfo' 'JTest', 'JTestPreValue' and the 'JTestPostValue' parameters.

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

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

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
JTest()
           
 
Method Summary
static void built_In_TestRecord(JFormForm form, JFormField fld)
           Construct a new "Built_In_Test" record for the given 'JFormField' [fld] of the given 'jFormForm' [form] and add the 'record' to the 'jFormInfo' 'Built-In-TestTrace' String...
static java.lang.String showPostProcessor(JFormForm form, JFormField fld, java.lang.String flowControlIn)
           This method is designed to perform any requested 'jFormTK' post Processing and iff the Built_In_Test Flag is set write a "DEBUG" String to the DOS Window [using the Java 'System.out...'] to display the following parameters of the given 'JFormField' [fld]: 'JFormField' ID...
static java.lang.String showPreProcessor(JFormForm form, JFormField fld, java.lang.String flowControlIn)
           This method is designed to write a "DEBUG" String to the DOS Window [using the Java 'System.out...'] to display the following parameters of the given 'JFormField' [fld]: 'JFormField' ID...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTest

public JTest()
Method Detail

showPreProcessor

public static java.lang.String showPreProcessor(JFormForm form,
                                                JFormField fld,
                                                java.lang.String flowControlIn)
        This method is designed to write a "DEBUG" String to the DOS Window 
        [using the Java 'System.out...'] to display the following parameters 
        of the given 'JFormField' [fld]:
                'JFormField' ID...
                'pre  Processor Field'...
                'pre  Processor Recurrence' Flag...
                'JFormField' "Before" 'pre Process' Value...
                'JFormField' "After"  'pre Process' Value...
                "Before" 'preProcessor' Object Variant...
                "After"  'preProcessor' Object Variant...
                'pre  Processor' Recurrence Flag...
                'pre  Processor' Assignment String...
        the following 2nd Line is produced if required...
                'pre  Processor "IF" assignements String...
                'pre  Processor "IF" Control String...
                'pre  Processor "ELSE" Control String...

        Kernel Usage:
        1)      'JFocus.preProcess' Method iff the 'jFormField' Pre Process Flag is
                set...
        

Parameters:
form - "Reference" to the current 'jFormForm' sub-class...
fld - "Reference" to the 'JFormField' about to gain the 'jFormTK.JFormForm' focus...
flowControlIn - Input Flow Control...
Returns:
Flow Control String...

showPostProcessor

public static java.lang.String showPostProcessor(JFormForm form,
                                                 JFormField fld,
                                                 java.lang.String flowControlIn)
        This method is designed to perform any requested 'jFormTK' post Processing and
        iff the Built_In_Test Flag is set write a "DEBUG" String to the DOS Window 
        [using the Java 'System.out...'] to display the following parameters 
        of the given 'JFormField' [fld]:
                'JFormField' ID...
                'post  Processor Object'...
                'post  Processor Recurrence' Flag...
                'JFormField' "Before" 'pre Process' Value...
                'JFormField' "After"  'pre Process' Value...
                "Before" 'postProcessor' Object Variant...
                "After"  'postProcessor' Object Variant...
                'post Processor' Recurrence Flag...
                'post Processor' Assignment String...
        the following 2nd Line is produced if required...
                'post Processor "IF" assignments String...
                'post Processor "IF" Control String...
                'post Processor "ELSE" Control String...

        Kernel Usage:
        1)      'JFocus.doPostProcess' Method after the Dynamic Address Book and Assignment
                Statement processing and iff the Post process Flag is set AND the
                DID Pre Process Flag is set...
        

Parameters:
form - Reference to current 'JFormForm' sub-class...
fld - 'JFormField' instance about to loose the 'jFormTK.JFormForm' Focus...
flowControlIn - Input Flow Control...
Returns:
Flow Control String...

built_In_TestRecord

public static void built_In_TestRecord(JFormForm form,
                                       JFormField fld)
        Construct a new "Built_In_Test" record for the given
        'JFormField' [fld] of the given 'jFormForm' [form] and add the 'record' to the
        'jFormInfo' 'Built-In-TestTrace' String...

        Kernel Usage:
        1)      'jFormFrame.postProcess' Method iff the JFormForm.Sub-Class
                Built_In_Test Flag is active...
        

Parameters:
form - Host 'JFormForm' Sub-Class...
fld - Currently focused 'JFormField' reference...