Class SystrayService

java.lang.Object
de.willuhn.jameica.services.SystrayService
All Implemented Interfaces:
de.willuhn.boot.Bootable

public class SystrayService extends Object implements de.willuhn.boot.Bootable
Service, der sich um das Systay kümmert.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<de.willuhn.boot.Bootable>[]
     
    void
    init(de.willuhn.boot.BootLoader loader, de.willuhn.boot.Bootable caller)
     
    boolean
    Liefert true, wenn das Systray aktiviert werden soll.
    boolean
    Liefert true, wenn die Anwendung in das System-Tray minimiert werden soll.
    void
    setEnabled(boolean enabled)
    Liefert true, wenn das Systray aktiviert werden soll.
    void
    setMinimizeToSystray(boolean enabled)
    Legt fest, ob die Anwendung in das System-Tray minimiert werden soll.
    void
    setNewActivity(boolean b)
    Legt fest, ob das Symbol neue Aktivität anzeigen soll.
    void
     
    void
    Aktualisiert den Systray-Status.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SystrayService

      public SystrayService()
  • Method Details

    • depends

      public Class<de.willuhn.boot.Bootable>[] depends()
      Specified by:
      depends in interface de.willuhn.boot.Bootable
      See Also:
      • Bootable.depends()
    • init

      public void init(de.willuhn.boot.BootLoader loader, de.willuhn.boot.Bootable caller) throws de.willuhn.boot.SkipServiceException
      Specified by:
      init in interface de.willuhn.boot.Bootable
      Throws:
      de.willuhn.boot.SkipServiceException
      See Also:
      • Bootable.init(de.willuhn.boot.BootLoader, de.willuhn.boot.Bootable)
    • setNewActivity

      public void setNewActivity(boolean b)
      Legt fest, ob das Symbol neue Aktivität anzeigen soll.
      Parameters:
      b - true, wenn neue Aktivität angezeigt werden soll.
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface de.willuhn.boot.Bootable
      See Also:
      • Bootable.shutdown()
    • isEnabled

      public boolean isEnabled()
      Liefert true, wenn das Systray aktiviert werden soll.
      Returns:
      true, wenn das Systray aktiviert werden soll.
    • setEnabled

      public void setEnabled(boolean enabled)
      Liefert true, wenn das Systray aktiviert werden soll.
      Parameters:
      enabled - true, wenn das Systray aktiviert werden soll.
    • isMinimizeToSystray

      public boolean isMinimizeToSystray()
      Liefert true, wenn die Anwendung in das System-Tray minimiert werden soll.
      Returns:
      true, wenn die Anwendung in das System-Tray minimiert werden soll.
    • setMinimizeToSystray

      public void setMinimizeToSystray(boolean enabled)
      Legt fest, ob die Anwendung in das System-Tray minimiert werden soll.
      Parameters:
      enabled - wenn die Anwendung in das System-Tray minimiert werden soll.
    • update

      public void update()
      Aktualisiert den Systray-Status.