Module is.codion.swing.common.model
Interface FilterTableSort.Order
- Enclosing interface:
FilterTableSort<R,C>
public static interface FilterTableSort.Order
Manages the
SortOrder for a given column-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the given column sorting order to the currently sorted columns.locked()Locking the sorting for a column will cause anIllegalStateExceptionto be thrown when trying to modify its sorting state.voidClears the sorting state and adds the given sorting order.
-
Method Details
-
set
Clears the sorting state and adds the given sorting order.- Parameters:
sortOrder- the sorting order- Throws:
IllegalStateException- in case sorting is locked for this column- See Also:
-
add
Adds the given column sorting order to the currently sorted columns. If no column sorting is enabled, this call is the equivilent to usingset(SortOrder).- Parameters:
sortOrder- the sorting order- Throws:
IllegalStateException- in case sorting is locked for this column- See Also:
-
locked
State locked()Locking the sorting for a column will cause an
IllegalStateExceptionto be thrown when trying to modify its sorting state.- Returns:
- the
Statecontrolling whether sorting is locked for this column
-