Pathway/iTS Web Client Programming Manual (H06.03+, J06.03+)

Table Of Contents
Java Import Package Reference
HP NonStop Pathway/iTS Web Client Programming Manual520270-003
6-27
Class ScreenFieldArray
has this 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 this Java equivalent:
int[] lengthArray = {6,8,10,10};
screenfieldArrayObject.setLENGTH (lengthArray);
Parameters
Method setMUSTBE
Syntax
public void setMUSTBE (String[] valueMustBe)
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 maxLen
x
must be >= minLen
x
. If a value is to be discrete rather than a
range, then set minLen
x
and maxLen
x
to the same discrete
value.