com.ibm.hats.transform.elements
Class ListItemComponentElement.ListItemComparator
java.lang.Object
com.ibm.hats.transform.elements.ListItemComponentElement.ListItemComparator
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- ListItemComponentElement
public static class ListItemComponentElement.ListItemComparator
- extends Object
- implements Comparator
ListItemComponentElement comparator implementation. Allows a set of list items to be sorted by item, description, or full caption.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPARE_BY_ITEM
public static final int COMPARE_BY_ITEM
- See Also:
- Constant Field Values
COMPARE_BY_DESCRIPTION
public static final int COMPARE_BY_DESCRIPTION
- See Also:
- Constant Field Values
COMPARE_BY_FULL_CAPTION
public static final int COMPARE_BY_FULL_CAPTION
- See Also:
- Constant Field Values
COMPARE_BY_POSITION
public static final int COMPARE_BY_POSITION
- See Also:
- Constant Field Values
COMPARE_BY_POSITION_RTL
public static final int COMPARE_BY_POSITION_RTL
- See Also:
- Constant Field Values
ListItemComponentElement.ListItemComparator
public ListItemComponentElement.ListItemComparator(int compareBy,
boolean sortAscending)
ListItemComponentElement.ListItemComparator
public ListItemComponentElement.ListItemComparator(int compareBy,
boolean sortAscending,
int numOfColumns)
ListItemComponentElement.ListItemComparator
public ListItemComponentElement.ListItemComparator(int compareBy,
int numOfColumns)
compare
public int compare(Object arg1,
Object arg2)
- Specified by:
compare in interface Comparator