public class TrayMessage
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TrayMessage.Error |
static class |
TrayMessage.Info |
static class |
TrayMessage.Warning |
| Modifier and Type | Field and Description |
|---|---|
static int |
ICON_ERROR |
static int |
ICON_INFO |
static int |
ICON_NONE |
static int |
ICON_WARNING |
| Constructor and Description |
|---|
TrayMessage(java.lang.String message) |
TrayMessage(java.lang.String message,
int iconType) |
TrayMessage(java.lang.String title,
java.lang.String message) |
TrayMessage(java.lang.String title,
java.lang.String message,
int iconType) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconType() |
java.lang.String |
getMessage() |
int |
getTimeout() |
java.lang.String |
getTitle() |
void |
setIconType(int iconType)
Sets an icon type for the message.
|
void |
setMessage(java.lang.String message)
Sets a message that will be shown in the ballon.
|
void |
setTimeout(int timeout)
Sets timeout in seconds for showing the message.
|
void |
setTitle(java.lang.String title)
Sets the title of the ballon.
|
public static final int ICON_NONE
public static final int ICON_INFO
public static final int ICON_WARNING
public static final int ICON_ERROR
public TrayMessage(java.lang.String message)
public TrayMessage(java.lang.String message,
int iconType)
public TrayMessage(java.lang.String title,
java.lang.String message)
public TrayMessage(java.lang.String title,
java.lang.String message,
int iconType)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - public int getIconType()
public void setIconType(int iconType)
TrayMessage.ICON_type constants.iconType - public int getTimeout()
public void setTimeout(int timeout)
timeout - Specifies the time in seconds while
the balloon tooltip is displayed.