com.jFormTK
Class JFormFieldDB

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

public class JFormFieldDB
extends java.lang.Object
implements JConstants

This Class is a collection of String Arrays used to define the 'JFormField' Parameters for 'Java Form Tool Kit' [jFormTK] Application Common fields... An instance of this class is created by the jFormTK Kernel's Application Data Base [AppDB] Class during the Application initialization phase... The design purpose's for this class are as follows: 1) To allow the 'jFormTK' Application to have a consist set of 'JFormField' parameters for common Application Form fields... 2) To simplify the creation of 'JFormField' instances via the 'JFormField' Constructor that uses the 'JFormFieldDB' String array... The 'jFormTK' "default" set of JFormField's as follows: address1: - "Street:", "Enter the Street Address:", true, _TField address2: - "Suite :", "Enter the Suite, Apt #, etc...", false, _TField city: - "city :", "Enter the City", true, _TField state: - "state:", "Enter the State, Apt #, etc...", true _TField zip: - "zip:", "Enter the ZIP Code", false, _TField

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

Copyright (c) 2008 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
JFormFieldDB()
          Constructor.
 
Method Summary
 void add(java.lang.String[] parameters)
           This 'add' Method signature is designed to add a Parameters Set that is contained in a String Array [parameters].
 void add(java.lang.String name, java.lang.String s, java.lang.String p, boolean rFlag, char type)
           This 'add' Method signature is designed to add the given SHORT Parameters Set, converted to a String Array, to the *this* items Vector...
 void add(java.lang.String name, java.lang.String s, java.lang.String p, boolean rFlag, char type, java.lang.String hint)
           This 'add' Method signature is designed to include the 'hintText' parameter...
 java.lang.String[] get(java.lang.String name)
           Get the 'JFormField' String that matches the given Name String from the current *this* items Vector...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFormFieldDB

public JFormFieldDB()
Constructor.

Method Detail

add

public void add(java.lang.String name,
                java.lang.String s,
                java.lang.String p,
                boolean rFlag,
                char type)
        This 'add' Method signature is designed to add the given SHORT Parameters Set,
        converted to a String Array, to the *this* items Vector...
        

Parameters:
name - 'JFormField' Field Name [String]
s - 'JFormField' Label [String]
p - 'JFormField' Prompt {String]
rFlag - 'JFormField' 'Required Field' Flag [boolean]
type - 'JFormField' 'Type' [char]

add

public void add(java.lang.String name,
                java.lang.String s,
                java.lang.String p,
                boolean rFlag,
                char type,
                java.lang.String hint)
        This 'add' Method signature is designed to include the 'hintText' parameter...
        

Parameters:
name - 'JFormField' Field Name [String]
s - 'JFormField' Label [String]
p - 'JFormField' Prompt {String]
rFlag - 'JFormField' 'Required Field' Flag [boolean]
type - 'JFormField' 'Type' [char]
hint - 'JFormField' Hint Text [hintText] String...

add

public void add(java.lang.String[] parameters)
        This 'add' Method signature is designed to add a Parameters Set that is
        contained in a String Array [parameters]. The String Array elements must
        adhere to one of above 'add' Methods.
        

Parameters:
parameters -

get

public java.lang.String[] get(java.lang.String name)
        Get the 'JFormField' String that matches the given Name String from the current
        *this* items Vector...
        

Returns:
Found 'JFormField' parameters[String Array]...