/** * Adds the standard gap for related components. */ public void addRelatedGap() { appendRelatedComponentsGapRow(); nextRow(); }
/** * Adds the standard gap for unrelated components. */ public void addUnrelatedGap() { appendUnrelatedComponentsGapRow(); nextRow(); }
/** * Adds the standard gap for related components. */ public void addRelatedGap() { appendRelatedComponentsGapRow(); nextRow(); }
/** * Adds a glue that will be given the extra space, * if this box is larger than its preferred size. */ public void addGlue() { appendGlueRow(); nextRow(); }
/** * Adds the standard gap for related components. */ public void addRelatedGap() { appendRelatedComponentsGapRow(); nextRow(); }
/** * Adds a glue that will be given the extra space, if this box is larger * than its preferred size. */ public void addGlue() { appendGlueRow(); nextRow(); }
/** * Adds the standard gap for unrelated components. */ public void addUnrelatedGap() { appendUnrelatedComponentsGapRow(); nextRow(); }
/** * Adds a glue that will be given the extra space, * if this box is larger than its preferred size. */ public void addGlue() { appendGlueRow(); nextRow(); }
/** * Adds the standard gap for unrelated components. */ public void addUnrelatedGap() { appendUnrelatedComponentsGapRow(); nextRow(); }
/** * Adds a strut of a specified size. * * @param size a constant that describes the gap */ public void addStrut(ConstantSize size) { getLayout().appendRow(new RowSpec(RowSpec.TOP, size, RowSpec.NO_GROW)); nextRow(); }
/** * Adds a fixed size component. * * @param component the component to add */ public void addFixed(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); add(component); nextRow(); }
/** * Adds a fixed size component. * * @param component * the component to add */ public void addFixed(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); add(component); nextRow(); }
/** * Adds a strut of a specified size. * * @param size * a constant that describes the gap */ public void addStrut(ConstantSize size) { getLayout().appendRow(new RowSpec(RowSpec.TOP, size, RowSpec.NO_GROW)); nextRow(); }
/** * Adds a fixed size component. * * @param component the component to add */ public void addFixed(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); add(component); nextRow(); }
/** * Adds a strut of a specified size. * * @param size a constant that describes the gap */ public void addStrut(ConstantSize size) { getLayout().appendRow(new RowSpec(RowSpec.TOP, size, FormSpec.NO_GROW)); nextRow(); }
/** * Adds a gridded component. * * @param component the component to add */ public void addGridded(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); getLayout().addGroupedRow(getRow()); component.putClientProperty(NARROW_KEY, Boolean.TRUE); add(component); nextRow(); }
/** * Adds a gridded component. * * @param component the component to add */ public void addGridded(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); getLayout().addGroupedRow(getRow()); component.putClientProperty(NARROW_KEY, Boolean.TRUE); add(component); nextRow(); }
/** * Adds a gridded component. * * @param component * the component to add */ public void addGridded(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); getLayout().addGroupedRow(getRow()); component.putClientProperty(NARROW_KEY, Boolean.TRUE); add(component); nextRow(); }