public class JavaComponentObject_Implements extends Object implements VirtualComponentListener
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 |
|---|
JavaComponentObject_Implements() |
| Modifier and Type | Method and Description |
|---|---|
void | onAction(VirtualPanel panel, String controlID)Push buttons and menu items (or pop-up menu items) generates this event when selected and the original onAction wasn't processed. |
void | onAction(VirtualPanel panel, VirtualControl control, String controlID)Push buttons generates this event when selected. |
void | onAction(VirtualPanel panel, VirtualMenuItem menuItem, String controlID)Menu items (or pop-up menu items) generates this event when selected. |
void | onCheckedChange(VirtualPanel panel, VirtualControl control, String controlID, int state)Check boxes and radio buttons generates this event when state is changed on the client side. |
void | onContentChanged(VirtualPanel panel, VirtualControl control, String controlID, String text)Entry fields and multiple line entry fields generates this message. |
void | onContentChanged(VirtualPanel panel, VirtualControl control, String controlID, String text, int line)Combination boxes and spin buttons generates this message. |
void | onControlEvent(VirtualPanel panel, VirtualControl control, int event)The general notification event for "normal" controls. |
void | onFocusGained(VirtualPanel panel, VirtualControl control, String controlID)Controls that can receive input focus generates this event when they gain focus. |
void | onFocusLost(VirtualPanel panel, VirtualControl control, String controlID)Controls that can receive input focus generates this event when they lose focus. |
void | onMenuAction(VirtualPanel panel, VirtualMenuItem menuItem)Deprecated. Replaced with onAction(VirtualPanel panel,VirtualMenuItem menuItem,String controlID). |
void | onPageActivated(VirtualPanel panel)Called when a notebook page becomes active due to user interaction. |
boolean | onPanelClose(VirtualPanel panel)Called when the close button of a panel is pressed. |
boolean | onPanelClosing(VirtualPanel panel)Called when the close button of a panel is pressed, but before any other processing has been done. |
void | onPanelCreate(VirtualPanel panel)Called to initialize the panel before it is displayed. |
void | onPanelDestroy(VirtualPanel panel)Called to inform the listener that the panel is destroyed. |
void | onPropertyChange(VirtualPanel panel, VirtualControl control, String controlID, String propertyName, Object property)A control notifies the listener using this event when custom properties needs to be handled. |
void | onSelectionChanged(VirtualPanel panel, VirtualCListBox list, String controlID, int line, int column)List boxes generates this message. |
public void onPanelCreate(VirtualPanel panel)
This function doesn't perform anything.
onPanelCreate in interface VirtualPanelListenerpanel - The panel issuing the event.public void onPanelDestroy(VirtualPanel panel)
onPanelDestroy in interface VirtualPanelListenerpanel - The panel issuing the event.public boolean onPanelClosing(VirtualPanel panel)
onPanelClose is called.onPanelClosing in interface VirtualPanelListenerpanel - The panel issuing the event.VirtualPanelListener.onPanelClose(se.entra.phantom.server.VirtualPanel)public boolean onPanelClose(VirtualPanel panel)
onPanelClose in interface VirtualPanelListenerpanel - The panel issuing the event.VirtualPanelListener.onPanelClosing(se.entra.phantom.server.VirtualPanel)public void onPageActivated(VirtualPanel panel)
onPageActivated in interface VirtualPanelListenerpanel - The panel issuing the event.public void onFocusGained(VirtualPanel panel, VirtualControl control, String controlID)
onFocusGained in interface VirtualComponentListenerpanel - The panel issuing the event, parent of the control.control - The control issuing the event.controlID - The control ID issuing the event.public void onFocusLost(VirtualPanel panel, VirtualControl control, String controlID)
onFocusLost in interface VirtualComponentListenerpanel - The panel issuing the event, parent of the control.control - The control issuing the event.controlID - The control ID issuing the event.public void onContentChanged(VirtualPanel panel, VirtualControl control, String controlID, String text)
onContentChanged in interface VirtualComponentListenerpanel - The panel issuing the event, parent of the control.control - The control issuing the event.controlID - The control ID issuing the event.text - The control text contents.public void onContentChanged(VirtualPanel panel, VirtualControl control, String controlID, String text, int line)
line parameter is set to -1 if no line is selected.onContentChanged in interface VirtualComponentListenerpanel - The panel issuing the event, parent of the control.control - The control issuing the event.controlID - The control ID issuing the event.text - The control text contents.line - The selected line, or -1 for none.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 VirtualComponentListenerpanel - 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 onAction(VirtualPanel panel, VirtualControl control, String controlID)
onAction(panel,controlID) method is called.onAction in interface VirtualComponentListenerpanel - The panel issuing the event, parent of the control.control - The control issuing the event.controlID - The control ID issuing the event.public void onAction(VirtualPanel panel, VirtualMenuItem menuItem, String controlID)
onAction(panel,controlID) method is called.onAction in interface VirtualComponentListenerpanel - The panel issuing the event, parent of the control.menuItem - The menu item issuing the event.controlID - The control ID issuing the event.public void onAction(VirtualPanel panel, String controlID)
onAction wasn't processed.panel - The panel issuing the event, parent of the control.controlID - The control ID issuing the event.public void onControlEvent(VirtualPanel panel, VirtualControl control, int event)
The event parameter is one of the events as defined with the CE_* variables.
The event parameter can also be a user defined value that starts with CE_USER_DEFINED. In this case, the control parameter is a VirtualCUserWindow instance.
This method is currently unused and reserved for future use.
onControlEvent in interface VirtualComponentListenerpanel - The panel issuing the event, parent of the control.control - The control issuing the event.event - Event value.public void onCheckedChange(VirtualPanel panel, VirtualControl control, String controlID, int state)
The state is 0=unchecked, 1=checked and 2=third state (only for check boxes, or PhantomCCheckBox.STATE_UNDETERMINED).
onCheckedChange in interface VirtualComponentListenerpanel - 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 onPropertyChange(VirtualPanel panel, VirtualControl control, String controlID, String propertyName, Object property)
The object is in general dependent of the property change event string.
onPropertyChange in interface VirtualComponentListenerpanel - The panel issuing the event, parent of the control.control - The control issuing the event.controlID - The control ID issuing the event.propertyName - The property name.property - Property value depending on the property name.@Deprecated public void onMenuAction(VirtualPanel panel, VirtualMenuItem menuItem)
onAction(VirtualPanel panel,VirtualMenuItem menuItem,String controlID).onMenuAction in interface VirtualComponentListenerPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.