AppHiddenListener (Java SE 11 & JDK 11 )
Keywords: java.awt.desktop.AppHiddenListener interface

Module java.desktop
Package java.awt.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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `appHidden​(AppHiddenEvent e)` | Called the app is hidden.
    `void` | `appUnhidden​(AppHiddenEvent e)` | Called when the hidden app is shown again (but not necessarily brought to the foreground).

- - ### Method Detail

    - #### appHidden

          void appHidden​(AppHiddenEvent e)

      Called 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