APIdia Launch Partner
Top Description Methods
javax.swing.event

public Interface InternalFrameListener

extends EventListener
Known Direct Implementers
javax.swing.plaf.basic.BasicInternalFrameUI.BasicInternalFrameListener, javax.swing.plaf.basic.BasicInternalFrameUI.Handler, javax.swing.event.InternalFrameAdapter
Imports
java.util.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.

Author
Thomas Ball
See Also
java.awt.event.WindowListener

Method Summary

Modifier and TypeMethod and Description
public void
internalFrameActivated(InternalFrameEvent
an InternalFrameEvent with information about the JInternalFrame that originated the event
e
)

Invoked when an internal frame is activated.

public void
internalFrameClosed(InternalFrameEvent
an InternalFrameEvent with information about the JInternalFrame that originated the event
e
)

Invoked when an internal frame has been closed.

public void
internalFrameClosing(InternalFrameEvent
an InternalFrameEvent with information about the JInternalFrame that originated the event
e
)

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

public void
internalFrameDeactivated(InternalFrameEvent
an InternalFrameEvent with information about the JInternalFrame that originated the event
e
)

Invoked when an internal frame is de-activated.

public void
internalFrameDeiconified(InternalFrameEvent
an InternalFrameEvent with information about the JInternalFrame that originated the event
e
)

Invoked when an internal frame is de-iconified.

public void
internalFrameIconified(InternalFrameEvent
an InternalFrameEvent with information about the JInternalFrame that originated the event
e
)

Invoked when an internal frame is iconified.

public void
internalFrameOpened(InternalFrameEvent
an InternalFrameEvent with information about the JInternalFrame that originated the event
e
)

Invoked when a internal frame has been opened.

Method Detail

internalFrameActivatedback to summary
public void internalFrameActivated(InternalFrameEvent e)

Invoked when an internal frame is activated.

Parameters
e:InternalFrameEvent

an InternalFrameEvent with information about the JInternalFrame that originated the event

See Also
javax.swing.JInternalFrame#setSelected
internalFrameClosedback to summary
public void internalFrameClosed(InternalFrameEvent e)

Invoked when an internal frame has been closed.

Parameters
e:InternalFrameEvent

an InternalFrameEvent with information about the JInternalFrame that originated the event

See Also
javax.swing.JInternalFrame#setClosed
internalFrameClosingback to summary
public 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.

Parameters
e:InternalFrameEvent

an InternalFrameEvent with information about the JInternalFrame that originated the event

See Also
javax.swing.JInternalFrame#setDefaultCloseOperation
internalFrameDeactivatedback to summary
public void internalFrameDeactivated(InternalFrameEvent e)

Invoked when an internal frame is de-activated.

Parameters
e:InternalFrameEvent

an InternalFrameEvent with information about the JInternalFrame that originated the event

See Also
javax.swing.JInternalFrame#setSelected
internalFrameDeiconifiedback to summary
public void internalFrameDeiconified(InternalFrameEvent e)

Invoked when an internal frame is de-iconified.

Parameters
e:InternalFrameEvent

an InternalFrameEvent with information about the JInternalFrame that originated the event

See Also
javax.swing.JInternalFrame#setIcon
internalFrameIconifiedback to summary
public void internalFrameIconified(InternalFrameEvent e)

Invoked when an internal frame is iconified.

Parameters
e:InternalFrameEvent

an InternalFrameEvent with information about the JInternalFrame that originated the event

See Also
javax.swing.JInternalFrame#setIcon
internalFrameOpenedback to summary
public void internalFrameOpened(InternalFrameEvent e)

Invoked when a internal frame has been opened.

Parameters
e:InternalFrameEvent

an InternalFrameEvent with information about the JInternalFrame that originated the event

See Also
javax.swing.JInternalFrame#show