com.jFormTK
Class DynamicFieldControls

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

public class DynamicFieldControls
extends java.lang.Object
implements JConstants

        This is an Abstract class with a collection of methods designed to hold the
        control fields required to dynamically add JFormField's into the Show Panel.
        Each instance SHALL contain the 'JFormField' instance [fld] and the following
        set of controls to be used when inserting the 'fld' into the show panel via the
        'JFormFrame.insertField' method:
                col
                newRow
                w
                h
                groupName
                repeatMode

        An addition constructor is provided that includes the "Insertion Control" String
        designed to set the 'JFormField.jCoupleCommand' if a 'JFormField' in the 'JCouple'
        Control set is to be inserted into the Show Panel only for a given 'Owner' OR
        'Spouse' fields presentation.

        This class is used by the 'jFormTK' developer to dynamically hold 'JFormFields'
        to service the _QField JFormField Type and the 'JCouple' process...

        Instances of this holder class are used in the following 'JFormFrame' methods.
        1)      'JFormField.addQFieldControls' to save the "YES" and "No" dynamic fields.
        2)      'JFormField.addJCoupleControls' to contain the JFormField's to be processed by
                the 'jFormTK.JCouple' feature...
         

Version:
1.00, 27, January 2009
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
DynamicFieldControls(JFormField fld)
           
DynamicFieldControls(JFormField fld, int w)
           
DynamicFieldControls(JFormField fld, int col, boolean newRow, int w)
           
DynamicFieldControls(JFormField fld, int col, boolean newRow, int w, int h)
           
DynamicFieldControls(JFormField fld, int col, boolean newRow, int w, int h, java.lang.String groupName, java.lang.String repeatMode)
           
DynamicFieldControls(JFormField fld, int col, boolean newRow, int w, int h, java.lang.String groupName, java.lang.String repeatMode, java.lang.String insertControlIn)
           
DynamicFieldControls(JFormField fld, int col, boolean newRow, int w, java.lang.String groupName)
           
 
Method Summary
 java.lang.String displayDynamicFieldControls()
           
 JFormField getJFormField()
           
 void load(JFormForm form, java.lang.String savedDynamicFieldControls, java.lang.String fDel)
           Load the DynamicFieldControls = f[savedDynamicFieldControl], i.e.
 void setNestingLevel(int childNestingLevel)
           Set the Nesting Level of the current 'JFormField' instance [fld]...
 java.lang.String toString(java.lang.String fDel)
           ConstrucT a String to be used to reload this DynamicFieldControls.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicFieldControls

public DynamicFieldControls(JFormField fld)

DynamicFieldControls

public DynamicFieldControls(JFormField fld,
                            int w)

DynamicFieldControls

public DynamicFieldControls(JFormField fld,
                            int col,
                            boolean newRow,
                            int w)

DynamicFieldControls

public DynamicFieldControls(JFormField fld,
                            int col,
                            boolean newRow,
                            int w,
                            int h)

DynamicFieldControls

public DynamicFieldControls(JFormField fld,
                            int col,
                            boolean newRow,
                            int w,
                            java.lang.String groupName)

DynamicFieldControls

public DynamicFieldControls(JFormField fld,
                            int col,
                            boolean newRow,
                            int w,
                            int h,
                            java.lang.String groupName,
                            java.lang.String repeatMode)

DynamicFieldControls

public DynamicFieldControls(JFormField fld,
                            int col,
                            boolean newRow,
                            int w,
                            int h,
                            java.lang.String groupName,
                            java.lang.String repeatMode,
                            java.lang.String insertControlIn)
Method Detail

displayDynamicFieldControls

public java.lang.String displayDynamicFieldControls()

getJFormField

public JFormField getJFormField()

load

public void load(JFormForm form,
                 java.lang.String savedDynamicFieldControls,
                 java.lang.String fDel)
        Load the DynamicFieldControls = f[savedDynamicFieldControl],
        i.e. reload from the this.toString() String...

        Kernel Usage:
        1)      TBD
        

Parameters:
form - Host 'JFormForm.Sub-Class' reference...
savedDynamicFieldControls - Saved DynamicFieldControls String...

setNestingLevel

public void setNestingLevel(int childNestingLevel)
        Set the Nesting Level of the current 'JFormField' instance [fld]...

        Kernel Usage:
        1)      'JFormFrame.addQFieldControls' to ensure that each 'JFormField' added to
                the parent 'JFormField._QField' has a nesting level one higher thah the parent.
                This revised nesting level may be the parent of another level of _QField
                'JFormField' instances...
        

Parameters:
childNestingLevel - New Nesting Level ]int]...

toString

public java.lang.String toString(java.lang.String fDel)
        ConstrucT a String to be used to reload this DynamicFieldControls. Use the
        JConstants nested D_FIELD_N and D_ELEMENTS_N delimiters...
        

Returns:
Constructed saved GynamicFieldControls