public class CmsListItemActionIconComparator extends java.lang.Object implements I_CmsListItemComparator
If the list items column definition has at least one direct action,
the icon of the first visible action is used for sorting
(using the
method);
if not, the I_CmsListDirectAction.setItem(CmsListItem)
interface is used.Comparable
CmsListColumnDefinition
构造器和说明 |
---|
CmsListItemActionIconComparator()
Default Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
public CmsListItemActionIconComparator()
public java.util.Comparator getComparator(java.lang.String columnId, java.util.Locale locale)
I_CmsListItemComparator
getComparator
在接口中 I_CmsListItemComparator
columnId
- the id of the column to sort bylocale
- the current used localeI_CmsListItemComparator.getComparator(java.lang.String, java.util.Locale)