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 Link icon

    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 Link icon

    • appHidden Link icon

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

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