|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.notification.NotificationAction
public abstract class NotificationAction
Base class for actions of a notification.
| Field Summary | |
|---|---|
static String |
ACTION_COMMAND
The command action type indicates that a command would be executed, when a notification is fired. |
static String |
ACTION_LOG_MESSAGE
The log message action type indicates that a message would be logged, when a notification is fired. |
static String |
ACTION_POPUP_MESSAGE
The popup message action type indicates that a window (or a systray popup), containing the corresponding notification message would be poped up, when a notification is fired. |
static String |
ACTION_SOUND
The sound action type indicates that a sound would be played, when a notification is fired. |
static int |
NUM_ACTIONS
Defines the number of actions. |
| Constructor Summary | |
|---|---|
protected |
NotificationAction(String actionType)
Creates a new instance of this class. |
| Method Summary | |
|---|---|
String |
getActionType()
Return the action type name. |
boolean |
isEnabled()
Returns TRUE if this notification action handler is enabled and FALSE otherwise. |
void |
setEnabled(boolean isEnabled)
Enables or disables this notification handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ACTION_SOUND
public static final String ACTION_POPUP_MESSAGE
public static final String ACTION_LOG_MESSAGE
public static final String ACTION_COMMAND
public static final int NUM_ACTIONS
| Constructor Detail |
|---|
protected NotificationAction(String actionType)
actionType - The action type name.| Method Detail |
|---|
public String getActionType()
public boolean isEnabled()
public void setEnabled(boolean isEnabled)
isEnabled - TRUE to enable this notification handler, FALSE to
disable it.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||