Search in sources :

Example 1 with QualityProfileComparator

use of org.jwildfire.base.QualityProfileComparator in project JWildfire by thargor6.

the class QualityProfileDialog method getProfiles.

public List<QualityProfile> getProfiles() {
    List<QualityProfile> res = new ArrayList<QualityProfile>();
    for (int i = 0; i < getProfileCmb().getItemCount(); i++) {
        res.add((QualityProfile) getProfileCmb().getItemAt(i));
    }
    Collections.sort(res, new QualityProfileComparator());
    return res;
}
Also used : QualityProfileComparator(org.jwildfire.base.QualityProfileComparator) ArrayList(java.util.ArrayList) QualityProfile(org.jwildfire.base.QualityProfile) Point(java.awt.Point)

Aggregations

Point (java.awt.Point)1 ArrayList (java.util.ArrayList)1 QualityProfile (org.jwildfire.base.QualityProfile)1 QualityProfileComparator (org.jwildfire.base.QualityProfileComparator)1