48 |
* @author Andrew Selkirk |
* @author Andrew Selkirk |
49 |
* @version 1.0 |
* @version 1.0 |
50 |
*/ |
*/ |
51 |
public class OverlayLayout |
public class OverlayLayout implements LayoutManager2, Serializable |
|
implements LayoutManager2, Serializable |
|
52 |
{ |
{ |
53 |
private static final long serialVersionUID = 18082829169631543L; |
private static final long serialVersionUID = 18082829169631543L; |
54 |
|
|
55 |
//------------------------------------------------------------- |
/** |
56 |
// Variables -------------------------------------------------- |
* target |
57 |
//------------------------------------------------------------- |
*/ |
58 |
|
private Container target; |
59 |
/** |
|
60 |
* target |
/** |
61 |
*/ |
* xChildren |
62 |
private Container target; |
*/ |
63 |
|
private SizeRequirements[] xChildren; |
64 |
/** |
|
65 |
* xChildren |
/** |
66 |
*/ |
* yChildren |
67 |
private SizeRequirements[] xChildren; |
*/ |
68 |
|
private SizeRequirements[] yChildren; |
69 |
/** |
|
70 |
* yChildren |
/** |
71 |
*/ |
* xTotal |
72 |
private SizeRequirements[] yChildren; |
*/ |
73 |
|
private SizeRequirements xTotal; |
74 |
/** |
|
75 |
* xTotal |
/** |
76 |
*/ |
* yTotal |
77 |
private SizeRequirements xTotal; |
*/ |
78 |
|
private SizeRequirements yTotal; |
79 |
/** |
|
80 |
* yTotal |
/** |
81 |
*/ |
* Constructor OverlayLayout |
82 |
private SizeRequirements yTotal; |
* @param target TODO |
83 |
|
*/ |
84 |
|
public OverlayLayout(Container target) |
85 |
//------------------------------------------------------------- |
{ |
86 |
// Initialization --------------------------------------------- |
// TODO |
87 |
//------------------------------------------------------------- |
} |
88 |
|
|
89 |
/** |
/** |
90 |
* Constructor OverlayLayout |
* invalidateLayout |
91 |
* @param target TODO |
* @param target TODO |
92 |
*/ |
*/ |
93 |
public OverlayLayout(Container target) { |
public void invalidateLayout(Container target) |
94 |
// TODO |
{ |
95 |
} // OverlayLayout() |
// TODO |
96 |
|
} |
97 |
|
|
98 |
//------------------------------------------------------------- |
/** |
99 |
// Methods ---------------------------------------------------- |
* addLayoutComponent |
100 |
//------------------------------------------------------------- |
* @param string TODO |
101 |
|
* @param component TODO |
102 |
/** |
*/ |
103 |
* invalidateLayout |
public void addLayoutComponent(String string, Component component) |
104 |
* @param target TODO |
{ |
105 |
*/ |
// TODO |
106 |
public void invalidateLayout(Container target) { |
} |
107 |
// TODO |
|
108 |
} // invalidateLayout() |
/** |
109 |
|
* addLayoutComponent |
110 |
/** |
* @param component TODO |
111 |
* addLayoutComponent |
* @param constraints TODO |
112 |
* @param string TODO |
*/ |
113 |
* @param component TODO |
public void addLayoutComponent(Component component, Object constraints) |
114 |
*/ |
{ |
115 |
public void addLayoutComponent(String string, Component component) { |
// TODO |
116 |
// TODO |
} |
117 |
} // addLayoutComponent() |
|
118 |
|
/** |
119 |
/** |
* removeLayoutComponent |
120 |
* addLayoutComponent |
* @param component TODO |
121 |
* @param component TODO |
*/ |
122 |
* @param constraints TODO |
public void removeLayoutComponent(Component component) |
123 |
*/ |
{ |
124 |
public void addLayoutComponent(Component component, Object constraints) { |
// TODO |
125 |
// TODO |
} |
126 |
} // addLayoutComponent() |
|
127 |
|
/** |
128 |
/** |
* preferredLayoutSize |
129 |
* removeLayoutComponent |
* @param target TODO |
130 |
* @param component TODO |
* @returns Dimension |
131 |
*/ |
*/ |
132 |
public void removeLayoutComponent(Component component) { |
public Dimension preferredLayoutSize(Container target) |
133 |
// TODO |
{ |
134 |
} // removeLayoutComponent() |
return null; // TODO |
135 |
|
} |
136 |
/** |
|
137 |
* preferredLayoutSize |
/** |
138 |
* @param target TODO |
* minimumLayoutSize |
139 |
* @returns Dimension |
* @param target TODO |
140 |
*/ |
* @returns Dimension |
141 |
public Dimension preferredLayoutSize(Container target) { |
*/ |
142 |
return null; // TODO |
public Dimension minimumLayoutSize(Container target) |
143 |
} // preferredLayoutSize() |
{ |
144 |
|
return null; // TODO |
145 |
/** |
} |
146 |
* minimumLayoutSize |
|
147 |
* @param target TODO |
/** |
148 |
* @returns Dimension |
* maximumLayoutSize |
149 |
*/ |
* @param target TODO |
150 |
public Dimension minimumLayoutSize(Container target) { |
* @returns Dimension |
151 |
return null; // TODO |
*/ |
152 |
} // minimumLayoutSize() |
public Dimension maximumLayoutSize(Container target) |
153 |
|
{ |
154 |
/** |
return null; // TODO |
155 |
* maximumLayoutSize |
} |
156 |
* @param target TODO |
|
157 |
* @returns Dimension |
/** |
158 |
*/ |
* getLayoutAlignmentX |
159 |
public Dimension maximumLayoutSize(Container target) { |
* @param target TODO |
160 |
return null; // TODO |
* @returns float |
161 |
} // maximumLayoutSize() |
*/ |
162 |
|
public float getLayoutAlignmentX(Container target) |
163 |
/** |
{ |
164 |
* getLayoutAlignmentX |
return (float) 0.0; // TODO |
165 |
* @param target TODO |
} |
166 |
* @returns float |
|
167 |
*/ |
/** |
168 |
public float getLayoutAlignmentX(Container target) { |
* getLayoutAlignmentY |
169 |
return (float) 0.0; // TODO |
* @param target TODO |
170 |
} // getLayoutAlignmentX() |
* @returns float |
171 |
|
*/ |
172 |
/** |
public float getLayoutAlignmentY(Container target) |
173 |
* getLayoutAlignmentY |
{ |
174 |
* @param target TODO |
return (float) 0.0; // TODO |
175 |
* @returns float |
} |
176 |
*/ |
|
177 |
public float getLayoutAlignmentY(Container target) { |
/** |
178 |
return (float) 0.0; // TODO |
* layoutContainer |
179 |
} // getLayoutAlignmentY() |
* @param target TODO |
180 |
|
*/ |
181 |
/** |
public void layoutContainer(Container target) |
182 |
* layoutContainer |
{ |
183 |
* @param target TODO |
// TODO |
184 |
*/ |
} |
|
public void layoutContainer(Container target) { |
|
|
// TODO |
|
|
} // layoutContainer() |
|
185 |
|
|
186 |
|
} |
|
} // OverlayLayout |
|