Module java.desktop

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
  • Method Details

    • internalFrameOpened

      void internalFrameOpened(InternalFrameEvent e)
      Invoked when a internal frame has been opened.
      Parameters:
      e - an InternalFrameEvent with information about the JInteralFrame that originated the event
      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.
      Parameters:
      e - an InternalFrameEvent with information about the JInteralFrame that originated the event
      See Also:
      JInternalFrame.setDefaultCloseOperation(int)
    • internalFrameClosed

      void internalFrameClosed(InternalFrameEvent e)
      Invoked when an internal frame has been closed.
      Parameters:
      e - an InternalFrameEvent with information about the JInteralFrame that originated the event
      See Also:
      JInternalFrame.setClosed(boolean)
    • internalFrameIconified

      void internalFrameIconified(InternalFrameEvent e)
      Invoked when an internal frame is iconified.
      Parameters:
      e - an InternalFrameEvent with information about the JInteralFrame that originated the event
      See Also:
      JInternalFrame.setIcon(boolean)
    • internalFrameDeiconified

      void internalFrameDeiconified(InternalFrameEvent e)
      Invoked when an internal frame is de-iconified.
      Parameters:
      e - an InternalFrameEvent with information about the JInteralFrame that originated the event
      See Also:
      JInternalFrame.setIcon(boolean)
    • internalFrameActivated

      void internalFrameActivated(InternalFrameEvent e)
      Invoked when an internal frame is activated.
      Parameters:
      e - an InternalFrameEvent with information about the JInteralFrame that originated the event
      See Also:
      JInternalFrame.setSelected(boolean)
    • internalFrameDeactivated

      void internalFrameDeactivated(InternalFrameEvent e)
      Invoked when an internal frame is de-activated.
      Parameters:
      e - an InternalFrameEvent with information about the JInteralFrame that originated the event
      See Also:
      JInternalFrame.setSelected(boolean)