Module java.desktop

Interface AppHiddenListener

All Superinterfaces:
EventListener, SystemEventListener

public interface AppHiddenListener extends SystemEventListener
Implementors are notified when the app is hidden or shown by the user. This notification is helpful for discontinuing a costly animation if it's not visible to the user.
Since:
9
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the app is hidden.
    void
    Called when the hidden app is shown again (but not necessarily brought to the foreground).
  • Method Details

    • appHidden

      void appHidden(AppHiddenEvent e)
      Called when the app is hidden.
      Parameters:
      e - event
    • appUnhidden

      void appUnhidden(AppHiddenEvent e)
      Called when the hidden app is shown again (but not necessarily brought to the foreground).
      Parameters:
      e - event