Lines Matching defs:parent
319 * @param parent the container in which to do the layout
325 public Dimension preferredLayoutSize(Container parent) {
326 synchronized (parent.getTreeLock()) {
327 Insets insets = parent.getInsets();
328 int ncomponents = parent.getComponentCount();
340 Component comp = parent.getComponent(i);
368 * @param parent the container in which to do the layout
374 public Dimension minimumLayoutSize(Container parent) {
375 synchronized (parent.getTreeLock()) {
376 Insets insets = parent.getInsets();
377 int ncomponents = parent.getComponentCount();
389 Component comp = parent.getComponent(i);
417 * @param parent the container in which to do the layout
421 public void layoutContainer(Container parent) {
422 synchronized (parent.getTreeLock()) {
423 Insets insets = parent.getInsets();
424 int ncomponents = parent.getComponentCount();
427 boolean ltr = parent.getComponentOrientation().isLeftToRight();
443 int widthWOInsets = parent.width - (insets.left + insets.right);
448 int heightWOInsets = parent.height - (insets.top + insets.bottom);
456 parent.getComponent(i).setBounds(x, y, widthOnComponent, heightOnComponent);
461 for (int c = 0, x = (parent.width - insets.right - widthOnComponent) - extraWidthAvailable; c < ncols ; c++, x -= widthOnComponent + hgap) {
465 parent.getComponent(i).setBounds(x, y, widthOnComponent, heightOnComponent);