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 SummaryConstructors Constructor Description FrameListener()
 - 
Method SummaryAll 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- 
FrameListenerFrameListener() 
 
- 
 - 
Method Detail- 
internalFrameClosingpublic 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 interface- javax.swing.event.InternalFrameListener
- Overrides:
- internalFrameClosingin class- javax.swing.event.InternalFrameAdapter
- Parameters:
- e- The InternalFrameEvent leading to this action
 
 - 
internalFrameActivatedpublic 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 interface- javax.swing.event.InternalFrameListener
- Overrides:
- internalFrameActivatedin class- javax.swing.event.InternalFrameAdapter
- Parameters:
- e- The InternalFrameEvent leading to this action
 
 
- 
 
-