com.jFormTK
Class JRecord

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

public class JRecord
extends java.lang.Object
implements JConstants

This 'jFormTK' Class is used to contain a "Record" of a 'JFormField'. This 'JRecord' SHALL contain the following 'jFormTK' elements and default values [where appropriate]: Name Type Default _____________________ _____________ ___________________ fld JFormField None col int None row int None width int current 'JFormForm' Sub-Class Number of Cols height int 1 groupName String "" repeatMode String "" Kernel USAGE: This Class is used when a 'JFormField' is "Dynamically" inserted into the 'jFormTK.jFormFrame.ShowPanel, i.e. the 'jFormTK' "Working" Panel. For example, it is used in the parameters list of the Util.addField, Util.insertField and Util.insertFields Methods... This "'jFormTK' Helper class" may be used by the 'JFormForm' Sub-Classes as a simpler way to construct a set of JFormField's that are inserted into a 'JFormForm' Sub-Class as a function of a 'jFormTK' Application End User selection...

Version:
1.00, 3 Aug 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
(package private)  int col
           
(package private)  JFormField fld
           
(package private)  java.lang.String groupName
           
(package private)  int height
           
(package private)  java.lang.String repeatMode
           
(package private)  int row
           
(package private)  int width
           
 
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
JRecord(JFormField fld, int col, int row)
           Constructor with 'JFormField', column and row parametrs.
JRecord(JFormField fld, int col, int row, int width)
           Constructor with 'JFormField', column, row and width parametrs.
JRecord(JFormField fld, int col, int row, int width, int height)
           Constructor with 'JFormField', column, row, width abd height parametrs.
JRecord(JFormField fld, int col, int row, int width, int height, java.lang.String groupName, java.lang.String repeatMode)
           Constructor with FULL Set of 'JRecord' parametrs...
 
Method Summary
 java.lang.String displayJRecord(java.lang.String from)
           
 int getCol()
           
 java.lang.String getGroupName()
           
 int getHeight()
           
 JFormField getJFormField()
           
 java.lang.String getRepeatMode()
           
 int getRow()
           
 int getWidth()
           
static JRecord XXXbuildJRecord(JFormField fld, java.lang.String insertControls)
           Constructor a 'JRecord' from a 'JFormField' Reference [fld] and an encoded set of JFormFrame.insertField parameters [insertControls]...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

col

int col

row

int row

width

int width

height

int height

fld

JFormField fld

groupName

java.lang.String groupName

repeatMode

java.lang.String repeatMode
Constructor Detail

JRecord

public JRecord(JFormField fld,
               int col,
               int row)
        Constructor with 'JFormField', column and row parametrs.
        Note:   Width derived from Current 'JFormForm' Subn_Class 'JFormInfo' instance.
        Height = 1 Row
                        Group Name = ""
                        Repeat Mode = ""
        Kernel Usage:
        1)      'JFormField.Sub-Field to setup a 'JFormField' on one row...
        

Parameters:
fld - 'JFormField' Reference
col - Column Number [int]
row - Row number [int]

JRecord

public JRecord(JFormField fld,
               int col,
               int row,
               int width)
        Constructor with 'JFormField', column, row and width parametrs.
        Note:   Height = 1 Row
                                Group Name = ""
                        Repeat Mode = ""
        Kernel Usage:
        1)      'JFormField.Sub-Field to setup a 'JFormField' with a specifiic 'width' control...
        

Parameters:
fld - 'JFormField' Reference
col - Column Number [int]
row - Row number [int]
width - Number of Columns to display the 'JFormField' [fld]

JRecord

public JRecord(JFormField fld,
               int col,
               int row,
               int width,
               int height)
        Constructor with 'JFormField', column, row, width abd height parametrs.
        Note:   Group Name = ""
                        Repeat Mode = ""
        Kernel Usage:
        1)      'JFormField.Sub-Field to setup a 'JFormField' with width / height controls
                that are NOT in a 'jFormTK' Group...
        2)      'JFormFrame.insertField' Method with no 'jFormTK' Group Controls...     
        

Parameters:
fld - 'JFormField' Reference
col - Column Number [int]
row - Row number [int]
width - Number of Columns to display the 'JFormField' [fld]
height - Number of Rows to display the 'JFormField' [fld]

JRecord

public JRecord(JFormField fld,
               int col,
               int row,
               int width,
               int height,
               java.lang.String groupName,
               java.lang.String repeatMode)
        Constructor with FULL Set of 'JRecord' parametrs...

        Kernel Usage:
        1)      'JFormField.Sub-Field to setup a 'JFormField' with all the load controls
                present...
        2)      'JFormFrame.insertField' Method with all Control parameters given...
        

Parameters:
fld - 'JFormField' Reference
col - Column Number [int]
row - Row number [int]
width - Number of Columns to display the 'JFormField' [fld]
height - Number of Rows to display the 'JFormField' [fld]
groupName - Group Name [String]
repeatMode - Repeat Mode [String]
Method Detail

XXXbuildJRecord

public static JRecord XXXbuildJRecord(JFormField fld,
                                      java.lang.String insertControls)
        Constructor a 'JRecord' from a 'JFormField' Reference [fld] and an encoded set
        of JFormFrame.insertField parameters [insertControls]...

        The 'insertControls uses the D_FIELDS_N nested fields delimiter to
        contain the following parameters:
                col                     Column index...
                newRow          "T" or "F" to construct the new 'row' value...
                w                       Number of Columns to span int...
                h                       Number of Rows to span int...
                groupName       Name [String] of the 'jFormTK' Group...
                repeatMode      Repeat Mode control String for the 'jFormTK' Group...

        Kernel Usage:
        1)      'JFormField.Sub-Field to setup a 'JFormField' with all the load controls
                present...
        2)      'JFormFrame.insertFields' Method with all Control parameters given...
        

Parameters:
fld - 'JFormField' Reference...
insertControls - Encode String of 'JFormFrame.insertField' parameters as defined above...

getCol

public int getCol()

getGroupName

public java.lang.String getGroupName()

getHeight

public int getHeight()

getJFormField

public JFormField getJFormField()

getRepeatMode

public java.lang.String getRepeatMode()

getRow

public int getRow()

getWidth

public int getWidth()

displayJRecord

public java.lang.String displayJRecord(java.lang.String from)