org.ardulink.gui
Class KeyPressListener
- java.lang.Object
- java.awt.event.KeyAdapter
- org.ardulink.gui.KeyPressListener
- All Implemented Interfaces:
- java.awt.event.KeyListener, java.util.EventListener
public class KeyPressListener extends java.awt.event.KeyAdapter
[ardulinktitle] [ardulinkversion] Class used by KeyPressController class to capture key press events. project Ardulink http://www.ardulink.org/- See Also:
[adsense]
Constructor Summary
Constructors Constructor and Description KeyPressListener()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description javax.swing.JLabel
getGuiInteractionLabel()
void
keyPressed(java.awt.event.KeyEvent e)
void
keyReleased(java.awt.event.KeyEvent e)
void
removeGuiInteractionLabel()
void
setGuiInteractionLabel(javax.swing.JLabel guiInteractionLabel)
void
setLink(org.ardulink.legacy.Link link)
Method Detail
getGuiInteractionLabel
public javax.swing.JLabel getGuiInteractionLabel()
setGuiInteractionLabel
public void setGuiInteractionLabel(javax.swing.JLabel guiInteractionLabel)
removeGuiInteractionLabel
public void removeGuiInteractionLabel()
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed
in interfacejava.awt.event.KeyListener
- Overrides:
keyPressed
in classjava.awt.event.KeyAdapter
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased
in interfacejava.awt.event.KeyListener
- Overrides:
keyReleased
in classjava.awt.event.KeyAdapter
setLink
public void setLink(org.ardulink.legacy.Link link)
Copyright © 2019. All rights reserved.