public class ListAndColor 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 |
|---|
ListAndColor(String[] descriptions,
Color[] defaultColors,
Color[] colors,
VirtualControl list,
VirtualControl color,
VirtualControl defaultButton,
Component repaint)
Creates and initializes the panel with the specified colors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onAction(VirtualPanel panel,
VirtualControl control,
String controlID)
Push buttons generates this event when selected.
|
void |
onPropertyChange(VirtualPanel vp,
VirtualControl control,
String controlID,
String propertyName,
Object property)
A control notifies the listener using this event when custom properties
needs to be handled.
|
onAction, onAction, onCheckedChange, onContentChanged, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onSelectionChangedonModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose, onPanelClosing, onPanelCreate, onPanelDestroyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonPageActivated, onPanelClose, onPanelClosing, onPanelCreate, onPanelDestroypublic ListAndColor(String[] descriptions, Color[] defaultColors, Color[] colors, VirtualControl list, VirtualControl color, VirtualControl defaultButton, Component repaint)
public void onPropertyChange(VirtualPanel vp, VirtualControl control, String controlID, String propertyName, Object property)
The object is in general dependent of the property change event string.
onPropertyChange in interface VirtualComponentListeneronPropertyChange in class VirtualComponentAdapterpublic void onAction(VirtualPanel panel, VirtualControl control, String controlID)
onAction(panel,controlID)
method is called.onAction in interface VirtualComponentListeneronAction in class VirtualComponentAdapterPhantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.