2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_Spring__
5 #define __javax_swing_Spring__
9 #include <java/lang/Object.h>
28 class javax::swing::Spring
: public ::java::lang::Object
31 public: // actually protected
34 static ::javax::swing::Spring
* constant(jint
);
35 static ::javax::swing::Spring
* constant(jint
, jint
, jint
);
36 virtual jint
getMaximumValue() = 0;
37 virtual jint
getMinimumValue() = 0;
38 virtual jint
getPreferredValue() = 0;
39 virtual jint
getValue() = 0;
40 static ::javax::swing::Spring
* max(::javax::swing::Spring
*, ::javax::swing::Spring
*);
41 static ::javax::swing::Spring
* minus(::javax::swing::Spring
*);
42 virtual void setValue(jint
) = 0;
44 jint
getShrinkRange();
45 jint
getExpandRange();
46 public: // actually package-private
47 virtual jdouble
getStrain();
48 virtual void setStrain(jdouble
);
50 static ::javax::swing::Spring
* sum(::javax::swing::Spring
*, ::javax::swing::Spring
*);
51 static ::javax::swing::Spring
* scale(::javax::swing::Spring
*, jfloat
);
52 static ::javax::swing::Spring
* width(::java::awt::Component
*);
53 static ::javax::swing::Spring
* height(::java::awt::Component
*);
54 static const jint UNSET
= -2147483647 - 1;
55 static ::java::lang::Class
class$
;
58 #endif // __javax_swing_Spring__