|
All the screen
definitions generated by COBOLTranslator utilized a set of inherited components
instead of the standard Delphi or Java ones (Note that this option can be
turned off - see Visual Component Prefix ). This allows the overall
behavior of the system to be modified from the component description. Examples
where such modifications may be desirable is :
- Trapping Keyboard entries within the Component -
eg the inherited Edit Box component (Java -ACMTextField / Delphi -
TACMEdit) can be modified to trap "F2" key and close the active form -
hence provide a similar behavior to the original COBOL program.
- The default OK Button - when activated emulates
the old "Press Return to Continue" .
You may alter /override any of the methods in the provided components to
provide better resemblence to your original programs.
The following Java components are supplied with the COBOLTranslator:
- com.cobolmining.awt.* - GUI Classes
- com.cobolmining.servlet.* - base cobolmining
servlet classes
- com.cobolmining.sql.* - SQL Libraries modified to
simplify DB access from the generated programs
- com.cobolmining.util - Printing and other
utilities
- com.cobolmining.xml.* - XML parser
- com.cobolmining.wrappers.* - Base persistence
java classes
The following Delphi components are supplied with the COBOLTranslator:
- ACMVCL\ACMEdit.pas
- ACMVCL\ACMMask.pas
- ACMVCL\ACMMemo.pas
- ACMVCL\ACMList.pas
- ACMVCL\ACMPanel.pas
- ACMVCL\ACMBtn.pas
- ACMVCL\ACMLabel.pas
- ACMVCL\ACMVCL.pas- Additional functions that all
above components use.
Supplimentry Files in ACM-INC
| ACM_prnt.pas / .dfm |
Set of Objects for simplifying translation of reporting programs. |
| ACMFuncs.pas |
Set of utility functions. |
| ACMQuery.pas / .dfm |
All the Object Wrappers inherit from this object. |
| ACMForm.pas / .dfm |
All the generated forms inherit from this form. The module comprises of a form and an 'OK' button which is effectively replacing the 'Carriage Return' key on the original
COBOL programs. See Generating Delphi applications |
|