FocusEvent.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_EVENT_FOCUSEVENT_H
00002 #define JAVA_AWT_EVENT_FOCUSEVENT_H 1
00003 
00004 #ifndef JAVA_AWT_EVENT_COMPONENTEVENT_H
00005 #include <java_awt_event/ComponentEvent.h>
00006 #endif /* JAVA_AWT_EVENT_COMPONENTEVENT_H */
00007 #ifndef JAVA_AWT_SPEC
00008 #include <java_awt/Spec.h>
00009 #endif /* JAVA_AWT_SPEC */
00010 
00011 namespace java {
00012   namespace awt {
00013     namespace event {
00014 
00047       class JAVA_AWT_SPEC FocusEvent : public ComponentEvent {
00048 
00049       public:
00050 
00051         enum FOCUS_EVENT_ID {
00052 
00056           FOCUS_FIRST = 1004,
00057 
00061           FOCUS_GAINED = FOCUS_FIRST,
00062 
00066           FOCUS_LOST,
00067 
00071           FOCUS_LAST = FOCUS_LOST,
00072 
00073         };
00074 
00097         FocusEvent
00098           (const Ref<Component>& source = 0, jint id = FOCUS_FIRST,
00099            jboolean tempoary = false, const Ref<Component>& opposite = 0);
00100 
00107         virtual jboolean isTemporary() const;
00108 
00120         virtual Ref<Component> getOppositeComponent() const;
00121 
00128         virtual String paramString() const;
00129 
00130       protected:
00131 
00141         jboolean temporary;
00142 
00153         Ref<Component> opposite;
00154   
00155       private:
00156 
00157         REGISTER_MEMBERS;
00158 
00159       };
00160 
00161     } // namespace event
00162   } // namespace awt
00163 } // namespace java
00164 
00165 #endif /* JAVA_AWT_EVENT_FOCUSEVENT_H */

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