|
Eclipse Rich Ajax Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swt.widgets.Widget org.eclipse.swt.widgets.TaskBar
public class TaskBar
Instances of this class represent the system task bar.
Display.getSystemTaskBar()
,
Sample code and further informationConstructor Summary | |
---|---|
TaskBar()
|
Method Summary | |
---|---|
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 TaskItem s which are the items
in the receiver. |
Methods inherited from class org.eclipse.swt.widgets.Widget |
---|
addDisposeListener, addListener, checkSubclass, checkWidget, dispose, getAdapter, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, reskin, setData, setData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TaskBar()
Method Detail |
---|
public TaskItem getItem(int index)
index
- the index of the item to return
java.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 item
SWTException
- public int getItemCount()
SWTException
- public TaskItem[] getItems()
TaskItem
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
-
|
Eclipse Rich Ajax Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.