public class Tray extends Widget
IMPORTANT: This class is not intended to be subclassed.
Display.getSystemTray()| Modifier and Type | Method and Description |
|---|---|
TrayItem |
getItem(int index)
Returns the item at the given, zero-relative index in the
receiver.
|
int |
getItemCount()
Returns the number of items contained in the receiver.
|
TrayItem[] |
getItems()
Returns an array of
TrayItems which are the items
in the receiver. |
addDisposeListener, addListener, checkSubclass, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toStringpublic TrayItem getItem(int index)
index - the index of the item to returnIllegalArgumentException - SWTException - public int getItemCount()
SWTException - public TrayItem[] getItems()
TrayItems which are the items
in the receiver.
Note: This is not the actual structure used by the receiver to maintain its list of items, so modifying the array will not affect the receiver.
SWTException - Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.