com.github.axet.desktop.os.linux
Class LinuxSysTray

java.lang.Object
  extended by com.github.axet.desktop.DesktopSysTray
      extended by com.github.axet.desktop.os.linux.LinuxSysTray

public class LinuxSysTray
extends DesktopSysTray

System Tray Protocol Specification http://standards.freedesktop.org/systemtray-spec/systemtray-spec-latest.html TODO rewrite plugin for native menus see for example XSystemTrayPeer.java


Nested Class Summary
 
Nested classes/interfaces inherited from class com.github.axet.desktop.DesktopSysTray
DesktopSysTray.Listener
 
Field Summary
 
Fields inherited from class com.github.axet.desktop.DesktopSysTray
listeners
 
Constructor Summary
LinuxSysTray()
           
 
Method Summary
 void close()
           
 void hide()
           
 void setIcon(Icon icon)
           
 void setMenu(JPopupMenu menu)
           
 void setTitle(String title)
          OSX dose not show title on icons.
 void show()
           
 void update()
           
 
Methods inherited from class com.github.axet.desktop.DesktopSysTray
addListener, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinuxSysTray

public LinuxSysTray()
Method Detail

setIcon

public void setIcon(Icon icon)
Specified by:
setIcon in class DesktopSysTray

setTitle

public void setTitle(String title)
Description copied from class: DesktopSysTray
OSX dose not show title on icons.

Specified by:
setTitle in class DesktopSysTray

show

public void show()
Specified by:
show in class DesktopSysTray

update

public void update()
Specified by:
update in class DesktopSysTray

hide

public void hide()
Specified by:
hide in class DesktopSysTray

setMenu

public void setMenu(JPopupMenu menu)
Specified by:
setMenu in class DesktopSysTray

close

public void close()
Specified by:
close in class DesktopSysTray


Copyright © 2013. All Rights Reserved.