SizeRequirements.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_SizeRequirements__
  3. #define __javax_swing_SizeRequirements__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace swing
  12. {
  13. class SizeRequirements;
  14. }
  15. }
  16. }
  17. class javax::swing::SizeRequirements : public ::java::lang::Object
  18. {
  19. public:
  20. SizeRequirements();
  21. SizeRequirements(jint, jint, jint, jfloat);
  22. virtual ::java::lang::String * toString();
  23. static ::javax::swing::SizeRequirements * getTiledSizeRequirements(JArray< ::javax::swing::SizeRequirements * > *);
  24. static ::javax::swing::SizeRequirements * getAlignedSizeRequirements(JArray< ::javax::swing::SizeRequirements * > *);
  25. static void calculateTiledPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *);
  26. static void calculateTiledPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *, jboolean);
  27. private:
  28. static void adjustSmaller(jint, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, jint);
  29. static void adjustGreater(jint, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, jint);
  30. public:
  31. static void calculateAlignedPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *);
  32. static void calculateAlignedPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *, jboolean);
  33. private:
  34. static void adjustFromRight(::javax::swing::SizeRequirements *, jfloat, jint, JArray< jint > *);
  35. static void adjustFromLeft(::javax::swing::SizeRequirements *, jfloat, jint, JArray< jint > *);
  36. public:
  37. static JArray< jint > * adjustSizes(jint, JArray< ::javax::swing::SizeRequirements * > *);
  38. private:
  39. static const jlong serialVersionUID = 9217749429906736553LL;
  40. public:
  41. jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) minimum;
  42. jint preferred;
  43. jint maximum;
  44. jfloat alignment;
  45. static ::java::lang::Class class$;
  46. };
  47. #endif // __javax_swing_SizeRequirements__