KeyListener.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_EVENT_KEYLISTENER_H
00002 #define JAVA_AWT_EVENT_KEYLISTENER_H 1
00003 
00004 #ifndef JAVA_UTIL_EVENTLISTENER_H
00005 #include <java_util/EventListener.h>
00006 #endif /* JAVA_UTIL_EVENTLISTENER_H */
00007 #ifndef JAVA_AWT_EVENT_KEYEVENT_H
00008 #include <java_awt_event/KeyEvent.h>
00009 #endif /* JAVA_AWT_EVENT_KEYEVENT_H */
00010 #ifndef JAVA_AWT_SPEC
00011 #include <java_awt/Spec.h>
00012 #endif /* JAVA_AWT_SPEC */
00013 
00014 namespace java {
00015   namespace awt {
00016     namespace event {
00017 
00041       class JAVA_AWT_SPEC KeyListener : virtual public java::util::EventListener {
00042 
00043       public:
00044 
00050         virtual void keyTyped(const KeyEvent& e) = 0;
00051 
00057         virtual void keyPressed(const KeyEvent& e) = 0;
00058 
00064         virtual void keyReleased(const KeyEvent& e) = 0;
00065 
00066       private:
00067 
00068         REGISTER_MEMBERS;
00069 
00070       };
00071 
00072     } // namespace event
00073   } // namespace awt
00074 } // namespace java
00075 
00076 #endif /* JAVA_AWT_EVENT_KEYLISTENER_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3