Spring.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_Spring__
  3. #define __javax_swing_Spring__
  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. }
  14. }
  15. namespace javax
  16. {
  17. namespace swing
  18. {
  19. class Spring;
  20. }
  21. }
  22. }
  23. class javax::swing::Spring : public ::java::lang::Object
  24. {
  25. public: // actually protected
  26. Spring();
  27. public:
  28. static ::javax::swing::Spring * constant(jint);
  29. static ::javax::swing::Spring * constant(jint, jint, jint);
  30. virtual jint getMaximumValue() = 0;
  31. virtual jint getMinimumValue() = 0;
  32. virtual jint getPreferredValue() = 0;
  33. virtual jint getValue() = 0;
  34. static ::javax::swing::Spring * max(::javax::swing::Spring *, ::javax::swing::Spring *);
  35. static ::javax::swing::Spring * minus(::javax::swing::Spring *);
  36. virtual void setValue(jint) = 0;
  37. private:
  38. jint getShrinkRange();
  39. jint getExpandRange();
  40. public: // actually package-private
  41. virtual jdouble getStrain();
  42. virtual void setStrain(jdouble);
  43. public:
  44. static ::javax::swing::Spring * sum(::javax::swing::Spring *, ::javax::swing::Spring *);
  45. static ::javax::swing::Spring * scale(::javax::swing::Spring *, jfloat);
  46. static ::javax::swing::Spring * width(::java::awt::Component *);
  47. static ::javax::swing::Spring * height(::java::awt::Component *);
  48. static const jint UNSET = -2147483647 - 1;
  49. static ::java::lang::Class class$;
  50. };
  51. #endif // __javax_swing_Spring__