public class TerminalApplicationProperties extends VirtualComponentAdapter implements TerminalKeys
Modifier and Type | Field and Description |
---|---|
static int[] |
keyMap
The table of key names mapped to real keys.
|
KEY_AlternateCursor, KEY_Attention, KEY_Backspace, KEY_BackwardWordTab, KEY_CapsLock, KEY_Clear, KEY_CmdKey, KEY_CursorDown, KEY_CursorDownFast, KEY_CursorLeft, KEY_CursorLeftFast, KEY_CursorRight, KEY_CursorRightFast, KEY_CursorSelect, KEY_CursorUp, KEY_CursorUpFast, KEY_Delete, KEY_DestructiveBackspace, KEY_Dup, KEY_End, KEY_Enter, KEY_EraseEOF, KEY_EraseInput, KEY_FieldExit, KEY_FieldMark, KEY_FieldMinus, KEY_FieldPlus, KEY_ForwardWordTab, KEY_Help, KEY_Home, KEY_Insert, KEY_InsertToggle, KEY_LeftTab, KEY_MinusSign, KEY_NewLine, KEY_PA1, KEY_PA2, KEY_PA3, KEY_PageDown, KEY_PageUp, KEY_PF1, KEY_PF10, KEY_PF11, KEY_PF12, KEY_PF13, KEY_PF14, KEY_PF15, KEY_PF16, KEY_PF17, KEY_PF18, KEY_PF19, KEY_PF2, KEY_PF20, KEY_PF21, KEY_PF22, KEY_PF23, KEY_PF24, KEY_PF3, KEY_PF4, KEY_PF5, KEY_PF6, KEY_PF7, KEY_PF8, KEY_PF9, KEY_PlusSign, KEY_Print, KEY_PrintPC, KEY_PrintPS, KEY_RecordBackspace, KEY_Reset, KEY_RightTab, KEY_Space, KEY_SystemRequest, KEY_Test, KEY_WordDelete
ICON_CRITICAL, ICON_INFORMATION, ICON_NOICON, ICON_QUERY, ICON_QUESTION, ICON_WARNING, MB_ABORTRETRYIGNORE, MB_CANCEL, MB_ENTER, MB_ENTERCANCEL, MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL, MBID_CANCEL, MBID_DEFAULT, MBID_ENTER, MBID_IGNORE, MBID_NO, MBID_OK, MBID_RETRY, MBID_YES
Constructor and Description |
---|
TerminalApplicationProperties() |
Modifier and Type | Method and Description |
---|---|
void |
applyColors(VirtualPanel vp,
HostColors colors)
Applies the colors (updates the listbox).
|
void |
onAction(VirtualPanel vp,
String controlID)
Push buttons and menu items generates this event when selected.
|
void |
onCheckedChange(VirtualPanel vp,
VirtualControl control,
String controlID,
int state)
Check boxes and radio buttons generates this event when state is changed on the client side.
|
boolean |
onPanelClosing(VirtualPanel vp)
Called when the close button of a panel is pressed,
but before any other processing has been done.
|
void |
onPanelCreate(VirtualPanel vp)
Called to initialize the panel before it is displayed.
|
void |
onPanelDestroy(VirtualPanel vp)
Called to inform the listener that the panel is destroyed.
|
void |
onPropertyChange(VirtualPanel vp,
VirtualControl control,
String controlID,
String propertyName,
Object property)
A control notifies the listener using this event when custom properties
needs to be handled.
|
boolean |
performApply(VirtualPanel vp)
Applies the changes.
|
void |
performCurrentWindowSizePos(VirtualPanel vp)
Gets the current window position and size.
|
void |
performDefaultColors(VirtualPanel vp)
Applies the default colors.
|
void |
performKeyProperties(VirtualPanel vp,
String controlID)
Gets the current window position and size.
|
void |
performOK(VirtualPanel vp)
Performs the OK change.
|
void |
performServerColors(VirtualPanel vp)
Applies the server colors for the current session index.
|
static void |
processAdminHostClientProperties(VirtualSessionManager vsm)
Displays and processes the host client properties for the server administration program.
|
onAction, onAction, onContentChanged, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onSelectionChanged
onModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPageActivated, onPanelClose
public static void processAdminHostClientProperties(VirtualSessionManager vsm)
public void onPanelCreate(VirtualPanel vp)
This function doesn't perform anything.
onPanelCreate
in interface VirtualPanelListener
onPanelCreate
in class VirtualPanelAdapter
vp
- The panel issuing the event.public void onPanelDestroy(VirtualPanel vp)
onPanelDestroy
in interface VirtualPanelListener
onPanelDestroy
in class VirtualPanelAdapter
vp
- The panel issuing the event.public void onCheckedChange(VirtualPanel vp, VirtualControl control, String controlID, int state)
The state is 0=unchecked, 1=checked and 2=third state (only for check boxes, or PhantomCCheckBox.STATE_UNDETERMINED).
onCheckedChange
in interface VirtualComponentListener
onCheckedChange
in class VirtualComponentAdapter
vp
- The panel issuing the event, parent of the control.control
- The control issuing the event.controlID
- The control ID issuing the event.state
- State (0=unchecked, 1=checked and 2=third state [only for check boxes]).public void onPropertyChange(VirtualPanel vp, VirtualControl control, String controlID, String propertyName, Object property)
The object is in general dependent of the property change event string.
onPropertyChange
in interface VirtualComponentListener
onPropertyChange
in class VirtualComponentAdapter
vp
- The panel issuing the event, parent of the control.control
- The control issuing the event.controlID
- The control ID issuing the event.propertyName
- The property name.property
- Property value depending on the property name.public void onAction(VirtualPanel vp, String controlID)
onAction
in class VirtualComponentAdapter
vp
- The panel issuing the event, parent of the control.controlID
- The control ID issuing the event.public boolean onPanelClosing(VirtualPanel vp)
onPanelClose
is called.onPanelClosing
in interface VirtualPanelListener
onPanelClosing
in class VirtualPanelAdapter
vp
- The panel issuing the event.VirtualPanelListener.onPanelClose(se.entra.phantom.server.VirtualPanel)
public void performOK(VirtualPanel vp)
Encodes the following data (in a string): Links: List of patterns separated by comma "," or Keys: |[Key]|[List of patterns separated by ","]. String ends with "§";
vp
- panel referencepublic boolean performApply(VirtualPanel vp)
public void performDefaultColors(VirtualPanel vp)
public void performServerColors(VirtualPanel vp)
public void performCurrentWindowSizePos(VirtualPanel vp)
public void applyColors(VirtualPanel vp, HostColors colors)
public void performKeyProperties(VirtualPanel vp, String controlID)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.