org.zu.ardulink.gui
Class KeyPressListener

java.lang.Object
  extended by java.awt.event.KeyAdapter
      extended by org.zu.ardulink.gui.KeyPressListener
All Implemented Interfaces:
KeyListener, EventListener

public class KeyPressListener
extends KeyAdapter

Ardulink - return to homepage

v0.6.1 Magnum PI

Class used by KeyPressController class to capture key press events.

Author:
Luciano Zu project Ardulink http://www.ardulink.org/
See Also:



Constructor Summary
KeyPressListener()
           
 
Method Summary
 JLabel getGuiInteractionLabel()
           
 void keyPressed(KeyEvent e)
           
 void keyReleased(KeyEvent e)
           
 void removeGuiInteractionLabel()
           
 void setGuiInteractionLabel(JLabel guiInteractionLabel)
           
 void setLink(org.zu.ardulink.Link link)
           
 
Methods inherited from class java.awt.event.KeyAdapter
keyTyped
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyPressListener

public KeyPressListener()
Method Detail

getGuiInteractionLabel

public JLabel getGuiInteractionLabel()

setGuiInteractionLabel

public void setGuiInteractionLabel(JLabel guiInteractionLabel)

removeGuiInteractionLabel

public void removeGuiInteractionLabel()

keyPressed

public void keyPressed(KeyEvent e)
Specified by:
keyPressed in interface KeyListener
Overrides:
keyPressed in class KeyAdapter

keyReleased

public void keyReleased(KeyEvent e)
Specified by:
keyReleased in interface KeyListener
Overrides:
keyReleased in class KeyAdapter

setLink

public void setLink(org.zu.ardulink.Link link)


Copyright © 2015. All rights reserved.