CompatibilityFocusTraversalPolicy.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_CompatibilityFocusTraversalPolicy__
  3. #define __javax_swing_CompatibilityFocusTraversalPolicy__
  4. #pragma interface
  5. #include <java/awt/FocusTraversalPolicy.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Component;
  13. class Container;
  14. class FocusTraversalPolicy;
  15. }
  16. }
  17. namespace javax
  18. {
  19. namespace swing
  20. {
  21. class CompatibilityFocusTraversalPolicy;
  22. }
  23. }
  24. }
  25. class javax::swing::CompatibilityFocusTraversalPolicy : public ::java::awt::FocusTraversalPolicy
  26. {
  27. public: // actually package-private
  28. CompatibilityFocusTraversalPolicy(::java::awt::FocusTraversalPolicy *);
  29. public:
  30. virtual ::java::awt::Component * getComponentAfter(::java::awt::Container *, ::java::awt::Component *);
  31. virtual ::java::awt::Component * getComponentBefore(::java::awt::Container *, ::java::awt::Component *);
  32. virtual ::java::awt::Component * getFirstComponent(::java::awt::Container *);
  33. virtual ::java::awt::Component * getLastComponent(::java::awt::Container *);
  34. virtual ::java::awt::Component * getDefaultComponent(::java::awt::Container *);
  35. public: // actually package-private
  36. virtual void setNextFocusableComponent(::java::awt::Component *, ::java::awt::Component *);
  37. virtual void addNextFocusableComponent(::java::awt::Component *, ::java::awt::Component *);
  38. virtual void removeNextFocusableComponent(::java::awt::Component *, ::java::awt::Component *);
  39. private:
  40. ::java::awt::FocusTraversalPolicy * __attribute__((aligned(__alignof__( ::java::awt::FocusTraversalPolicy)))) fallback;
  41. ::java::util::HashMap * forward;
  42. ::java::util::HashMap * backward;
  43. public:
  44. static ::java::lang::Class class$;
  45. };
  46. #endif // __javax_swing_CompatibilityFocusTraversalPolicy__