public class TerminalSettings extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
areKeyHotSpotsEnabled
If send key hot spots are enabled.
|
boolean |
areLinksEnabled
If links hot spots are enabled.
|
HostColors |
colors
The host colors (or null when not set).
|
Rectangle |
currentWindowBounds
The current window bounds.
|
int |
cursorHeight
The cursor size in % of font height (1-100).
|
int |
cursorHeightInsertMode
The cursor size in % of font height (1-100) when in insert mode.
|
int |
cutCopyParsing
The type of Cut/Copy parsing.
|
boolean |
doAntiAlias
Flag for anti-aliasing.
|
boolean |
doKeepAspectRatio
Flag for font keep aspect ratio.
|
boolean |
doKeyboardAutoReset
If keyboard auto-reset is enabled.
|
boolean |
dontOutlinePresentationSpace
Flag indicating outlining of presentation space (default).
|
boolean |
doPasteTextWrapping
Flag indicating that text should be pasted with wrap.
|
boolean |
doPromptOnParse
Prompting required on each parse operation.
|
boolean |
doRuleCursor
Rule cursor is to be shown.
|
boolean |
doSaveOriginalFieldSpacing
Flag indicating if original field spacing should
be kept.
|
String |
fontName
Font name (null = default).
|
int |
fontSize
Font size (0 = auto-size, default).
|
static String |
hexes
Hex characters.
|
boolean |
is3270BoxDrawingEnabled
If 3270 box drawing is enabled.
|
boolean |
isBoldFont
Flag indicating bold font.
|
boolean |
isCursorNonBlinking
Flag indicating non-blinking cursor.
|
boolean |
isEditor
If this is an editor instance.
|
boolean |
isHostAlarmEnabled
Host alarm active or not.
|
boolean |
isPCInsertModeEnabled
If PC Insert mode is enabled.
|
boolean |
isSmartInsertModeEnabled
If Smart Insert mode is enabled.
|
boolean |
isTypeAheadEnabled
The type-ahead flag.
|
KeyboardRemapper |
keyboardRemapper
The keyboard mapper (or null for none).
|
String |
keyHotSpotStrings
The table of key hot spots strings (HLLAPI send code, space, comma separated strings),
items in list separated by '|'.
|
String |
linkTexts
The table of links texts.
|
int |
ruleCursorLineStyle
Line style of rule cursor.
|
int |
ruleCursorOrientation
Orientation of rule cursor.
|
Rectangle |
windowBounds
The 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.
© © Mindus SARL, 2024. All rights reserved.