Lines Matching defs:target

61      * @param target  the container to do layout against
63 @ConstructorProperties({"target"})
64 public OverlayLayout(Container target) {
65 this.target = target;
76 return this.target;
83 * @param target the container
85 public void invalidateLayout(Container target) {
86 checkContainer(target);
128 * in the specified target container. Recomputes the layout if it
132 * @param target the component which needs to be laid out
136 public Dimension preferredLayoutSize(Container target) {
137 checkContainer(target);
141 Insets insets = target.getInsets();
149 * contained in the specified target container. Recomputes the layout
152 * @param target the component which needs to be laid out
156 public Dimension minimumLayoutSize(Container target) {
157 checkContainer(target);
161 Insets insets = target.getInsets();
169 * contained in the specified target container. Recomputes the
173 * @param target the component that needs to be laid out
178 public Dimension maximumLayoutSize(Container target) {
179 checkContainer(target);
183 Insets insets = target.getInsets();
192 * @param target the container
195 public float getLayoutAlignmentX(Container target) {
196 checkContainer(target);
204 * @param target the container
207 public float getLayoutAlignmentY(Container target) {
208 checkContainer(target);
216 * @param target the container to lay out
218 * @exception AWTError if the target isn't the container specified to the
221 public void layoutContainer(Container target) {
222 checkContainer(target);
225 int nChildren = target.getComponentCount();
232 Dimension alloc = target.getSize();
233 Insets in = target.getInsets();
245 Component c = target.getComponent(i);
251 void checkContainer(Container target) {
252 if (this.target != target) {
261 int n = target.getComponentCount();
265 Component c = target.getComponent(i);
282 private Container target;