public interface Orderable<R extends Orderable<R>> extends ActionGrid<R>, Selectable<R>, Component<R>
An orderable collection is one whose members support a fixed sort ordering. This sort order is able to be managed by configuring the collection as orderable.
If configured as orderable()
, it is required that the orderable action and endpoint are
configured as well. If not, this collection will fail validation and not properly support the
orderable behaviors.
Modifier and Type | Interface and Description |
---|---|
static class |
Orderable.ActionLabels |
static class |
Orderable.ActionTypes |
static class |
Orderable.Attributes |
static class |
Orderable.EndpointTypes |
ActionGrid.ActionKeys, ActionGrid.ActionPlacements
Grid.Keys
Selectable.ConfigureSelectable, Selectable.SelectableTypes
Modifier and Type | Method and Description |
---|---|
default R |
addOrderableAction(OrderableModalFormAction<?> action) |
default R |
disableDragIfAllUnsorted() |
default R |
disableDragIfAllUnsorted(boolean isDisableDragIfAllUnsorted)
Sets whether or not drag-and-drop reordering is disabled if all records are unsorted.
|
default R |
enableDragIfAllUnsorted() |
default Optional<OrderableModalFormAction<?>> |
findOrderableAction() |
default Optional<Endpoint<?>> |
findOrderableEndpoint() |
default OrderableModalFormAction<?> |
getOrderableAction() |
default Endpoint<?> |
getOrderableEndpoint() |
default boolean |
isOrderable()
Returns whether or not this component is marked as orderable.
|
default R |
notOrderable() |
default R |
orderable() |
default R |
orderable(boolean isOrderable) |
default R |
orderable(UnaryOperator<Orderable<?>> fn) |
default R |
orderableAction(UnaryOperator<OrderableModalFormAction<?>> fn) |
default R |
orderableEndpoint(Endpoint<?> endpoint) |
default R |
orderableEndpoint(UnaryOperator<Endpoint<?>> fn) |
default R |
orderableScope(String scope) |
default R |
orderableUrl(String url) |
default R |
orderableUrl(String url,
String scope) |
addGridAction, addGridAction, addRowAction, addRowAction, findGridAction, findRowAction, getGridAction, getRowAction, gridAction, removeGridAction, removeRowAction, rowAction
addColumn, addColumn, addColumn, addColumns, findColumn, getColumn, idKey, removeColumn
addAction, addAction, addComponent, addEndpoint, addEndpoint, apply, attribute, augmentationKey, classifier, clearConditionals, clearEndpoints, conditional, conditionals, description, description, findAction, findAction, findActions, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoints, get, get, getAction, getAction, getActions, getActionsList, getAttribute, getAttribute, getAttributes, getAugmentationKey, getClassifier, getComponent, getComponent, getComponents, getComponentsList, getConditionals, getDescription, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOrder, getScope, getType, hasAction, hasAttribute, hasComponent, hasEndpoint, id, isAugmentable, isTranslatable, label, label, notTranslatable, order, removeAction, removeAttribute, removeComponent, removeEndpoint, scope, self, setActions, setAttributes, setAugmentationKey, setClassifier, setComponents, setConditionals, setDescription, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, translatable, translatable, type
compareTo
multiPageSelectable, multiPageSelectableWithExclusions, multipleSelectable, notSelectable, selectable, selectable, selectable, selectableType, singleSelectable
default boolean isOrderable()
default R orderable(boolean isOrderable)
default R orderable()
default R notOrderable()
default R orderable(UnaryOperator<Orderable<?>> fn)
default R addOrderableAction(OrderableModalFormAction<?> action)
default R orderableAction(UnaryOperator<OrderableModalFormAction<?>> fn)
default OrderableModalFormAction<?> getOrderableAction()
default Optional<OrderableModalFormAction<?>> findOrderableAction()
default R orderableEndpoint(UnaryOperator<Endpoint<?>> fn)
default Endpoint<?> getOrderableEndpoint()
default R disableDragIfAllUnsorted(boolean isDisableDragIfAllUnsorted)
isDisableDragIfAllUnsorted
- whether or not to disabledefault R disableDragIfAllUnsorted()
default R enableDragIfAllUnsorted()
Copyright © 2021. All rights reserved.