summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/SizeRequirements.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/SizeRequirements.h')
-rw-r--r--libjava/javax/swing/SizeRequirements.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/libjava/javax/swing/SizeRequirements.h b/libjava/javax/swing/SizeRequirements.h
new file mode 100644
index 00000000000..7a9672a77a7
--- /dev/null
+++ b/libjava/javax/swing/SizeRequirements.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_SizeRequirements__
+#define __javax_swing_SizeRequirements__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ class SizeRequirements;
+ }
+ }
+}
+
+class javax::swing::SizeRequirements : public ::java::lang::Object
+{
+
+public:
+ SizeRequirements();
+ SizeRequirements(jint, jint, jint, jfloat);
+ virtual ::java::lang::String * toString();
+ static ::javax::swing::SizeRequirements * getTiledSizeRequirements(JArray< ::javax::swing::SizeRequirements * > *);
+ static ::javax::swing::SizeRequirements * getAlignedSizeRequirements(JArray< ::javax::swing::SizeRequirements * > *);
+ static void calculateTiledPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *);
+ static void calculateTiledPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *, jboolean);
+private:
+ static void adjustSmaller(jint, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, jint);
+ static void adjustGreater(jint, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, jint);
+public:
+ static void calculateAlignedPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *);
+ static void calculateAlignedPositions(jint, ::javax::swing::SizeRequirements *, JArray< ::javax::swing::SizeRequirements * > *, JArray< jint > *, JArray< jint > *, jboolean);
+private:
+ static void adjustFromRight(::javax::swing::SizeRequirements *, jfloat, jint, JArray< jint > *);
+ static void adjustFromLeft(::javax::swing::SizeRequirements *, jfloat, jint, JArray< jint > *);
+public:
+ static JArray< jint > * adjustSizes(jint, JArray< ::javax::swing::SizeRequirements * > *);
+private:
+ static const jlong serialVersionUID = 9217749429906736553LL;
+public:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) minimum;
+ jint preferred;
+ jint maximum;
+ jfloat alignment;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_SizeRequirements__