builder.add(overlayedFinish); builder.nextColumn();
/** * Adds a fixed size component. Unlike the gridded components, * this component keeps its individual preferred dimension. * * @param component the component to add */ public void addFixed(JComponent component) { getLayout().appendColumn(FormFactory.PREF_COLSPEC); add(component); nextColumn(); }
builder.add(overlaidFinish); builder.nextColumn();
/** * Adds a fixed size component. Unlike the gridded components, this * component keeps its individual preferred dimension. * * @param component * the component to add */ public void addFixed(JComponent component) { getLayout().appendColumn(FormFactory.PREF_COLSPEC); add(component); nextColumn(); }
/** * Adds a gridded component, i.e. a component that will get * the same dimension as all other gridded components. * * @param component the component to add */ public void addGridded(JComponent component) { getLayout().appendColumn(FormFactory.BUTTON_COLSPEC); getLayout().addGroupedColumn(getColumn()); component.putClientProperty(NARROW_KEY, Boolean.TRUE); add(component); nextColumn(); }
/** * Adds a gridded component that grows. The component's initial size * (before it grows) is the same as for all other gridded components. * * @param component the component to add */ public void addGriddedGrowing(JComponent component) { getLayout().appendColumn(FormFactory.GROWING_BUTTON_COLSPEC); getLayout().addGroupedColumn(getColumn()); component.putClientProperty(NARROW_KEY, Boolean.TRUE); add(component); nextColumn(); }
/** * Adds a gridded component, i.e. a component that will get the same * dimension as all other gridded components. * * @param component * the component to add */ public void addGridded(JComponent component) { getLayout().appendColumn(FormFactory.BUTTON_COLSPEC); getLayout().addGroupedColumn(getColumn()); component.putClientProperty(NARROW_KEY, Boolean.TRUE); add(component); nextColumn(); }
/** * Adds a gridded component that grows. The component's initial size (before * it grows) is the same as for all other gridded components. * * @param component * the component to add */ public void addGriddedGrowing(JComponent component) { getLayout().appendColumn(FormFactory.GROWING_BUTTON_COLSPEC); getLayout().addGroupedColumn(getColumn()); component.putClientProperty(NARROW_KEY, Boolean.TRUE); add(component); nextColumn(); }