public interface OrderableModalFormAction<A extends OrderableModalFormAction<A>> extends ModalFormAction<A>
Orderable
grid.
Must configure the fields OrderableModalFormAction.FieldNames.MOVE_TO_FRONT
and
OrderableModalFormAction.FieldNames.POSITION_AFTER_ID
in order for this to pass validation and properly support
the re-order behavior.
Modifier and Type | Interface and Description |
---|---|
static class |
OrderableModalFormAction.FieldDefaults |
static class |
OrderableModalFormAction.FieldHelp |
static class |
OrderableModalFormAction.FieldLabels |
static class |
OrderableModalFormAction.FieldNames |
ModalFormAction.Attributes
FormAction.Keys
Modifier and Type | Method and Description |
---|---|
default A |
addMoveToFront(Field<?> moveToFront)
Adds the
OrderableModalFormAction.FieldNames.MOVE_TO_FRONT field. |
default A |
addPositionAfter(LookupField<?> positionAfter)
Adds the
OrderableModalFormAction.FieldNames.POSITION_AFTER_ID field. |
default A |
moveToFront(UnaryOperator<Field<?>> fn)
Provides the
OrderableModalFormAction.FieldNames.MOVE_TO_FRONT Field within this action's form for
configuration. |
default A |
moveToFrontDefaults()
Configures with the default
OrderableModalFormAction.FieldDefaults.moveToFront() field. |
default A |
positionAfter(UnaryOperator<LookupField<?>> fn)
Provides the
OrderableModalFormAction.FieldNames.POSITION_AFTER_ID LookupField within this action's
form for configuration. |
submitLabel, submitLabel
addExternal, addExternal, addField, addField, addField, addFormComponents, addGroup, addGroup, external, field, findExternal, findField, findGroup, getExternal, getField, getGroup, group, removeExternal, removeField, removeGroup
addComponent, addComponents, addEndpoint, addEndpoint, apply, attribute, clearEndpoints, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoints, get, get, getAttribute, getAttribute, getAttributes, getComponent, getComponent, getComponents, getComponentsList, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOperationType, getOrder, getPlacement, getScope, getType, hasAttribute, hasComponent, hasEndpoint, id, label, label, operationType, order, placement, removeAttribute, removeComponent, removeEndpoint, scope, self, setAttributes, setComponents, setEndpoints, setId, setLabel, setOperationType, setOrder, setPlacement, setScope, setType, type
compareTo
default A addMoveToFront(Field<?> moveToFront)
OrderableModalFormAction.FieldNames.MOVE_TO_FRONT
field.moveToFront
- the fielddefault A moveToFrontDefaults()
OrderableModalFormAction.FieldDefaults.moveToFront()
field.default A moveToFront(UnaryOperator<Field<?>> fn)
OrderableModalFormAction.FieldNames.MOVE_TO_FRONT
Field
within this action's form for
configuration. If no such field exists, one will be created.fn
- a function that configures the fielddefault A addPositionAfter(LookupField<?> positionAfter)
OrderableModalFormAction.FieldNames.POSITION_AFTER_ID
field.positionAfter
- the fielddefault A positionAfter(UnaryOperator<LookupField<?>> fn)
OrderableModalFormAction.FieldNames.POSITION_AFTER_ID
LookupField
within this action's
form for configuration. If no such field exists, one will be created.fn
- a function that configures the lookup fieldCopyright © 2021. All rights reserved.