Lines Matching refs:parent
64 public void layoutContainer(Container parent) {
65 Insets insets = parent.getInsets();
66 int ncomponents = parent.getComponentCount();
84 int nComps = parent.getComponentCount();
92 Component c = parent.getComponent(row * ncols + col);
100 JComponent c = (JComponent)parent.getComponent(row * ncols + col);
117 if (nFills > 0 && y < parent.getHeight()) {
119 int hAdd = (parent.getHeight() - y) / nFills;
125 hAdd = parent.getHeight() - (y+hAdded);
129 Component c = parent.getComponent(row * ncols + col);
150 Component c = parent.getComponent(row * ncols + col);
158 JComponent c = (JComponent)parent.getComponent(row * ncols + col);
175 if (nFills > 0 && x < parent.getWidth()) {
177 int wAdd = (parent.getWidth() - x) / nFills;
182 wAdd = parent.getWidth() - (x+wAdded);
186 Component c = parent.getComponent(row * ncols + col);
197 public Dimension preferredLayoutSize(Container parent) {
198 Insets insets = parent.getInsets();
199 int ncomponents = parent.getComponentCount();
211 int nComps = parent.getComponentCount();
218 Component c = parent.getComponent(row * ncols + col);
230 Component c = parent.getComponent(row * ncols + col);