All Packages Class Hierarchy Class Search Index
Our solution is to give Java programs access to the emulated EDX 4978 terminals. The basic operations (read/write the screen and waitkey) are provided by the EDX4978 class. The terminal user cannot tell whether EDL or Java or a mixture is controlling the screen.
The FS layer displays stored screen designs and provides screen reading/writing and cursor positioning by field. Fields are sequentially numbered unprotected (input) areas.
The FCB (Field Control Block) layer groups the fields into logical sections and distributes pfkey events to the appropriate FCB based on the cursor position. An FCB may also be configured as a scrolling table or grid.
This package aims to be a Java version of the FS/FCB library. We cannot, of course, resist attempting to improve it in the translation.
FSComp is an abstract base class
for the equivalent of an FCB. Derived classes implement tables,
groups of fields and other specializations.
FSComp must be
added to an
FSPanel to be active.
FSPanel.fprocess() method reads
PFKeyEvents and sends them
to the appropriate
FSComp based on the row and column
at which the event occured. Changes to data input fields are
also detected and signaled with the special
The FSTextArea class provides
a scrollable and editable text area which is available to the application
String. The DBField
class links a screen field to a database field. The
FSGrid class forms the base of components
that deal with multi line controls, for example
DBTable links a scrollable and
editable multi line table to a database table.