PopupMenuPeer.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_peer_PopupMenuPeer__
  3. #define __java_awt_peer_PopupMenuPeer__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Component;
  13. class Event;
  14. class Font;
  15. class MenuItem;
  16. namespace peer
  17. {
  18. class PopupMenuPeer;
  19. }
  20. }
  21. }
  22. }
  23. class java::awt::peer::PopupMenuPeer : public ::java::lang::Object
  24. {
  25. public:
  26. virtual void show(::java::awt::Component *, jint, jint) = 0;
  27. virtual void show(::java::awt::Event *) = 0;
  28. virtual void addItem(::java::awt::MenuItem *) = 0;
  29. virtual void addSeparator() = 0;
  30. virtual void delItem(jint) = 0;
  31. virtual void disable() = 0;
  32. virtual void enable() = 0;
  33. virtual void setEnabled(jboolean) = 0;
  34. virtual void setLabel(::java::lang::String *) = 0;
  35. virtual void dispose() = 0;
  36. virtual void setFont(::java::awt::Font *) = 0;
  37. static ::java::lang::Class class$;
  38. } __attribute__ ((java_interface));
  39. #endif // __java_awt_peer_PopupMenuPeer__