Class ThrottleFrame.FrameListener

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.InternalFrameListener
    Enclosing class:
    ThrottleFrame

    class ThrottleFrame.FrameListener
    extends javax.swing.event.InternalFrameAdapter
    An extension of InternalFrameAdapter for listening to the closing of of this frame's internal frames.
    • Constructor Summary

      Constructors 
      Constructor Description
      FrameListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void internalFrameActivated​(javax.swing.event.InternalFrameEvent e)
      Listen for the activation of an internal frame record this property for correct processing of the frame cycling key.
      void internalFrameClosing​(javax.swing.event.InternalFrameEvent e)
      Listen for the closing of an internal frame and set the "View" menu appropriately.
      • Methods inherited from class javax.swing.event.InternalFrameAdapter

        internalFrameClosed, internalFrameDeactivated, internalFrameDeiconified, internalFrameIconified, internalFrameOpened
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • internalFrameClosing

        public void internalFrameClosing​(javax.swing.event.InternalFrameEvent e)
        Listen for the closing of an internal frame and set the "View" menu appropriately. Then hide the closing frame
        Specified by:
        internalFrameClosing in interface javax.swing.event.InternalFrameListener
        Overrides:
        internalFrameClosing in class javax.swing.event.InternalFrameAdapter
        Parameters:
        e - The InternalFrameEvent leading to this action
      • internalFrameActivated

        public void internalFrameActivated​(javax.swing.event.InternalFrameEvent e)
        Listen for the activation of an internal frame record this property for correct processing of the frame cycling key.
        Specified by:
        internalFrameActivated in interface javax.swing.event.InternalFrameListener
        Overrides:
        internalFrameActivated in class javax.swing.event.InternalFrameAdapter
        Parameters:
        e - The InternalFrameEvent leading to this action