X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgui%2Fhumaninput%2FUserInputHandler.java;h=21fd6673b1b5b0e74b66c2bc7b46174ef2d0e300;hp=e2fe58388e0bccc6a5ad1918f6269710e62dc400;hb=8bceefbdb7316557ee77902cc6ac216f5c1ff160;hpb=03447008b8ee26a6463d2cd03005dc26464863db diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/UserInputHandler.java b/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/UserInputHandler.java index e2fe583..21fd667 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/UserInputHandler.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/UserInputHandler.java @@ -1,5 +1,5 @@ /* - * Sixth 3D engine. Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * Sixth 3D engine. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu * * This program is free software; you can redistribute it and/or * modify it under the terms of version 3 of the GNU Lesser General Public License @@ -9,19 +9,19 @@ package eu.svjatoslav.sixth.e3d.gui.humaninput; -import eu.svjatoslav.sixth.e3d.gui.ViewContext; -import eu.svjatoslav.sixth.e3d.gui.ViewUpdateListener; +import eu.svjatoslav.sixth.e3d.gui.ViewPanel; +import eu.svjatoslav.sixth.e3d.gui.ViewRenderListener; import java.awt.event.KeyEvent; -public interface UserInputHandler extends ViewUpdateListener { +public interface UserInputHandler extends ViewRenderListener { - void focusLost(ViewContext viewContext); + void focusLost(ViewPanel viewPanel); - void focusReceived(ViewContext viewContext); + void focusReceived(ViewPanel viewPanel); - void keyPressed(KeyEvent event, ViewContext viewContext); + void keyPressed(KeyEvent event, ViewPanel viewPanel); - void keyReleased(KeyEvent event, ViewContext viewContext); + void keyReleased(KeyEvent event, ViewPanel viewPanel); }