net.sourceforge.geeboss.view.tray
Class SystemTray

java.lang.Object
  extended by net.sourceforge.geeboss.view.tray.SystemTray

public class SystemTray
extends java.lang.Object

Geeboss is supporting a simple system tray menu that allows to re-open and to exit Geeboss. Supported on Windows and Linux.


Field Summary
static boolean mTrayIsTeasing
          Remember the status of teasing in the tray
 
Constructor Summary
SystemTray(org.eclipse.swt.widgets.Display display, org.eclipse.swt.widgets.Shell shell, MainView GeebossGui)
          Instantiate a new SystemTray
 
Method Summary
 void disable()
          Disable systray icon
 boolean isMinimizedToTray()
          Get wether Geeboss is minimized to system tray
 void setTrayItemState(boolean teasing)
          Set the trayitem state to either teasing or not.
 void updateI18N()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mTrayIsTeasing

public static boolean mTrayIsTeasing
Remember the status of teasing in the tray

Constructor Detail

SystemTray

public SystemTray(org.eclipse.swt.widgets.Display display,
                  org.eclipse.swt.widgets.Shell shell,
                  MainView GeebossGui)
Instantiate a new SystemTray

Parameters:
display - The display
shell - The shell
GeebossGui - The MainController
Method Detail

disable

public void disable()
Disable systray icon


isMinimizedToTray

public boolean isMinimizedToTray()
Get wether Geeboss is minimized to system tray

Returns:
boolean true if minimized to tray

setTrayItemState

public void setTrayItemState(boolean teasing)
Set the trayitem state to either teasing or not.

Parameters:
teasing - Set to true to indicate unread news are available

updateI18N

public void updateI18N()
See Also:
Translatable.updateI18N()


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.