Package com.lightcrafts.ui.browser.model

Examples of com.lightcrafts.ui.browser.model.ImageDatumComparator


        }
    }

    public void itemStateChanged(ItemEvent e) {
        if (e.getStateChange() == ItemEvent.SELECTED) {
            ImageDatumComparator comp = (ImageDatumComparator) e.getItem();
            images.setSort(comp);
            Prefs.put(ComparatorKey, comp.toString());
        }
    }
View Full Code Here


        // Add space above and below, to tune the layout:
        Border border = BorderFactory.createEmptyBorder(0, 0, 3, 0);
        setBorder(border);

        ImageDatumComparator comp = sort.getSort();
        boolean inverted = sort.getSortInverted();
        int size = sizeSlider.getValue();

        browser.setSort(comp);
        browser.setSortInverted(inverted);
View Full Code Here

TOP

Related Classes of com.lightcrafts.ui.browser.model.ImageDatumComparator

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.