public class Tray extends Widget
IMPORTANT: This class is not intended to be subclassed.
Display.getSystemTray()| Constructor and Description |
|---|
Tray() |
| 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, getAdapter, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toStringpublic TrayItem getItem(int index)
index - the index of the item to returnjava.lang.IllegalArgumentException - 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 -
Copyright (c) EclipseSource and others 2002, 2016.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0