public class AdminConfigEventMessengers extends VirtualComponentAdapter
EventMessengerInterface
Since all EventMessengers provide a method returning the names of all their items, a check
is done at startup (as well as when adding a new EventMessenger) that the items in the ini-file
are consistent with the items provided by the EventMessenger.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 |
---|
AdminConfigEventMessengers(ClientSessionManager csm,
IniFile iniFile,
VirtualPanel vp)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
onAction(VirtualPanel panel,
VirtualControl control,
String controlID)
Push buttons generates this event when selected.
|
void |
onFocusGained(VirtualPanel panel,
VirtualControl control,
String controlID)
Controls that can receive input focus generates this event when they lose focus.
|
boolean |
onPanelClosing(VirtualPanel panel)
called on panel closing
|
void |
onSelectionChanged(VirtualPanel panel,
VirtualCListBox list,
String controlID,
int line,
int column)
List boxes generates this message.
|
onAction, onAction, onCheckedChange, onContentChanged, onContentChanged, onControlEvent, onFocusLost, onMenuAction, onPropertyChange
onModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose, onPanelCreate, onPanelDestroy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPageActivated, onPanelClose, onPanelCreate, onPanelDestroy
public AdminConfigEventMessengers(ClientSessionManager csm, IniFile iniFile, VirtualPanel vp)
public void onSelectionChanged(VirtualPanel panel, VirtualCListBox list, String controlID, int line, int column)
line
and column
parameter are individually set to -1 if no line or column is selected respectively.onSelectionChanged
in interface VirtualComponentListener
onSelectionChanged
in class VirtualComponentAdapter
panel
- The panel issuing the event, parent of the control.list
- The list box control issuing the event.controlID
- The control ID issuing the event.line
- The selected line, or -1 for none.column
- The selected column, or -1 for none.public void onFocusGained(VirtualPanel panel, VirtualControl control, String controlID)
onFocusGained
in interface VirtualComponentListener
onFocusGained
in class VirtualComponentAdapter
panel
- The panel issuing the event, parent of the control.control
- The control issuing the event.controlID
- The control ID issuing the event.public boolean onPanelClosing(VirtualPanel panel)
onPanelClosing
in interface VirtualPanelListener
onPanelClosing
in class VirtualPanelAdapter
panel
- The panel issuing the event.VirtualPanelListener.onPanelClose(se.entra.phantom.server.VirtualPanel)
public void onAction(VirtualPanel panel, VirtualControl control, String controlID)
onAction(panel,controlID)
method is called.onAction
in interface VirtualComponentListener
onAction
in class VirtualComponentAdapter
panel
- The panel issuing the event, parent of the control.control
- The control issuing the event.controlID
- The control ID issuing the event.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.