ComponentOrientation.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_ComponentOrientation__
  3. #define __java_awt_ComponentOrientation__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class ComponentOrientation;
  13. }
  14. }
  15. }
  16. class java::awt::ComponentOrientation : public ::java::lang::Object
  17. {
  18. ComponentOrientation(jint);
  19. public:
  20. jboolean isHorizontal();
  21. jboolean isLeftToRight();
  22. static ::java::awt::ComponentOrientation * getOrientation(::java::util::Locale *);
  23. static ::java::awt::ComponentOrientation * getOrientation(::java::util::ResourceBundle *);
  24. private:
  25. static const jlong serialVersionUID = -4113291392143563828LL;
  26. static const jint UNKNOWN_ID = 1;
  27. static const jint HORIZONTAL_ID = 2;
  28. static const jint LEFT_TO_RIGHT_ID = 4;
  29. public:
  30. static ::java::awt::ComponentOrientation * LEFT_TO_RIGHT;
  31. static ::java::awt::ComponentOrientation * RIGHT_TO_LEFT;
  32. static ::java::awt::ComponentOrientation * UNKNOWN;
  33. private:
  34. jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) orientation;
  35. public:
  36. static ::java::lang::Class class$;
  37. };
  38. #endif // __java_awt_ComponentOrientation__