Package jmri.jmrit.throttle
Class ThrottleFrame.FrameListener
- java.lang.Object
-
- javax.swing.event.InternalFrameAdapter
-
- jmri.jmrit.throttle.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 voidinternalFrameActivated(javax.swing.event.InternalFrameEvent e)Listen for the activation of an internal frame record this property for correct processing of the frame cycling key.voidinternalFrameClosing(javax.swing.event.InternalFrameEvent e)Listen for the closing of an internal frame and set the "View" menu appropriately.
-
-
-
Constructor Detail
-
FrameListener
FrameListener()
-
-
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:
internalFrameClosingin interfacejavax.swing.event.InternalFrameListener- Overrides:
internalFrameClosingin classjavax.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:
internalFrameActivatedin interfacejavax.swing.event.InternalFrameListener- Overrides:
internalFrameActivatedin classjavax.swing.event.InternalFrameAdapter- Parameters:
e- The InternalFrameEvent leading to this action
-
-