Class StationNamePanel.inputListener
java.lang.Object
jsimgraph.panels.StationNamePanel.inputListener
- All Implemented Interfaces:
FocusListener, KeyListener, EventListener
- Enclosing class:
StationNamePanel
Listener used to change station name (associated to name JTextFields).
Parameters are set when JTextField loses focus or ENTER key is pressed.
- Author:
- Bertoli Marco Date: 23-ago-2005 Time: 11.31.20
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidprotected voidUpdate station's name
-
Constructor Details
-
inputListener
protected inputListener()
-
-
Method Details
-
updateValues
protected void updateValues()Update station's name -
focusLost
- Specified by:
focusLostin interfaceFocusListener
-
keyPressed
- Specified by:
keyPressedin interfaceKeyListener
-
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
keyReleased
- Specified by:
keyReleasedin interfaceKeyListener
-
keyTyped
- Specified by:
keyTypedin interfaceKeyListener
-