/** * Constructs an instance of <code>ButtonBarBuilder</code> on the given * panel using a preconfigured FormLayout as layout manager. * * @param panel the layout container */ public ButtonBarBuilder(JPanel panel) { super(new FormLayout(COL_SPECS, ROW_SPECS), panel); leftToRight = LayoutStyle.getCurrent().isLeftToRightButtonOrder(); }
/** * Constructs an empty ButtonBarBuilder2 on the given panel. * * @param panel the layout container */ public ButtonBarBuilder2(JPanel panel) { super(new FormLayout(COL_SPECS, ROW_SPECS), panel); leftToRight = LayoutStyle.getCurrent().isLeftToRightButtonOrder(); }
/** * Constructs an instance of <code>ButtonBarBuilder</code> on the given * panel using a preconfigured FormLayout as layout manager. * * @param panel * the layout container */ public ButtonBarBuilder(JPanel panel) { super(new FormLayout(COL_SPECS, ROW_SPECS), panel); leftToRight = LayoutStyle.getCurrent().isLeftToRightButtonOrder(); }
/** * Constructs an empty ButtonBarBuilder2 on the given panel. * * @param panel the layout container */ public ButtonBarBuilder2(JPanel panel) { super(new FormLayout(COL_SPECS, ROW_SPECS), panel); leftToRight = LayoutStyle.getCurrent().isLeftToRightButtonOrder(); setOpaque(false); }
"dialog-margin", new String[]{"dm", "dmargin"}, ColumnSpec.createGap(LayoutStyle.getCurrent().getDialogMarginX())); map.columnPut( "tabbed-dialog-margin", new String[]{"tdm", "tdmargin"}, ColumnSpec.createGap(LayoutStyle.getCurrent().getTabbedDialogMarginX())); map.columnPut( "glue", "dialog-margin", new String[]{"dm", "dmargin"}, RowSpec.createGap(LayoutStyle.getCurrent().getDialogMarginY())); map.rowPut( "tabbed-dialog-margin", new String[]{"tdm", "tdmargin"}, RowSpec.createGap(LayoutStyle.getCurrent().getTabbedDialogMarginY())); map.rowPut( "button",
"dialog-margin", new String[]{"dm", "dmargin"}, ColumnSpec.createGap(LayoutStyle.getCurrent().getDialogMarginX())); map.columnPut( "tabbed-dialog-margin", new String[]{"tdm", "tdmargin"}, ColumnSpec.createGap(LayoutStyle.getCurrent().getTabbedDialogMarginX())); map.columnPut( "glue", "dialog-margin", new String[]{"dm", "dmargin"}, RowSpec.createGap(LayoutStyle.getCurrent().getDialogMarginY())); map.rowPut( "tabbed-dialog-margin", new String[]{"tdm", "tdmargin"}, RowSpec.createGap(LayoutStyle.getCurrent().getTabbedDialogMarginY())); map.rowPut( "button",