|
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.impl.osdependent.jdic.SystrayServiceJdicImpl
public class SystrayServiceJdicImpl
The Systray provides a Icon and the associated TrayMenu in the system tray using the Jdic library.
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.systray.SystrayService |
|---|
ENVELOPE_IMG_TYPE, ERROR_MESSAGE_TYPE, INFORMATION_MESSAGE_TYPE, NONE_MESSAGE_TYPE, SC_IMG_AWAY_TYPE, SC_IMG_DND_TYPE, SC_IMG_FFC_TYPE, SC_IMG_OFFLINE_TYPE, SC_IMG_TYPE, WARNING_MESSAGE_TYPE |
| Constructor Summary | |
|---|---|
SystrayServiceJdicImpl()
Creates an instance of Systray. |
|
| Method Summary | |
|---|---|
void |
addPopupMessageListener(SystrayPopupMessageListener listener)
Implements the SystrayService.addPopupMessageListener method. |
PopupMessageHandler |
getActivePopupMessageHandler()
Get the handler currently used by this implementation to popup message |
TrayIcon |
getTrayIcon()
|
void |
removePopupMessageListener(SystrayPopupMessageListener listener)
Implements the SystrayService.removePopupMessageListener method. |
void |
saveStatusInformation(ProtocolProviderService protocolProvider,
String statusName)
Saves the last status for all accounts. |
void |
selectBestPopupMessageHandler()
Sets activePopupHandler to be the one with the highest preference index. |
PopupMessageHandler |
setActivePopupMessageHandler(PopupMessageHandler newHandler)
Set the handler which will be used for popup message |
void |
setSystrayIcon(int imageType)
Sets a new Systray icon. |
void |
showPopupMessage(PopupMessage popupMessage)
Implements SystraService#showPopupMessage() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystrayServiceJdicImpl()
| Method Detail |
|---|
public void saveStatusInformation(ProtocolProviderService protocolProvider,
String statusName)
protocolProvider - the protocol provider for which we save the
last selected statusstatusName - the status name to savepublic void showPopupMessage(PopupMessage popupMessage)
showPopupMessage in interface SystrayServicepopupMessage - the message we will showpublic void addPopupMessageListener(SystrayPopupMessageListener listener)
addPopupMessageListener in interface SystrayServicelistener - the listener to addpublic void removePopupMessageListener(SystrayPopupMessageListener listener)
removePopupMessageListener in interface SystrayServicelistener - the listener to removepublic void setSystrayIcon(int imageType)
setSystrayIcon in interface SystrayServiceimageType - the type of the image to set.public TrayIcon getTrayIcon()
public PopupMessageHandler setActivePopupMessageHandler(PopupMessageHandler newHandler)
setActivePopupMessageHandler in interface SystrayServicenewHandler - the handler to set. providing a null handler is like
disabling popup.
public PopupMessageHandler getActivePopupMessageHandler()
getActivePopupMessageHandler in interface SystrayServicepublic void selectBestPopupMessageHandler()
selectBestPopupMessageHandler in interface SystrayService
|
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 | |||||||||