se.entra.phantom.server.rconsole
Class AdminConfigPorts

java.lang.Object
  extended by se.entra.phantom.server.VirtualPanelAdapter
      extended by se.entra.phantom.server.VirtualComponentAdapter
          extended by se.entra.phantom.server.rconsole.AdminConfigPorts
All Implemented Interfaces:
VirtualComponentListener, VirtualPanelListener

public class AdminConfigPorts
extends VirtualComponentAdapter

This class handles the configuration of the Ports dialog box.


Field Summary
 
Fields inherited from interface se.entra.phantom.server.VirtualPanelListener
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 Summary
AdminConfigPorts()
          Creates the ports instance.
AdminConfigPorts(ClientSessionManager csm, VirtualPanel vp)
          Creates the ports instance.
 
Method Summary
 void initialize(VirtualPanel vp)
          Initializes the list box.
 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)
          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 onPanelCreate(VirtualPanel vp)
          Called upon panel creation.
 void onSelectionChanged(VirtualPanel vp, VirtualCListBox list, String controlID, int line, int column)
          List boxes generates this message.
 
Methods inherited from class se.entra.phantom.server.VirtualComponentAdapter
onAction, onAction, onContentChanged, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onPropertyChange
 
Methods inherited from class se.entra.phantom.server.VirtualPanelAdapter
onModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose, onPanelDestroy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface se.entra.phantom.server.VirtualPanelListener
onPageActivated, onPanelClose, onPanelDestroy
 

Constructor Detail

AdminConfigPorts

public AdminConfigPorts()
Creates the ports instance.


AdminConfigPorts

public AdminConfigPorts(ClientSessionManager csm,
                        VirtualPanel vp)
Creates the ports instance.

Method Detail

onPanelCreate

public void onPanelCreate(VirtualPanel vp)
Called upon panel creation.

Specified by:
onPanelCreate in interface VirtualPanelListener
Overrides:
onPanelCreate in class VirtualPanelAdapter

initialize

public void initialize(VirtualPanel vp)
Initializes the list box.


onSelectionChanged

public void onSelectionChanged(VirtualPanel vp,
                               VirtualCListBox list,
                               String controlID,
                               int line,
                               int column)
List boxes generates this message. The line and column parameter are individually set to -1 if no line or column is selected respectively.

Specified by:
onSelectionChanged in interface VirtualComponentListener
Overrides:
onSelectionChanged in class VirtualComponentAdapter

onCheckedChange

public void onCheckedChange(VirtualPanel vp,
                            VirtualControl control,
                            String controlID,
                            int state)
Combination boxes and spin buttons generates this message. The line parameter is set to -1 if no line is selected.

Specified by:
onCheckedChange in interface VirtualComponentListener
Overrides:
onCheckedChange in class VirtualComponentAdapter

onPanelClosing

public boolean onPanelClosing(VirtualPanel vp)
Called when the close button of a panel is pressed, but before any other processing has been done. If this function returns false, the application close object will be called (if defined), otherwise a faked keypress of the Escape key is performed. If these two actions failed (because there is no close object or no button or menu item is connected to the Escape key), then the function onPanelClose is called.

Specified by:
onPanelClosing in interface VirtualPanelListener
Overrides:
onPanelClosing in class VirtualPanelAdapter
Returns:
true to cancel all default processing.
See Also:
VirtualPanelAdapter.onPanelClose(se.entra.phantom.server.VirtualPanel)

onAction

public void onAction(VirtualPanel vp,
                     String controlID)
Push buttons and menu items generates this event when selected.

Overrides:
onAction in class VirtualComponentAdapter


Phantom® and NetPhantom® are registered trademarks of Codectica Systems SARL.
© Copyright Codectica Systems SARL, 2008. All rights reserved.