public class CollectionSortingChangedEventObject<_Source> extends CollectionEventObject<_Source>
CollectionListener
interface.Constructor and Description |
---|
CollectionSortingChangedEventObject(int catalogID,
java.lang.String tableName,
boolean isSorted,
int freeSortDirection,
GUID[] sortedFields,
int[] sortDirections)
Internal use only.
|
Modifier and Type | Method and Description |
---|---|
int |
getDirection()
Return the current sort direction.
|
GUID |
getFieldUID()
Return the field that the collection was sorted.
|
java.util.List<SortFieldDescriptor> |
getSortFieldDescriptors()
Return the descriptors for the sorting fields that the collection was sorted by.
|
boolean |
isSorted()
Return whether the collection is sorted by a specific field.
|
getCatalogID, getTableName
getSource
public CollectionSortingChangedEventObject(int catalogID, java.lang.String tableName, boolean isSorted, int freeSortDirection, GUID[] sortedFields, int[] sortDirections)
public int getDirection()
public GUID getFieldUID()
public boolean isSorted()
true
if the collection is sorted by a filed, false
otherwise.public java.util.List<SortFieldDescriptor> getSortFieldDescriptors()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.