public class TaskBar extends Widget
Display.getSystemTaskBar(),
Sample code and further information| Constructor and Description |
|---|
TaskBar() |
| Modifier and Type | Method and Description |
|---|---|
TaskItem |
getItem(int index)
Returns the item at the given, zero-relative index in the
receiver.
|
TaskItem |
getItem(Shell shell)
Returns the
TaskItem for the given Shell or the TaskItem
for the application if the Shell parameter is null. |
int |
getItemCount()
Returns the number of items contained in the receiver.
|
TaskItem[] |
getItems()
Returns an array of
TaskItems 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 TaskItem getItem(int index)
index - the index of the item to returnjava.lang.IllegalArgumentException - SWTException - public TaskItem getItem(Shell shell)
TaskItem for the given Shell or the TaskItem
for the application if the Shell parameter is null.
If the requested item is not supported by the platform it returns null.shell - the shell for which the task item is requested, or null to request the application itemSWTException - public int getItemCount()
SWTException - public TaskItem[] getItems()
TaskItems 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