public class Tray extends Widget
IMPORTANT: This class is not intended to be subclassed.
Display.getSystemTray()
,
Tray, TrayItem snippets,
Sample code and further informationModifier 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
TrayItem s which are the items
in the receiver. |
addDisposeListener, addListener, checkSubclass, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
public TrayItem getItem(int index)
index
- the index of the item to returnjava.lang.IllegalArgumentException
- SWTException
- public int getItemCount()
SWTException
- public TrayItem[] getItems()
TrayItem
s 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
-