public class DesktopNotify
extends java.lang.Object
Constructor and Description |
---|
DesktopNotify(SwingTrayIcon sti,
java.lang.String iconpath) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNotifySendPath() |
boolean |
isEnabled()
Are notifications enabled
|
boolean |
isSupported()
Is notifications supported
|
void |
raiseNotification()
Raise a notification
|
void |
setEnabled(boolean enabled)
Disable/Enable notifications
|
void |
setNotificationBody(java.lang.String text)
Set desktop notification body
|
void |
setNotificationTitle(java.lang.String text)
Set desktop notification title
|
public DesktopNotify(SwingTrayIcon sti, java.lang.String iconpath)
public boolean isSupported()
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- public void setNotificationTitle(java.lang.String text)
text
- public void setNotificationBody(java.lang.String text)
text
- public void raiseNotification()
public java.lang.String getNotifySendPath()