Package jmri.jmrit.throttle
Class ThrottleFrame.FrameListener
java.lang.Object
javax.swing.event.InternalFrameAdapter
jmri.jmrit.throttle.ThrottleFrame.FrameListener
- All Implemented Interfaces:
EventListener,InternalFrameListener
- Enclosing class:
- ThrottleFrame
An extension of InternalFrameAdapter for listening to the closing of of
this frame's internal frames.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidListen for the activation of an internal frame record this property for correct processing of the frame cycling key.voidListen 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
-
Constructor Details
-
FrameListener
-
-
Method Details
-
internalFrameClosing
Listen for the closing of an internal frame and set the "View" menu appropriately. Then hide the closing frame- Specified by:
internalFrameClosingin interfaceInternalFrameListener- Overrides:
internalFrameClosingin classInternalFrameAdapter- Parameters:
e- The InternalFrameEvent leading to this action
-
internalFrameActivated
Listen for the activation of an internal frame record this property for correct processing of the frame cycling key.- Specified by:
internalFrameActivatedin interfaceInternalFrameListener- Overrides:
internalFrameActivatedin classInternalFrameAdapter- Parameters:
e- The InternalFrameEvent leading to this action
-