T - the type of the table recordspublic class SortEvent<T> extends Object implements TableEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
SORT_EVENT
A constant string to define a unique type for this event
|
| Constructor and Description |
|---|
SortEvent(SortDirection sortDirection,
ColumnConfig<T> columnConfig) |
| Modifier and Type | Method and Description |
|---|---|
ColumnConfig<T> |
getColumnConfig() |
SortDirection |
getSortDirection() |
String |
getType() |
public static final String SORT_EVENT
public SortEvent(SortDirection sortDirection, ColumnConfig<T> columnConfig)
sortDirection - the SortDirectioncolumnConfig - the ColumnConfig that represent the column being clicked for sortpublic SortDirection getSortDirection()
SortDirectionpublic ColumnConfig<T> getColumnConfig()
ColumnConfig that represent the column being clicked for sortpublic String getType()
getType in interface TableEventCopyright © 2019–2022 Dominokit. All rights reserved.