net.sourceforge.atunes.kernel.handlers
Class SystemTrayHandler

java.lang.Object
  extended by net.sourceforge.atunes.kernel.handlers.SystemTrayHandler
All Implemented Interfaces:
ApplicationFinishListener

public class SystemTrayHandler
extends java.lang.Object
implements ApplicationFinishListener

The Class SystemTrayHandler.


Method Summary
 void applicationFinish()
          Finish.
static SystemTrayHandler getInstance()
          Gets the single instance of SystemTrayHandler.
 void initTrayIcon()
          Inits the tray icon.
 void initTrayPlayerIcons()
          Inits the tray player icons.
 void setMute(boolean value)
          Sets the mute.
 void setPlaying(boolean playing)
          Sets the playing.
 void setShowOSD(boolean value)
          Sets the show osd.
 void setTrayIconVisible(boolean visible)
          Sets the tray icon visible.
 void setTrayPlayerVisible(boolean visible)
          Sets the tray player visible.
 void setTrayToolTip(java.lang.String msg)
          Sets the tray tool tip.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SystemTrayHandler getInstance()
Gets the single instance of SystemTrayHandler.

Returns:
single instance of SystemTrayHandler

applicationFinish

public void applicationFinish()
Finish.

Specified by:
applicationFinish in interface ApplicationFinishListener

initTrayIcon

public void initTrayIcon()
Inits the tray icon.


initTrayPlayerIcons

public void initTrayPlayerIcons()
Inits the tray player icons.


setMute

public void setMute(boolean value)
Sets the mute.

Parameters:
value - the new mute

setPlaying

public void setPlaying(boolean playing)
Sets the playing.

Parameters:
playing - the new playing

setShowOSD

public void setShowOSD(boolean value)
Sets the show osd.

Parameters:
value - the new show osd

setTrayIconVisible

public void setTrayIconVisible(boolean visible)
Sets the tray icon visible.

Parameters:
visible - the new tray icon visible

setTrayPlayerVisible

public void setTrayPlayerVisible(boolean visible)
Sets the tray player visible.

Parameters:
visible - the new tray player visible

setTrayToolTip

public void setTrayToolTip(java.lang.String msg)
Sets the tray tool tip.

Parameters:
msg - the new tray tool tip


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.