public class AdminConfigSelectDirectory 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 |
---|
AdminConfigSelectDirectory(VirtualSessionManager vsm,
VirtualControl control)
Creates a new directory chooser dialog.
|
AdminConfigSelectDirectory(VirtualSessionManager vsm,
VirtualControl control,
SelectionInterface sif)
Creates a new directory 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, onPropertyChange
onModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose, onPanelCreate, onPanelDestroy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPageActivated, onPanelClose, onPanelCreate, onPanelDestroy
public AdminConfigSelectDirectory(VirtualSessionManager vsm, VirtualControl control)
vsm
- The virtual session manager.control
- The virtual control.public AdminConfigSelectDirectory(VirtualSessionManager vsm, VirtualControl control, SelectionInterface sif)
vsm
- The virtual session manager.control
- The virtual control.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 VirtualPanelListener
onPanelClosing
in class VirtualPanelAdapter
vp
- The panel issuing the event.VirtualPanelListener.onPanelClose(se.entra.phantom.server.VirtualPanel)
public void onAction(VirtualPanel vp, String controlID)
onAction
in class VirtualComponentAdapter
vp
- The virtual panel.controlID
- The id of the control from which the action comes from.public void onContentChanged(VirtualPanel panel, VirtualControl control, String controlID, String text, int line)
onContentChanged
in interface VirtualComponentListener
onContentChanged
in class VirtualComponentAdapter
panel
- 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 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.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.