MenuShortcut.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_MENUSHORTCUT_H
00002 #define JAVA_AWT_MENUSHORTCUT_H 1
00003 
00004 #ifndef JAVA_LANG_OBJECT_H
00005 #include <java_lang/Object.h>
00006 #endif /* JAVA_LANG_OBJECT_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 
00029     class JAVA_AWT_SPEC MenuShortcut 
00030       : virtual public Object {
00031     public:
00032 
00042       MenuShortcut(jint key = 0, jboolean useShiftModifier = false);
00043 
00050       virtual jint getKey() const;
00051 
00058       virtual jboolean usesShiftModifier() const;
00059 
00069       virtual jboolean equals(const Object& obj) const;
00070 
00080       virtual jboolean equals(const MenuShortcut& s) const;
00081 
00087       virtual jint hashCode() const;
00088 
00094       virtual String toString() const;
00095 
00096     protected:
00097 
00113       jint key;
00114 
00124       jboolean usesShift;
00125 
00126     private:
00127       REGISTER_MEMBERS;
00128     };
00129 
00130   } // namespace awt
00131 } // namespace java
00132 
00133 #endif /* JAVA_AWT_MENUSHORTCUT_H */

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