public class GenericKeyHandler
extends java.lang.Object
implements java.awt.event.KeyListener
Constructor and Description |
---|
GenericKeyHandler(Main main)
Create a KeyHandler using a handle to Main
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getKeyBindings() |
MainFrame |
getMainFrame() |
void |
keyPressed(java.awt.event.KeyEvent e)
key press events for the program moved out of GLViewer to clean up code in
GL viewer.
|
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e)
parsing the keys typed and performing actions
|
void |
setMainFrame(MainFrame mainFrame) |
public GenericKeyHandler(Main main)
public MainFrame getMainFrame()
public void setMainFrame(MainFrame mainFrame)
public static java.lang.String getKeyBindings()
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener