public interface ITaskbarEntry
Modifier and Type | Field and Description |
---|---|
static int |
PEN_PRESSED_ON_ICON
This is an event that may be generated.
|
static int |
SET_ICON_IS_VALID |
static int |
SET_TIP_IS_VALID |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the taskbar Entry - remove the icon and tip.
|
EventDispatcher |
getEventDispatcher()
Get an event dispatcher to add listeners.
|
boolean |
removeIcon()
A quick way to remove the icon.
|
boolean |
setIconAndTip(DeviceIcon icon,
String tip,
int validItems)
Set the icon and/or tip.
|
static final int SET_ICON_IS_VALID
static final int SET_TIP_IS_VALID
static final int PEN_PRESSED_ON_ICON
EventDispatcher getEventDispatcher()
boolean setIconAndTip(DeviceIcon icon, String tip, int validItems)
icon
- the icon to set. If this is null both the icon an the tip will disappear.tip
- the tip for the icon. This can be null for no tip.validItems
- one or more of the SET_XXX values ORed together.boolean removeIcon()
void close()