Search in sources :

Example 1 with ResolutionProfileComparator

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

the class ResolutionProfileDialog method getProfiles.

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

Aggregations

Point (java.awt.Point)1 ArrayList (java.util.ArrayList)1 ResolutionProfile (org.jwildfire.base.ResolutionProfile)1 ResolutionProfileComparator (org.jwildfire.base.ResolutionProfileComparator)1