public class VirtualComponentListenerMulticast 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
Modifier and Type | Method and Description |
---|---|
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)
onPanelCreate
in interface VirtualPanelListener
public void onPanelDestroy(VirtualPanel panel)
onPanelDestroy
in interface VirtualPanelListener
public boolean onPanelClosing(VirtualPanel panel)
onPanelClose
is called.onPanelClosing
in interface VirtualPanelListener
onPanelClose(se.entra.phantom.server.VirtualPanel)
public boolean onPanelClose(VirtualPanel panel)
onPanelClose
in interface VirtualPanelListener
onPanelClosing(se.entra.phantom.server.VirtualPanel)
public void onPageActivated(VirtualPanel panel)
onPageActivated
in interface VirtualPanelListener
public void onFocusGained(VirtualPanel panel, VirtualControl control, String controlID)
onFocusGained
in interface VirtualComponentListener
public void onFocusLost(VirtualPanel panel, VirtualControl control, String controlID)
onFocusLost
in interface VirtualComponentListener
public void onContentChanged(VirtualPanel panel, VirtualControl control, String controlID, String text)
onContentChanged
in interface VirtualComponentListener
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 VirtualComponentListener
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
public void onAction(VirtualPanel panel, VirtualControl control, String controlID)
onAction
in interface VirtualComponentListener
public void onAction(VirtualPanel panel, VirtualMenuItem menuItem, String controlID)
onAction
in interface VirtualComponentListener
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.
onControlEvent
in interface VirtualComponentListener
@Deprecated public void onMenuAction(VirtualPanel panel, VirtualMenuItem menuItem)
onAction(VirtualPanel panel,VirtualMenuItem menuItem,String controlID)
.onMenuAction
in interface VirtualComponentListener
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 VirtualComponentListener
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 VirtualComponentListener
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.