public class HubSortDelegate extends Object
Constructor and Description |
---|
HubSortDelegate() |
Modifier and Type | Method and Description |
---|---|
static void |
cancelSort(Hub thisHub)
Removes/disconnects HubSorter (if any) that is keeping objects in a sorted order.
|
static String |
getSeqProperty(Hub thisHub) |
static boolean |
getSortAsc(Hub thisHub) |
static HubSortListener |
getSortListener(Hub thisHub) |
static String |
getSortProperty(Hub thisHub) |
static boolean |
isSorted(Hub thisHub)
used to determine if the Hub is currently kept sorted.
|
static void |
resort(Hub thisHub) |
static void |
sort(Hub thisHub)
Re-sort using parameters from last sort or select.
|
static void |
sort(Hub thisHub,
String propertyPaths,
boolean bAscending) |
static void |
sort(Hub thisHub,
String propertyPaths,
boolean bAscending,
Comparator comp)
Reorder objects in this Hub, sorted by the value(s) from propertyPath(s).
|
static void |
sort(Hub thisHub,
String propertyPaths,
boolean bAscending,
Comparator comp,
boolean bAlreadySortedAndLocalOnly) |
public static void sort(Hub thisHub, String propertyPaths, boolean bAscending, Comparator comp)
public static void sort(Hub thisHub, String propertyPaths, boolean bAscending, Comparator comp, boolean bAlreadySortedAndLocalOnly)
public static HubSortListener getSortListener(Hub thisHub)
public static void resort(Hub thisHub)
public static void sort(Hub thisHub)
public static void cancelSort(Hub thisHub)
public static boolean isSorted(Hub thisHub)
public static String getSortProperty(Hub thisHub)
to see if the hub is kept sorted.
public static boolean getSortAsc(Hub thisHub)
to see if the hub is kept sorted.
public static String getSeqProperty(Hub thisHub)
to see if the hub is kept sorted.
Copyright © 1999–2019 ViaOA. All rights reserved.