W3cubDocs

/OpenJDK 21

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 appHidden(AppHiddenEvent e)
Called when the app is hidden.
void appUnhidden(AppHiddenEvent e)
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

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/desktop/AppHiddenListener.html