org.openbp.swing.components.popupfield
Class JSelectionPopup.ListKeyHandler

java.lang.Object
  extended by java.awt.event.KeyAdapter
      extended by org.openbp.swing.components.popupfield.JSelectionPopup.ListKeyHandler
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener
Enclosing class:
JSelectionPopup

public class JSelectionPopup.ListKeyHandler
extends java.awt.event.KeyAdapter


Constructor Summary
JSelectionPopup.ListKeyHandler()
           
 
Method Summary
 void keyPressed(java.awt.event.KeyEvent e)
          This listener watches for the spacebar or enter being pressed and shows/hides the popup accordingly.
 
Methods inherited from class java.awt.event.KeyAdapter
keyReleased, keyTyped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSelectionPopup.ListKeyHandler

public JSelectionPopup.ListKeyHandler()
Method Detail

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
This listener watches for the spacebar or enter being pressed and shows/hides the popup accordingly.

Specified by:
keyPressed in interface java.awt.event.KeyListener
Overrides:
keyPressed in class java.awt.event.KeyAdapter


Copyright © 2011. All Rights Reserved.