summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/Spring.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/Spring.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/javax/swing/Spring.h')
-rw-r--r--libjava/javax/swing/Spring.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/libjava/javax/swing/Spring.h b/libjava/javax/swing/Spring.h
new file mode 100644
index 000000000..9459f630f
--- /dev/null
+++ b/libjava/javax/swing/Spring.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_Spring__
+#define __javax_swing_Spring__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class Spring;
+ }
+ }
+}
+
+class javax::swing::Spring : public ::java::lang::Object
+{
+
+public: // actually protected
+ Spring();
+public:
+ static ::javax::swing::Spring * constant(jint);
+ static ::javax::swing::Spring * constant(jint, jint, jint);
+ virtual jint getMaximumValue() = 0;
+ virtual jint getMinimumValue() = 0;
+ virtual jint getPreferredValue() = 0;
+ virtual jint getValue() = 0;
+ static ::javax::swing::Spring * max(::javax::swing::Spring *, ::javax::swing::Spring *);
+ static ::javax::swing::Spring * minus(::javax::swing::Spring *);
+ virtual void setValue(jint) = 0;
+private:
+ jint getShrinkRange();
+ jint getExpandRange();
+public: // actually package-private
+ virtual jdouble getStrain();
+ virtual void setStrain(jdouble);
+public:
+ static ::javax::swing::Spring * sum(::javax::swing::Spring *, ::javax::swing::Spring *);
+ static ::javax::swing::Spring * scale(::javax::swing::Spring *, jfloat);
+ static ::javax::swing::Spring * width(::java::awt::Component *);
+ static ::javax::swing::Spring * height(::java::awt::Component *);
+ static const jint UNSET = -2147483647 - 1;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_Spring__