3270 Terminal example method
A simple example method is available in the private example class method of the (Abt3270Terminal) class. It provides a prompter that asks for any of the following terminal commands to perform:
Command
Definition
Type xxxx
Type the characters xxxx into the host session. They can contain any valid EHLLAPI mnemonic (for example, @E means Enter).
Bottom
Put the emulator window below all others.
Enlarge
Make the emulator window as large as needed.
Front
Put the emulator window on top of all others.
?
Provide help information.
Hide
Make the emulator window invisible.
Inspect
Open a Smalltalk Inspector on the (Abt3270Terminal) instance being used.
Maximize
Make the emulator window as large as possible.
Minimize
Iconize the emulator window.
Restore
Restore the emulator window to its original size.
Show
Make the emulator window visible.
To run this example, type the following expression in any Smalltalk window, then select and evaluate this statement by either selecting Execute from the window's pop-up menu.
Abt3270Terminal example
Last modified date: 01/29/2015