tk.exgerm.systemtray
Class SystemTrayIcon

java.lang.Object
  extended by java.awt.TrayIcon
      extended by tk.exgerm.systemtray.SystemTrayIcon
All Implemented Interfaces:
MouseListener, EventListener

public class SystemTrayIcon
extends TrayIcon
implements MouseListener

Predstavlja ikonicu u SystemTray-u

Author:
Tim 2

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.TrayIcon
TrayIcon.MessageType
 
Constructor Summary
SystemTrayIcon(ICoreContext coreContext)
           
 
Method Summary
protected static Image createImage(String path, String description)
           
 int getMainWindowState()
           
 void mouseClicked(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 void setMainWindowState(int mainWindowState)
           
 
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
 

Constructor Detail

SystemTrayIcon

public SystemTrayIcon(ICoreContext coreContext)
               throws Exception
Throws:
Exception
Method Detail

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