tk.exgerm.systemtray
Class SystemTrayIcon
java.lang.Object
java.awt.TrayIcon
tk.exgerm.systemtray.SystemTrayIcon
- All Implemented Interfaces:
- MouseListener, EventListener
public class SystemTrayIcon
- extends TrayIcon
- implements MouseListener
Predstavlja ikonicu u SystemTray-u
- Author:
- Tim 2
Methods inherited from class java.awt.TrayIcon |
addActionListener, addMouseListener, addMouseMotionListener, displayMessage, getActionCommand, getActionListeners, getImage, getMouseListeners, getMouseMotionListeners, getPopupMenu, getSize, getToolTip, isImageAutoSize, removeActionListener, removeMouseListener, removeMouseMotionListener, setActionCommand, setImage, setImageAutoSize, setPopupMenu, setToolTip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemTrayIcon
public SystemTrayIcon(ICoreContext coreContext)
throws Exception
- Throws:
Exception
createImage
protected static Image createImage(String path,
String description)
getMainWindowState
public int getMainWindowState()
setMainWindowState
public void setMainWindowState(int mainWindowState)
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked
in interface MouseListener
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEntered
in interface MouseListener
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExited
in interface MouseListener
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleased
in interface MouseListener