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