|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.wotonomy.control.EOSortOrdering
public class EOSortOrdering
EOSortOrdering defines a sort key and operation. DisplayGroups use lists of EOSortOrdering to determine how to order their items.
Field Summary | |
---|---|
static net.wotonomy.foundation.NSSelector |
CompareAscending
Sorts items in ascending order. |
static net.wotonomy.foundation.NSSelector |
CompareCaseInsensitiveAscending
Sorts items' string representations in ascending order in a case insensitive manner. |
static net.wotonomy.foundation.NSSelector |
CompareCaseInsensitiveDescending
Sorts items' string representations in descending order in a case insensitive manner. |
static net.wotonomy.foundation.NSSelector |
CompareDescending
Sorts items in descending order. |
protected java.lang.String |
key
|
protected net.wotonomy.foundation.NSSelector |
selector
|
Constructor Summary | |
---|---|
EOSortOrdering(java.lang.String aKey,
java.util.Comparator aComparator)
Constructor creates an EOSortOrdering that uses the specified key and comparator. |
|
EOSortOrdering(java.lang.String aKey,
net.wotonomy.foundation.NSSelector aSelector)
Constructor creates an EOSortOrdering that uses the specified key and selector. |
Method Summary | |
---|---|
static java.lang.Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver arch)
|
void |
encodeWithKeyValueArchiver(EOKeyValueArchiver arch)
|
boolean |
equals(java.lang.Object anObject)
|
java.lang.String |
key()
Returns the property key. |
net.wotonomy.foundation.NSSelector |
selector()
Returns the selector. |
static void |
sortArrayUsingKeyOrderArray(java.util.List anObjectList,
java.util.List aSortOrderingList)
Sorts the specified list in place according to the specified list of EOSortOrderings. |
static net.wotonomy.foundation.NSArray |
sortedArrayUsingKeyOrderArray(java.util.List anObjectList,
java.util.List aSortOrderingList)
Sorts the specified list in place according to the specified list of EOSortOrderings. |
static EOSortOrdering |
sortOrderingWithKey(java.lang.String key,
net.wotonomy.foundation.NSSelector selector)
Factory-style constructor returns a new EOSortOrdering instance with the specified key and selector. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final net.wotonomy.foundation.NSSelector CompareAscending
public static final net.wotonomy.foundation.NSSelector CompareDescending
public static final net.wotonomy.foundation.NSSelector CompareCaseInsensitiveAscending
public static final net.wotonomy.foundation.NSSelector CompareCaseInsensitiveDescending
protected java.lang.String key
protected net.wotonomy.foundation.NSSelector selector
Constructor Detail |
---|
public EOSortOrdering(java.lang.String aKey, net.wotonomy.foundation.NSSelector aSelector)
public EOSortOrdering(java.lang.String aKey, java.util.Comparator aComparator)
Method Detail |
---|
public static EOSortOrdering sortOrderingWithKey(java.lang.String key, net.wotonomy.foundation.NSSelector selector)
public java.lang.String key()
public net.wotonomy.foundation.NSSelector selector()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object anObject)
equals
in class java.lang.Object
public static void sortArrayUsingKeyOrderArray(java.util.List anObjectList, java.util.List aSortOrderingList)
public static net.wotonomy.foundation.NSArray sortedArrayUsingKeyOrderArray(java.util.List anObjectList, java.util.List aSortOrderingList)
public static java.lang.Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver arch)
public void encodeWithKeyValueArchiver(EOKeyValueArchiver arch)
encodeWithKeyValueArchiver
in interface EOKeyValueArchiving
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |