org.nuxeo.ecm.platform.forms.layout.api.impl
Class LayoutRowComparator
java.lang.Object
org.nuxeo.ecm.platform.forms.layout.api.impl.LayoutRowComparator
- All Implemented Interfaces:
- Comparator<LayoutRow>
public class LayoutRowComparator
- extends Object
- implements Comparator<LayoutRow>
Compares selected row instances to order them in the same order that given
by the input list of row names.
- Author:
- Anahide Tchertchian
LayoutRowComparator
public LayoutRowComparator(List<String> rowNames)
compare
public int compare(LayoutRow o1,
LayoutRow o2)
- Specified by:
compare
in interface Comparator<LayoutRow>
Copyright © 2011 Nuxeo SAS. All Rights Reserved.