public class ListSorter extends Object
| Constructor and Description |
|---|
ListSorter() |
| Modifier and Type | Method and Description |
|---|---|
ListSorter |
ascending()
Signals that the sorting should be done in acending mode
|
ListSorter |
descending()
Signals that sorting should be done in descending mode
|
String |
getProperty()
Returns the name of the property used for sorting
|
boolean |
isAscending()
Returns the type of sorting that is used
|
ListSorter |
property(String p)
Sets the property for this sorter
|
public ListSorter property(String p)
p - a String object representing the name of the propertypublic ListSorter ascending()
public ListSorter descending()
public boolean isAscending()
true if this sorter uses ascending sorting, false otherwiseCopyright © 2010 - 2020 Adobe. All Rights Reserved