We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.data.provider.
Class SortOrder<T>
- java.lang.Object
-
- com.vaadin.data.provider.SortOrder<T>
-
Type Parameters:
T
- the type of the sorting information, usually a String (field id) or aComparator
.All Implemented Interfaces:
Direct Known Subclasses:
public class SortOrder<T> extends Object implements Serializable
Sorting information for one field.
Since:
8.0
See Also:
-
-
Constructor Summary
Constructors Constructor Description SortOrder​(T sorted, SortDirection direction)
Constructs a field sorting information.
-
-
-
Constructor Detail
-
SortOrder
public SortOrder​(T sorted, SortDirection direction)
Constructs a field sorting information.
Parameters:
sorted
- sorting information, usually field id orComparator
direction
- sorting direction
-
-
Method Detail
-
getSorted
public T getSorted()
Sorting information.
Returns:
sorting entity, usually field id or
Comparator
-
getDirection
public SortDirection getDirection()
Sorting direction.
Returns:
sorting direction
-
-