|
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 | |||||||||
public interface SystrayService
The SystrayService manages the system tray icon, menu and messages. It is meant to be used by all bundles that want to show a system tray message.
| Field Summary | |
|---|---|
static int |
ENVELOPE_IMG_TYPE
Image type corresponding to the envelope icon |
static int |
ERROR_MESSAGE_TYPE
Message type corresponding to an error message. |
static int |
INFORMATION_MESSAGE_TYPE
Message type corresponding to an information message. |
static int |
NONE_MESSAGE_TYPE
Message type is not accessible. |
static int |
SC_IMG_AWAY_TYPE
Image type corresponding to the sip-communicator away icon |
static int |
SC_IMG_DND_TYPE
Image type corresponding to the sip-communicator do not disturb icon |
static int |
SC_IMG_FFC_TYPE
Image type corresponding to the sip-communicator free for chat icon |
static int |
SC_IMG_OFFLINE_TYPE
Image type corresponding to the sip-communicator offline icon |
static int |
SC_IMG_TYPE
Image type corresponding to the sip-communicator icon |
static int |
WARNING_MESSAGE_TYPE
Message type corresponding to a warning message. |
| Method Summary | |
|---|---|
void |
addPopupMessageListener(SystrayPopupMessageListener listener)
Adds a listener for SystrayPopupMessageEvents posted when user clicks on the system tray popup message. |
PopupMessageHandler |
getActivePopupMessageHandler()
Get the handler currently used by the systray service for popup message |
void |
removePopupMessageListener(SystrayPopupMessageListener listener)
Removes a listener previously added with addPopupMessageListener. |
void |
selectBestPopupMessageHandler()
Selects the best available popup message handler |
PopupMessageHandler |
setActivePopupMessageHandler(PopupMessageHandler popupHandler)
Set the handler which will be used for popup message |
void |
setSystrayIcon(int imageType)
Sets a new icon to the systray. |
void |
showPopupMessage(PopupMessage popupMessage)
Shows the given PopupMessage |
| Field Detail |
|---|
static final int ERROR_MESSAGE_TYPE
static final int INFORMATION_MESSAGE_TYPE
static final int WARNING_MESSAGE_TYPE
static final int NONE_MESSAGE_TYPE
static final int SC_IMG_TYPE
static final int SC_IMG_OFFLINE_TYPE
static final int SC_IMG_AWAY_TYPE
static final int SC_IMG_FFC_TYPE
static final int SC_IMG_DND_TYPE
static final int ENVELOPE_IMG_TYPE
| Method Detail |
|---|
void showPopupMessage(PopupMessage popupMessage)
popupMessage - the message to showvoid addPopupMessageListener(SystrayPopupMessageListener listener)
listener - the listener to addvoid removePopupMessageListener(SystrayPopupMessageListener listener)
listener - the listener to removePopupMessageHandler setActivePopupMessageHandler(PopupMessageHandler popupHandler)
popupHandler - the handler to use
PopupMessageHandler getActivePopupMessageHandler()
void setSystrayIcon(int imageType)
imageType - the type of the image to setvoid selectBestPopupMessageHandler()
|
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 | |||||||||