Interface ModalFormAction<A extends ModalFormAction<A>>

All Superinterfaces:
Action<A>, Comparable<A>, ConditionalAction<A>, Copyable<A>, FormAction<A>, Serializable
All Known Subinterfaces:
AddAdjustmentModalFormAction<A>, CloneModalFormAction<A>, CreateModalFormAction<A>, EntityModalFormAction<A>, GenerateTemplateAction<A>, OrderableModalFormAction<A>, ResidentMapCreateAction<A>, RowModalFormAction<A>
All Known Implementing Classes:
DefaultAddAdjustmentModalFormAction, DefaultCloneModalFormAction, DefaultCreateModalFormAction, DefaultEntityModalFormAction, DefaultGenerateTemplateAction, DefaultModalFormAction, DefaultOrderableModalFormAction, DefaultResidentMapCreateAction, DefaultRowModalFormAction

public interface ModalFormAction<A extends ModalFormAction<A>> extends FormAction<A>, ConditionalAction<A>
Represents the metadata for a modal form action.
Author:
Nick Crum (ncrum)
  • Method Details

    • submitLabel

      default A submitLabel(InternationalizedMessage submitLabel)
      Sets the label for the submit button within the modal form.
      Parameters:
      submitLabel - the submit label
      Returns:
      the actioon
    • submitLabel

      default A submitLabel(String submitLabelKey)
      Sets the label for the submit button within the modal form.
      Parameters:
      submitLabelKey - the submit label message key
      Returns:
      the actioon
    • modalSize

      default A modalSize(String modalSize)
      Sets the size for the modal dialog. Accepted values are sm, lg, and xl. lg is the default size for modals unless the form has a Query Builder or Rule Builder field, in which case the modal default size is xl.
      Parameters:
      modalSize - the modal size
      Returns:
      the action