com.flexive.shared
Class FxSharedUtils.ItemLabelSorter

java.lang.Object
  extended by com.flexive.shared.FxSharedUtils.ItemLabelSorter
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<FxSelectListItem>
Enclosing class:
FxSharedUtils

public static class FxSharedUtils.ItemLabelSorter
extends java.lang.Object
implements java.util.Comparator<FxSelectListItem>, java.io.Serializable

Item sorter by label

See Also:
Serialized Form

Constructor Summary
FxSharedUtils.ItemLabelSorter(FxLanguage language)
          Ctor
 
Method Summary
 int compare(FxSelectListItem i1, FxSelectListItem i2)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

FxSharedUtils.ItemLabelSorter

public FxSharedUtils.ItemLabelSorter(FxLanguage language)
Ctor

Parameters:
language - the language used for sorting
Method Detail

compare

public int compare(FxSelectListItem i1,
                   FxSelectListItem i2)

Specified by:
compare in interface java.util.Comparator<FxSelectListItem>