Package com.salas.bb.views.mainframe

Examples of com.salas.bb.views.mainframe.StarsSelectionComponent$ComboPanelUI


    private StarsSelectionComponent createStarsSelectionComponent(final int value)
    {
        modelRating = new ValueModelStars(value);
        BoundedRangeModel model = new BoundedRangeAdapter(modelRating, 0, 1, 5);

        return new StarsSelectionComponent(model);
    }
View Full Code Here


        };
        cbTimeOptions = new JComboBox(new ComboBoxAdapter(TimeOption.OPTIONS, mdlTimeOption));

        // Starz selector
        ValueModel mdlStarz = new PreferencesAdapter(prefs, PROP_WH_STARZ, 1);
        starz = new StarsSelectionComponent(new BoundedRangeAdapter(mdlStarz, 0, 1, 5));

        // Make toolbar fonts smaller
        UifUtilities.smallerFont(chOnlyUnread);
        UifUtilities.smallerFont(cbTimeOptions);
View Full Code Here

        lbPublishingTags.setLabelFor(tfPublishingTags);

        chMobile = ComponentsFactory.createCheckBox(Strings.message("guide.dialog.mobile"));

        vhPublishingRating = new ValueHolder(1);
        sscPublishingRating = new StarsSelectionComponent(new BoundedRangeAdapter(vhPublishingRating, 0, 1, 5));
        lbPublishingRating = new JLabel(Strings.message("guide.dialog.rating"));

        btnCopyToClipboard = new JButton(Strings.message("guide.dialog.copy"));
        btnCopyToClipboard.addActionListener(new ActionListener()
        {
View Full Code Here

TOP

Related Classes of com.salas.bb.views.mainframe.StarsSelectionComponent$ComboPanelUI

Copyright © 2018 www.massapicom. 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.