public class TerminalSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean | areKeyHotSpotsEnabledIf send key hot spots are enabled. |
boolean | areLinksEnabledIf links hot spots are enabled. |
HostColors | colorsThe host colors (or null when not set). |
Rectangle | currentWindowBoundsThe current window bounds. |
int | cursorHeightThe cursor size in % of font height (1-100). |
int | cursorHeightInsertModeThe cursor size in % of font height (1-100) when in insert mode. |
int | cutCopyParsingThe type of Cut/Copy parsing. |
boolean | doAntiAliasFlag for anti-aliasing. |
boolean | doKeepAspectRatioFlag for font keep aspect ratio. |
boolean | doKeyboardAutoResetIf keyboard auto-reset is enabled. |
boolean | dontOutlinePresentationSpaceFlag indicating outlining of presentation space (default). |
boolean | doPasteTextWrappingFlag indicating that text should be pasted with wrap. |
boolean | doPromptOnParsePrompting required on each parse operation. |
boolean | doRuleCursorRule cursor is to be shown. |
boolean | doSaveOriginalFieldSpacingFlag indicating if original field spacing should be kept. |
String | fontNameFont name (null = default). |
int | fontSizeFont size (0 = auto-size, default). |
static String | hexesHex characters. |
boolean | is3270BoxDrawingEnabledIf 3270 box drawing is enabled. |
boolean | isBoldFontFlag indicating bold font. |
boolean | isCursorNonBlinkingFlag indicating non-blinking cursor. |
boolean | isEditorIf this is an editor instance. |
boolean | isHostAlarmEnabledHost alarm active or not. |
boolean | isPCInsertModeEnabledIf PC Insert mode is enabled. |
boolean | isSmartInsertModeEnabledIf Smart Insert mode is enabled. |
boolean | isTypeAheadEnabledThe type-ahead flag. |
KeyboardRemapper | keyboardRemapperThe keyboard mapper (or null for none). |
String | keyHotSpotStringsThe table of key hot spots strings (HLLAPI send code, space, comma separated strings), items in list separated by '|'. |
String | linkTextsThe table of links texts. |
int | ruleCursorLineStyleLine style of rule cursor. |
int | ruleCursorOrientationOrientation of rule cursor. |
Rectangle | windowBoundsThe window bounds. |
| Constructor and Description |
|---|
TerminalSettings() |
| Modifier and Type | Method and Description |
|---|---|
void | addClientSetup(Transaction trans)Gets the client transaction for the setup. |
String | getClientSetupString()Gets the client string for the setup. |
void | getColors(String clr)Get host color mappings from a string. |
void | getProperties(Hashtable<String,String> table)Gets the terminal settings from the properties in the client. |
void | getProperties(IniFile ini)Gets the properties table from the [host] section of the INI file and initialized them. |
int | mapToSendKey(int key, boolean isShift, boolean isControl, boolean isAlt)The keyboard mapper. |
void | saveProperties(Hashtable<String,String> table)Saves the properties from the variable settings in this class. |
static void | saveProperties(Hashtable<String,String> ht, IniFile ini)Saves the properties to the INI file. |
public static final String hexes
public final Rectangle currentWindowBounds
public Rectangle windowBounds
public int cutCopyParsing
public boolean doPromptOnParse
public boolean doSaveOriginalFieldSpacing
public boolean doPasteTextWrapping
public int cursorHeight
public int cursorHeightInsertMode
public boolean isCursorNonBlinking
public boolean dontOutlinePresentationSpace
public boolean doRuleCursor
public int ruleCursorOrientation
public int ruleCursorLineStyle
public String fontName
public int fontSize
public boolean isBoldFont
public boolean doAntiAlias
public boolean doKeepAspectRatio
public HostColors colors
public KeyboardRemapper keyboardRemapper
public boolean isTypeAheadEnabled
public boolean isHostAlarmEnabled
public boolean doKeyboardAutoReset
public boolean is3270BoxDrawingEnabled
public boolean isSmartInsertModeEnabled
public boolean isPCInsertModeEnabled
public boolean areLinksEnabled
public String linkTexts
public boolean areKeyHotSpotsEnabled
public String keyHotSpotStrings
public boolean isEditor
public void getProperties(IniFile ini)
public void getColors(String clr)
clr - hex decoded stringpublic void getProperties(Hashtable<String,String> table)
public String getClientSetupString()
public void addClientSetup(Transaction trans)
public static void saveProperties(Hashtable<String,String> ht, IniFile ini)
public void saveProperties(Hashtable<String,String> table)
public int mapToSendKey(int key,
boolean isShift,
boolean isControl,
boolean isAlt)Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.