Removed ViewContext.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / gui / humaninput / UserInputHandler.java
1 /*
2  * Sixth 3D engine. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of version 3 of the GNU Lesser General Public License
6  * or later as published by the Free Software Foundation.
7  *
8  */
9
10 package eu.svjatoslav.sixth.e3d.gui.humaninput;
11
12 import eu.svjatoslav.sixth.e3d.gui.ViewPanel;
13 import eu.svjatoslav.sixth.e3d.gui.ViewRenderListener;
14
15 import java.awt.event.KeyEvent;
16
17 public interface UserInputHandler extends ViewRenderListener {
18
19     void focusLost(ViewPanel viewPanel);
20
21     void focusReceived(ViewPanel viewPanel);
22
23     void keyPressed(KeyEvent event, ViewPanel viewPanel);
24
25     void keyReleased(KeyEvent event, ViewPanel viewPanel);
26
27 }