Package com.salas.bb.utils.uif

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


                LineChartData data = new LineChartData(stat.getCounts());
                LineChart chart = new LineChart(data, config);

                builder.appendRelatedComponentsGapRow(2);
                builder.appendRow("max(p;20px)");
                builder.append(new JLabel(itemIcon));
                builder.append(createLabel(stat.getObjectId(), stat.getObjectTitle()));
                builder.append(chart, 1, CellConstraints.CENTER, CellConstraints.FILL);
                builder.append(new JLabel("<html><b>" + stat.getTotal() + " articles</b><br>" +
                    getAvg(stat) + " a day"));
View Full Code Here


        JLabel lbByDay = new JLabel(Strings.message("report.articles.read.by.hour.title"));
        Font fntBold = lbByDay.getFont().deriveFont(Font.BOLD);
        lbByDay.setFont(fntBold);
        builder.append(lbByDay, 1, CellConstraints.CENTER, CellConstraints.DEFAULT);
        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("p:grow");
        builder.append(chartByHour, 1, CellConstraints.FILL, CellConstraints.FILL);
        builder.appendUnrelatedComponentsGapRow(2);

        JLabel lbByWeek = new JLabel(Strings.message("report.articles.read.by.hour.title") + " " +
            Strings.message("report.since.reset.box"));
View Full Code Here

        JLabel lbByWeek = new JLabel(Strings.message("report.articles.read.by.hour.title") + " " +
            Strings.message("report.since.reset.box"));
        lbByWeek.setFont(fntBold);
        builder.append(lbByWeek, 1, CellConstraints.CENTER, CellConstraints.DEFAULT);
        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("p:grow");
        builder.append(chartByHourReset, 1, CellConstraints.FILL, CellConstraints.FILL);
    }
}
View Full Code Here

        builder.append(Strings.message("subscribe.to.feed.wording"), 5);
        builder.appendUnrelatedComponentsGapRow(2);
        builder.append(Strings.message("subscribe.to.feed.address"), chanURL, btnSuggest);
        builder.appendUnrelatedComponentsGapRow(2);
        builder.appendRow("top:pref");
        builder.append(Strings.message("subscribe.to.feed.examples"), 1);
        builder.append(lbExamples, 3);

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

     */
    private JComponent buildResultsTable()
    {
        BBFormBuilder formBuilder = new BBFormBuilder("190dlu");

        formBuilder.appendRow("16dlu");
        formBuilder.appendSeparator("Preview:");
        formBuilder.appendRow("120dlu");
        formBuilder.append(createScrollPane(createFeedsTable(modelFeeds)), 1,
            CellConstraints.FILL, CellConstraints.FILL);

View Full Code Here

    {
        BBFormBuilder formBuilder = new BBFormBuilder("190dlu");

        formBuilder.appendRow("16dlu");
        formBuilder.appendSeparator("Preview:");
        formBuilder.appendRow("120dlu");
        formBuilder.append(createScrollPane(createFeedsTable(modelFeeds)), 1,
            CellConstraints.FILL, CellConstraints.FILL);

        formBuilder.append(lblInfo, 1);
View Full Code Here

        BBFormBuilder builder = new BBFormBuilder("p:grow", this);
        builder.setDefaultDialogBorder();
        builder.append(UifUtilities.boldFont(new JLabel(getReportName())), 1,
            CellConstraints.CENTER, CellConstraints.DEFAULT);
        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("50dlu:grow");
        builder.append(sp, 1, CellConstraints.FILL, CellConstraints.FILL);
        builder.append(new SeeAllLinkLabel(Strings.message("report.see.all")));
    }

    /**
 
View Full Code Here

        Font fntBold = lbByDay.getFont().deriveFont(Font.BOLD);
        lbByDay.setFont(fntBold);

        builder.append(lbByDay, 1, CellConstraints.CENTER, CellConstraints.DEFAULT);
        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("p:grow");
        builder.append(chartByDay, 1, CellConstraints.FILL, CellConstraints.FILL);
        builder.appendUnrelatedComponentsGapRow(2);

        JLabel lbByDayReset = new JLabel(Strings.message("report.articles.read.by.day.title") + " " +
            Strings.message("report.since.reset.box"));
View Full Code Here

        JLabel lbByDayReset = new JLabel(Strings.message("report.articles.read.by.day.title") + " " +
            Strings.message("report.since.reset.box"));
        lbByDayReset.setFont(fntBold);
        builder.append(lbByDayReset, 1, CellConstraints.CENTER, CellConstraints.DEFAULT);
        builder.appendRelatedComponentsGapRow(2);
        builder.appendRow("p:grow");
        builder.append(chartByDayReset, 1, CellConstraints.FILL, CellConstraints.FILL);
    }
}
View Full Code Here

        builder.append(Strings.message("show.feed.properties.tab.basic.xmlurl"), tfXmlUrl, 3);
        builder.append(Strings.message("show.feed.properties.tab.basic.language"),
            new JLabel(convertLang2String(feed.getLanguage())), 3);
        builder.appendUnrelatedComponentsGapRow(2);
        builder.append(ButtonBarFactory.buildCenteredBar(createRevertButton()), 5);
        builder.appendRow("14dlu:grow");

        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.