01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08: package com.gwtext.client.widgets.event;
09:
10: import com.gwtext.client.core.EventObject;
11:
12: public interface KeyListener {
13:
14: /**
15: * Fires when a key is entered.
16: *
17: * @param key the key code
18: * @param e the event object
19: */
20: void onKey(int key, EventObject e);
21: }
|