public class DisplayResolution extends VirtualComponentAdapter
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 |
---|
DisplayResolution() |
Modifier and Type | Method and Description |
---|---|
static void |
initScaling(boolean fromSystem)
Initializes scaling from the Server INI file.
|
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)
Called for check box and radio button changes.
|
void |
onModalPanelCreate(VirtualPanel vp)
Upon panel creation: initializes the dialog box.
|
boolean |
onPanelClose(VirtualPanel vp)
Called when the close button of a panel is pressed.
|
boolean |
onPanelClosing(VirtualPanel vp)
Called when the close button of a panel is pressed, but before any other
processing has been done.
|
onAction, onAction, onContentChanged, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onPropertyChange, onSelectionChanged
onModalPanelProcessing, onPageActivated, onPanelCreate, onPanelDestroy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPageActivated, onPanelCreate, onPanelDestroy
public void onModalPanelCreate(VirtualPanel vp)
onModalPanelCreate
in class VirtualPanelAdapter
public boolean onPanelClosing(VirtualPanel vp)
onPanelClose
is called.onPanelClosing
in interface VirtualPanelListener
onPanelClosing
in class VirtualPanelAdapter
vp
- The panel issuing the event.onPanelClose(se.entra.phantom.server.VirtualPanel)
public boolean onPanelClose(VirtualPanel vp)
onPanelClose
in interface VirtualPanelListener
onPanelClose
in class VirtualPanelAdapter
vp
- The panel issuing the event.onPanelClosing(se.entra.phantom.server.VirtualPanel)
public void onCheckedChange(VirtualPanel vp, VirtualControl control, String controlID, int state)
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 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 static void initScaling(boolean fromSystem)
fromSystem
- Flag indicating system default value should be used, also to initialize the INI file.
If false, the values are taken from the INI file (with default values).Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.