public class AdminConfigSelectFile 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 |
|---|
AdminConfigSelectFile(VirtualSessionManager vsm, VirtualControl control, String[] filters)Creates a new file chooser dialog. |
AdminConfigSelectFile(VirtualSessionManager vsm, VirtualControl control, String[] filters, SelectionInterface sif)Creates a new file chooser dialog. |
| Modifier and Type | Method and Description |
|---|---|
void | onAction(VirtualPanel vp, String controlID)Push buttons and menu items generates this event when selected. |
void | onContentChanged(VirtualPanel panel, VirtualControl control, String controlID, String text, int line)Combination boxes and spin buttons generates this message. |
boolean | onPanelClosing(VirtualPanel vp)Called when the close button of a panel is pressed, but before any other processing has been done. |
void | onSelectionChanged(VirtualPanel panel, VirtualCListBox list, String controlID, int line, int column)List boxes generates this message. |
onAction, onAction, onCheckedChange, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onPropertyChangeonModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose, onPanelCreate, onPanelDestroyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonPageActivated, onPanelClose, onPanelCreate, onPanelDestroypublic AdminConfigSelectFile(VirtualSessionManager vsm, VirtualControl control, String[] filters)
vsm - The virtual session manager.control - The virtual control.filters - An array with all the filters that should be available. If this parameter is null, then the All files "*.*" filter will be available.The filters can either be just the filter string, for example "*.txt", or the filter string followed by a explanation, for example "*.txt Text documents". The first space in the string will be the delimiter between the filter and the description.
public AdminConfigSelectFile(VirtualSessionManager vsm, VirtualControl control, String[] filters, SelectionInterface sif)
vsm - The virtual session manager.control - The virtual control.filters - An array with all the filters that should be available. If this parameter is null, then the All files "*.*" filter will be available.The filters can either be just the filter string, for example "*.txt", or the filter string followed by a explanation, for example "*.txt Text documents". The first space in the string will be the delimiter between the filter and the description.
sif - The SelectionInterface to register.Registers a selection interface. The class implementing the SelectionInterface will have methods for validating selection and to apply selection.
public boolean onPanelClosing(VirtualPanel vp)
onPanelClose is called.onPanelClosing in interface VirtualPanelListeneronPanelClosing in class VirtualPanelAdaptervp - The panel issuing the event.VirtualPanelListener.onPanelClose(se.entra.phantom.server.VirtualPanel)public void onAction(VirtualPanel vp, String controlID)
onAction in class VirtualComponentAdaptervp - The virtual panel.controlID - The control ID issuing the event.public void onContentChanged(VirtualPanel panel, VirtualControl control, String controlID, String text, int line)
onContentChanged in interface VirtualComponentListeneronContentChanged in class VirtualComponentAdapterpanel - The virtual panel.control - The virtual control.text - The text from the control.line - The line that was selected in a combobox.controlID - The control ID issuing the event.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 VirtualComponentListeneronSelectionChanged in class VirtualComponentAdapterpanel - 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.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.