|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.list.CmsListItemNumericalComparator
Default comparator for case sensitive column sorting with string localization.
If both list items column values are Strings then a localized collector is used for sorting;
if not, the
interface is used.Comparable
CmsListColumnDefinition
Constructor Summary | |
CmsListItemNumericalComparator()
Default Constructor. |
Method Summary | |
java.util.Comparator |
getComparator(java.lang.String columnId,
java.util.Locale locale)
Returns a new comparator for comparing list items by the given column, and using the given locale. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmsListItemNumericalComparator()
Method Detail |
public java.util.Comparator getComparator(java.lang.String columnId, java.util.Locale locale)
I_CmsListItemComparator
getComparator
in interface I_CmsListItemComparator
columnId
- the id of the column to sort bylocale
- the current used locale
I_CmsListItemComparator.getComparator(java.lang.String, java.util.Locale)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |