Daily bump.
[official-gcc.git] / libjava / javax / swing / Spring.h
blob9459f630f8ea57e7677dd0a70aca19d4f39e40e5
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_Spring__
5 #define __javax_swing_Spring__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace java
14 namespace awt
16 class Component;
19 namespace javax
21 namespace swing
23 class Spring;
28 class javax::swing::Spring : public ::java::lang::Object
31 public: // actually protected
32 Spring();
33 public:
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;
43 private:
44 jint getShrinkRange();
45 jint getExpandRange();
46 public: // actually package-private
47 virtual jdouble getStrain();
48 virtual void setStrain(jdouble);
49 public:
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__