AncestorEvent.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_event_AncestorEvent__
  3. #define __javax_swing_event_AncestorEvent__
  4. #pragma interface
  5. #include <java/awt/AWTEvent.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Container;
  13. }
  14. }
  15. namespace javax
  16. {
  17. namespace swing
  18. {
  19. class JComponent;
  20. namespace event
  21. {
  22. class AncestorEvent;
  23. }
  24. }
  25. }
  26. }
  27. class javax::swing::event::AncestorEvent : public ::java::awt::AWTEvent
  28. {
  29. public:
  30. AncestorEvent(::javax::swing::JComponent *, jint, ::java::awt::Container *, ::java::awt::Container *);
  31. virtual ::java::awt::Container * getAncestor();
  32. virtual ::java::awt::Container * getAncestorParent();
  33. virtual ::javax::swing::JComponent * getComponent();
  34. private:
  35. static const jlong serialVersionUID = -8079801679695605002LL;
  36. public:
  37. static const jint ANCESTOR_ADDED = 1;
  38. static const jint ANCESTOR_REMOVED = 2;
  39. static const jint ANCESTOR_MOVED = 3;
  40. private:
  41. ::javax::swing::JComponent * __attribute__((aligned(__alignof__( ::java::awt::AWTEvent)))) sourceComponent;
  42. ::java::awt::Container * ancestor;
  43. ::java::awt::Container * ancestorParent;
  44. public:
  45. static ::java::lang::Class class$;
  46. };
  47. #endif // __javax_swing_event_AncestorEvent__