jmri.jmrit.throttle
Class KeyListenerInstaller
java.lang.Object
jmri.jmrit.throttle.KeyListenerInstaller
public class KeyListenerInstaller
- extends Object
A Visitor class for installing a KeyListener on a container and
all of its subcomponents.
- Author:
- glen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyListenerInstaller
public KeyListenerInstaller()
installKeyListenerOnAllComponents
public static void installKeyListenerOnAllComponents(KeyListener k,
Container c)
- Add a KeyListener to all components.
- Parameters:
k - The KeyListener to add.c - The container to which all components are given this listener
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: