com.github.axet.desktop.os.linux
Class LinuxSysTray
java.lang.Object
com.github.axet.desktop.DesktopSysTray
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinuxSysTray
public LinuxSysTray()
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.