Pathway/iTS Web Client Programming Manual (G06.24+)
Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
6-14
Class ScreenField
has the following Java equivalent:
screenfieldObject.setInitAttribute (ScreenField.ATTR_PROTECTED |
ScreenField.ATTR_MDTON)
Parameters
Method setLENGTH
Syntax
public void setLENGTH (int[] lengthArray)
Description
Equivalent to the LENGTH [MUST BE] field-characteristic clause. For example, the
SCREEN COBOL data description entry
screen-field-name [AT] line-spec, column-spec
PIC [IS] character-string
LENGTH 6 THRU 8, 10
has the following Java equivalent:
int[] lengthArray = {6,8,10,10};
screenfieldObject.setLENGTH (lengthArray);
Parameters
Method setMUSTBE
Syntax
public void setMUSTBE (String[] valueMustBe)
Description
Equivalent to the MUST [BE] field-characteristic clause. For example, the SCREEN
COBOL data description entry
screen-field-name [AT] line-spec, column-spec
PIC [IS] character-string
MUST BE 10 THRU 20, HELLO
attribute
Represents the initial screen-field attributes to be set at run time,
constructed by bitwise ORing of the attribute literals to be set
lengthArray
Corresponds to the literal-n values in the LENGTH
[MUST BE] clause. The array must be of the form
{minLen1,maxLen1,minLen2, maxLen2,...}. Each maxLenx
must be >= minLenx. If a value is to be discrete rather than a
range, then set minLenx and maxLenx to the same discrete value.