org.wcb.common
Class MiniBrowser.KeyHandler

java.lang.Object
  extended byjava.awt.event.KeyAdapter
      extended byorg.wcb.common.MiniBrowser.KeyHandler
All Implemented Interfaces:
java.util.EventListener, java.awt.event.KeyListener
Enclosing class:
MiniBrowser

class MiniBrowser.KeyHandler
extends java.awt.event.KeyAdapter

Detect the enter key for the location text field that the user enters and test the url. If the URL was bad then tell the user he is an idiot.


Constructor Summary
(package private) MiniBrowser.KeyHandler()
           
 
Method Summary
 void keyPressed(java.awt.event.KeyEvent evt)
          Detect action of a key event being pressed.
 
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

MiniBrowser.KeyHandler

MiniBrowser.KeyHandler()
Method Detail

keyPressed

public void keyPressed(java.awt.event.KeyEvent evt)
Detect action of a key event being pressed.

Parameters:
evt - Key event to listen for which is the enter eky


Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.