edu.ou.kmi.buddyspace.gui.systemtray
Class DesktopIndicatorLink
java.lang.Object
|
+--edu.ou.kmi.buddyspace.gui.systemtray.DesktopIndicatorLink
- All Implemented Interfaces:
- java.awt.event.ActionListener, DesktopIndicatorListener, java.util.EventListener
- public class DesktopIndicatorLink
- extends java.lang.Object
- implements DesktopIndicatorListener, java.awt.event.ActionListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timer
protected javax.swing.Timer timer
lastScreenSaverActive
protected boolean lastScreenSaverActive
DesktopIndicatorLink
public DesktopIndicatorLink(BSMainFrame mainFrame)
init
public boolean init()
setIcon
public void setIcon(boolean connected,
java.lang.String showString,
boolean newMessage)
finish
public void finish()
onDesktopIndicatorClicked
public void onDesktopIndicatorClicked(DesktopIndicator source)
- Description copied from interface:
DesktopIndicatorListener
- Called when a desktop indicator is clicked.
- Specified by:
onDesktopIndicatorClicked
in interface DesktopIndicatorListener
setMainFrameVisible
public void setMainFrameVisible(boolean visible)
onDesktopIndicatorPresenceChanged
public void onDesktopIndicatorPresenceChanged(DesktopIndicator source,
java.lang.String presenceStr)
- Called when presence was changed.
- Specified by:
onDesktopIndicatorPresenceChanged
in interface DesktopIndicatorListener
onDesktopIndicatorExit
public void onDesktopIndicatorExit(DesktopIndicator source)
- Notifies all listeners that exit was clicked.
- Specified by:
onDesktopIndicatorExit
in interface DesktopIndicatorListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener