Class CloseApplicationEventHandler
- java.lang.Object
-
- ch.sahits.game.openpatrician.javafx.event.CloseApplicationEventHandler
-
- All Implemented Interfaces:
java.util.EventListener
,javafx.event.EventHandler<javafx.scene.input.KeyEvent>
public class CloseApplicationEventHandler extends java.lang.Object implements javafx.event.EventHandler<javafx.scene.input.KeyEvent>
Event handler that closes the application on the key combination Ctrl+Q- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Jul 21, 2013
-
-
Constructor Summary
Constructors Constructor Description CloseApplicationEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(javafx.scene.input.KeyEvent event)
-