Pathway/iTS Web Client Programming Manual (G06.24+)

Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual520270-001
6-22
Class ScreenFieldArray
has the following Java equivalent:
screenfieldArrayObject.setInitAttribute
(ScreenFieldArray.ATTR_PROTECTED |
ScreenFieldArray.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 clause
OCCURS IN columns-literal COLUMNS ON lines-literal LINES
LENGTH 6 THRU 8, 10
has the following Java equivalent:
int[] lengthArray = {6,8,10,10};
screenfieldArrayObject.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 clause
OCCURS IN columns-literal COLUMNS ON lines-literal LINES
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.