Interface InternalFrameListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
BasicInternalFrameUI.BasicInternalFrameListener, InternalFrameAdapter

public interface InternalFrameListener
extends EventListener

The listener interface for receiving internal frame events. This class is functionally equivalent to the WindowListener class in the AWT.

See How to Write an Internal Frame Listener in The Java Tutorial for further documentation.

See Also:
WindowListener

Methods

Modifier and Type Method and Description
void internalFrameActivated(InternalFrameEvent e)

Invoked when an internal frame is activated.

void internalFrameClosed(InternalFrameEvent e)

Invoked when an internal frame has been closed.

void internalFrameClosing(InternalFrameEvent e)

Invoked when an internal frame is in the process of being closed.

void internalFrameDeactivated(InternalFrameEvent e)

Invoked when an internal frame is de-activated.

void internalFrameDeiconified(InternalFrameEvent e)

Invoked when an internal frame is de-iconified.

void internalFrameIconified(InternalFrameEvent e)

Invoked when an internal frame is iconified.

void internalFrameOpened(InternalFrameEvent e)

Invoked when a internal frame has been opened.

Methods

internalFrameOpened

void internalFrameOpened(InternalFrameEvent e)

Invoked when a internal frame has been opened.

See Also:
JInternalFrame.show()

internalFrameClosing

void internalFrameClosing(InternalFrameEvent e)

Invoked when an internal frame is in the process of being closed. The close operation can be overridden at this point.

See Also:
JInternalFrame.setDefaultCloseOperation(int)

internalFrameClosed

void internalFrameClosed(InternalFrameEvent e)

Invoked when an internal frame has been closed.

See Also:
JInternalFrame.setClosed(boolean)

internalFrameIconified

void internalFrameIconified(InternalFrameEvent e)

Invoked when an internal frame is iconified.

See Also:
JInternalFrame.setIcon(boolean)

internalFrameDeiconified

void internalFrameDeiconified(InternalFrameEvent e)

Invoked when an internal frame is de-iconified.

See Also:
JInternalFrame.setIcon(boolean)

internalFrameActivated

void internalFrameActivated(InternalFrameEvent e)

Invoked when an internal frame is activated.

See Also:
JInternalFrame.setSelected(boolean)

internalFrameDeactivated

void internalFrameDeactivated(InternalFrameEvent e)

Invoked when an internal frame is de-activated.

See Also:
JInternalFrame.setSelected(boolean)

© 1993, 2020, 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/javase/8/docs/api/javax/swing/event/InternalFrameListener.html