ChoicePeer.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_PEER_CHOICEPEER_H
00002 #define JAVA_AWT_PEER_CHOICEPEER_H 1
00003 
00004 #ifndef JAVA_AWT_PEER_COMPONENTPEER_H
00005 #include <java_awt_peer/ComponentPeer.h>
00006 #endif /* JAVA_AWT_PEER_COMPONENTPEER_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 peer {
00014 
00022       class ChoicePeer : virtual public ComponentPeer {
00023       public:
00024         virtual jint getSelectedIndex() const = 0;
00025         virtual void add(const String& item, jint index) = 0;
00026         virtual void remove(jint index) = 0;
00027         virtual void removeAll() = 0;
00028         virtual void select(jint index) = 0;
00029       private:
00030         REGISTER_MEMBERS;
00031       };
00032 
00033     } // namespace peer
00034   } // namespace awt
00035 } // namespace java
00036 
00037 #endif /* JAVA_AWT_PEER_CHOICEPEER_H */

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