Package org.opencms.widgets
Class A_CmsFormatterWidget.FormatterSelectComparator
- java.lang.Object
-
- org.opencms.widgets.A_CmsFormatterWidget.FormatterSelectComparator
-
- All Implemented Interfaces:
java.util.Comparator<I_CmsFormatterBean>
- Enclosing class:
- A_CmsFormatterWidget
public static class A_CmsFormatterWidget.FormatterSelectComparator extends java.lang.Object implements java.util.Comparator<I_CmsFormatterBean>
Comparator used to sort formatter beans in the order in which they should be displayed in the selection.
-
-
Constructor Summary
Constructors Constructor Description FormatterSelectComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(I_CmsFormatterBean first, I_CmsFormatterBean second)
-
-
-
Constructor Detail
-
FormatterSelectComparator
public FormatterSelectComparator()
-
-
Method Detail
-
compare
public int compare(I_CmsFormatterBean first, I_CmsFormatterBean second)
- Specified by:
compare
in interfacejava.util.Comparator<I_CmsFormatterBean>
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
-
-