1 |
/* SizeRequirements.java -- |
/* SizeRequirements.java -- |
2 |
Copyright (C) 2002 Free Software Foundation, Inc. |
Copyright (C) 2002, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
35 |
obligated to do so. If you do not wish to do so, delete this |
obligated to do so. If you do not wish to do so, delete this |
36 |
exception statement from your version. */ |
exception statement from your version. */ |
37 |
|
|
|
|
|
38 |
package javax.swing; |
package javax.swing; |
39 |
|
|
40 |
import java.io.Serializable; |
import java.io.Serializable; |
48 |
{ |
{ |
49 |
private static final long serialVersionUID = 9217749429906736553L; |
private static final long serialVersionUID = 9217749429906736553L; |
50 |
|
|
51 |
//------------------------------------------------------------- |
/** |
52 |
// Variables -------------------------------------------------- |
* minimum |
53 |
//------------------------------------------------------------- |
*/ |
54 |
|
public int minimum; |
55 |
/** |
|
56 |
* minimum |
/** |
57 |
*/ |
* preferred |
58 |
public int minimum; |
*/ |
59 |
|
public int preferred; |
60 |
/** |
|
61 |
* preferred |
/** |
62 |
*/ |
* maximum |
63 |
public int preferred; |
*/ |
64 |
|
public int maximum; |
65 |
/** |
|
66 |
* maximum |
/** |
67 |
*/ |
* alignment |
68 |
public int maximum; |
*/ |
69 |
|
public float alignment; |
70 |
/** |
|
71 |
* alignment |
/** |
72 |
*/ |
* Constructor SizeRequirements |
73 |
public float alignment; |
*/ |
74 |
|
public SizeRequirements() |
75 |
|
{ |
76 |
//------------------------------------------------------------- |
// TODO |
77 |
// Initialization --------------------------------------------- |
} // SizeRequirements() |
78 |
//------------------------------------------------------------- |
|
79 |
|
/** |
80 |
/** |
* Constructor SizeRequirements |
81 |
* Constructor SizeRequirements |
* @param min TODO |
82 |
*/ |
* @param pref TODO |
83 |
public SizeRequirements() { |
* @param max TODO |
84 |
// TODO |
* @param align TODO |
85 |
} // SizeRequirements() |
*/ |
86 |
|
public SizeRequirements(int min, int pref, int max, float align) |
87 |
/** |
{ |
88 |
* Constructor SizeRequirements |
// TODO |
89 |
* @param min TODO |
} |
90 |
* @param pref TODO |
|
91 |
* @param max TODO |
/** |
92 |
* @param align TODO |
* toString |
93 |
*/ |
* @returns String |
94 |
public SizeRequirements(int min, int pref, int max, float align) { |
*/ |
95 |
// TODO |
public String toString() |
96 |
} // SizeRequirements() |
{ |
97 |
|
return null; // TODO |
98 |
|
} |
99 |
//------------------------------------------------------------- |
|
100 |
// Methods ---------------------------------------------------- |
/** |
101 |
//------------------------------------------------------------- |
* getTiledSizeRequirements |
102 |
|
* @param children TODO |
103 |
/** |
* @returns SizeRequirements |
104 |
* toString |
*/ |
105 |
* @returns String |
public static SizeRequirements |
106 |
*/ |
getTiledSizeRequirements(SizeRequirements[] children) |
107 |
public String toString() { |
{ |
108 |
return null; // TODO |
return null; // TODO |
109 |
} // toString() |
} |
110 |
|
|
111 |
/** |
/** |
112 |
* getTiledSizeRequirements |
* getAlignedSizeRequirements |
113 |
* @param children TODO |
* @param children TODO |
114 |
* @returns SizeRequirements |
* @returns SizeRequirements |
115 |
*/ |
*/ |
116 |
public static SizeRequirements getTiledSizeRequirements( |
public static SizeRequirements |
117 |
SizeRequirements[] children) { |
getAlignedSizeRequirements(SizeRequirements[] children) |
118 |
return null; // TODO |
{ |
119 |
} // getTiledSizeRequirements() |
return null; // TODO |
120 |
|
} |
121 |
/** |
|
122 |
* getAlignedSizeRequirements |
/** |
123 |
* @param children TODO |
* calculateTiledPositions |
124 |
* @returns SizeRequirements |
* @param allocated TODO |
125 |
*/ |
* @param total TODO |
126 |
public static SizeRequirements getAlignedSizeRequirements( |
* @param children TODO |
127 |
SizeRequirements[] children) { |
* @param offset TODO |
128 |
return null; // TODO |
* @param spans TODO |
129 |
} // getAlignedSizeRequirements() |
*/ |
130 |
|
public static void calculateTiledPositions(int allocated, |
131 |
/** |
SizeRequirements total, |
132 |
* calculateTiledPositions |
SizeRequirements[] children, |
133 |
* @param allocated TODO |
int[] offset, int[] spans) |
134 |
* @param total TODO |
{ |
135 |
* @param children TODO |
// TODO |
136 |
* @param offset TODO |
} |
137 |
* @param spans TODO |
|
138 |
*/ |
/** |
139 |
public static void calculateTiledPositions(int allocated, |
* calculateAlignedPositions |
140 |
SizeRequirements total, SizeRequirements[] children, |
* @param allocated TODO |
141 |
int[] offset, int[] spans) { |
* @param total TODO |
142 |
// TODO |
* @param children TODO |
143 |
} // calculateTiledPositions() |
* @param offset TODO |
144 |
|
* @param spans TODO |
145 |
/** |
*/ |
146 |
* calculateAlignedPositions |
public static void calculateAlignedPositions(int allocated, |
147 |
* @param allocated TODO |
SizeRequirements total, |
148 |
* @param total TODO |
SizeRequirements[] children, |
149 |
* @param children TODO |
int[] offset, int[] spans) |
150 |
* @param offset TODO |
{ |
151 |
* @param spans TODO |
// TODO |
152 |
*/ |
} |
153 |
public static void calculateAlignedPositions(int allocated, |
|
154 |
SizeRequirements total, SizeRequirements[] children, |
/** |
155 |
int[] offset, int[] spans) { |
* adjustSizes |
156 |
// TODO |
* @param delta TODO |
157 |
} // calculateAlignedPositions() |
* @param children TODO |
158 |
|
* @returns int[] |
159 |
/** |
*/ |
160 |
* adjustSizes |
public static int[] adjustSizes(int delta, SizeRequirements[] children) |
161 |
* @param delta TODO |
{ |
162 |
* @param children TODO |
return null; // TODO |
163 |
* @returns int[] |
} |
164 |
*/ |
} |
|
public static int[] adjustSizes(int delta, SizeRequirements[] children) { |
|
|
return null; // TODO |
|
|
} // adjustSizes() |
|
|
|
|
|
|
|
|
} // SizeRequirements |
|