Package com.salas.bb.utils.uif

Examples of com.salas.bb.utils.uif.BBFormBuilder.appendRow()


        builder.appendUnrelatedComponentsGapRow(2);
        builder.append(Strings.message("show.feed.properties.tab.blogstarz.final.rating"), 1);
        builder.append(lbFinalScore, 1, CellConstraints.LEFT, CellConstraints.CENTER);
        builder.append(new JButton(new RevertAction()), 1,
            CellConstraints.RIGHT, CellConstraints.CENTER);
        builder.appendRow("pref:grow");
        builder.append(ComponentsFactory.createWrappedMultilineLabel(
            Strings.message("show.feed.properties.tab.blogstarz.notes")), 5,
            CellConstraints.FILL, CellConstraints.BOTTOM);

        return builder.getPanel();
View Full Code Here


            builder.append(tfURL);
            builder.append(new JButton(new BlockAction()));
            builder.appendRelatedComponentsGapRow(2);
        }

        builder.appendRow("min:grow");
        builder.append(new JScrollPane(taPatterns), 3, CellConstraints.FILL, CellConstraints.FILL);

        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("min");
        builder.append(ComponentsFactory.createWrappedMultilineLabel(Strings.message("imageblocker.dialog.disclaimer")));
View Full Code Here

        builder.appendRow("min:grow");
        builder.append(new JScrollPane(taPatterns), 3, CellConstraints.FILL, CellConstraints.FILL);

        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("min");
        builder.append(ComponentsFactory.createWrappedMultilineLabel(Strings.message("imageblocker.dialog.disclaimer")));

        return builder.getPanel();
    }
View Full Code Here

        if (SystemUtils.IS_OS_MAC) font = UifUtilities.applyFontBias(font, -2);
        UifUtilities.setFontAttributes(doc.addStyle(TEXT_STYLE, def), font);

        builder = new BBFormBuilder("0:grow");
        builder.appendUnrelatedComponentsGapRow(2);
        builder.appendRow("p");

        builder.append(Strings.message("collections.description"), 1);
        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("50px");
        builder.append(taDescription, 1, CellConstraints.FILL, CellConstraints.FILL);
View Full Code Here

        builder.appendUnrelatedComponentsGapRow(2);
        builder.appendRow("p");

        builder.append(Strings.message("collections.description"), 1);
        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("50px");
        builder.append(taDescription, 1, CellConstraints.FILL, CellConstraints.FILL);

        add(builder.getPanel(), BorderLayout.SOUTH);
    }
View Full Code Here

        builder.append(STR_TEMPLATE, cbTemplates);
        builder.append(buttons.getPanel());

        // Editor
        builder.appendRelatedComponentsGapRow();
        builder.appendRow("200px:grow");
        builder.nextLine(2);
        builder.append(new JScrollPane(taEditor), 6,
            CellConstraints.FILL, CellConstraints.FILL);

        // Help section
View Full Code Here

        // Help section
        builder.appendUnrelatedComponentsGapRow(2);
        builder.append(STR_HELP, 6);
        builder.appendRelatedComponentsGapRow();
        builder.appendRow("150px");
        builder.nextLine(2);
        builder.append(ComponentsFactory.createInstructionsBox(STR_HELP_TEXT), 6,
            CellConstraints.FILL, CellConstraints.FILL);

        builder.appendUnrelatedComponentsGapRow(2);
View Full Code Here

        BBFormBuilder builder = new BBFormBuilder("pref, 4dlu, pref:grow, 7dlu, pref");

        builder.append(Strings.message("guide.dialog.title"), tfTitle, iconsList);
        builder.appendUnrelatedComponentsGapRow(2);
        builder.appendRow("min:grow");
        builder.append(pane, 5, CellConstraints.FILL, CellConstraints.FILL);

        return builder.getPanel();
    }
View Full Code Here

        builder.append(Strings.message("sendfeedback.name"), tfName);
        builder.append(Strings.message("sendfeedback.email"), tfEmail, 2);
        builder.append(Strings.message("sendfeedback.subject"), tfSubject, 6);
        builder.append(Strings.message("sendfeedback.message"), 1).setLabelFor(taMessage);
        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("pref:grow");
        builder.append(pane, 8, CellConstraints.FILL, CellConstraints.FILL);
        builder.append(Strings.message("sendfeedback.notice"), 7);

        return builder.getPanel();
    }
View Full Code Here

        BBFormBuilder builder = new BBFormBuilder("pref:grow");
        builder.setDefaultDialogBorder();

        builder.append(Strings.message("add.guide.feeds.wording"), 1);
        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("min:grow");
        builder.append(pane, 1, CellConstraints.FILL, CellConstraints.FILL);

        return builder.getPanel();
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.