Class ConfirmationWithOptionsDto.Builder<T extends Describable>
java.lang.Object
com.evolveum.midpoint.web.component.dialog.ConfirmationWithOptionsDto.Builder<T>
- Enclosing class:
- ConfirmationWithOptionsDto<T extends Describable>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()cancelButtonClass(String cancelButtonClass) Used as additional css class for the cancel button.cancelButtonLabel(org.apache.wicket.model.StringResourceModel cancelButtonLabel) Used as a label for the cancel button.confirmationButtonClass(String confirmationButtonClass) Used as additional css class for the confirmation button.confirmationButtonLabel(org.apache.wicket.model.StringResourceModel confirmationButtonLabel) Used as a label for the confirmation button.confirmationInfoMessage(org.apache.wicket.model.StringResourceModel confirmationInfoMessage) Used as a message shown in the info panel.confirmationOptions(List<ConfirmationOption<T>> confirmationOptions) Used to show panel with the list of options, which user can select.confirmationOptionsTitle(org.apache.wicket.model.StringResourceModel confirmationOptionsTitle) Used as a title for the list of confirmation options, if they are present.confirmationSubtitle(org.apache.wicket.model.StringResourceModel confirmationSubtitle) Used as a subtitle or description of a confirmation panel.confirmationTitle(org.apache.wicket.model.StringResourceModel confirmationTitle) Used as a confirmation popup title.externalLinkButtonLabel(org.apache.wicket.model.StringResourceModel externalLinkButtonLabel) Used as a label on the external link button.externalLinkUrl(String externalLinkUrl) Used as a url for the external link button.titleIconCssClass(String titleIconCssClass)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
confirmationTitle
public ConfirmationWithOptionsDto.Builder<T> confirmationTitle(org.apache.wicket.model.StringResourceModel confirmationTitle) Used as a confirmation popup title. -
titleIconCssClass
-
confirmationSubtitle
public ConfirmationWithOptionsDto.Builder<T> confirmationSubtitle(org.apache.wicket.model.StringResourceModel confirmationSubtitle) Used as a subtitle or description of a confirmation panel. -
confirmationOptionsTitle
public ConfirmationWithOptionsDto.Builder<T> confirmationOptionsTitle(org.apache.wicket.model.StringResourceModel confirmationOptionsTitle) Used as a title for the list of confirmation options, if they are present. -
confirmationInfoMessage
public ConfirmationWithOptionsDto.Builder<T> confirmationInfoMessage(org.apache.wicket.model.StringResourceModel confirmationInfoMessage) Used as a message shown in the info panel. If it is set to null, the info panel will not be shown. -
externalLinkButtonLabel
public ConfirmationWithOptionsDto.Builder<T> externalLinkButtonLabel(org.apache.wicket.model.StringResourceModel externalLinkButtonLabel) Used as a label on the external link button. -
externalLinkUrl
Used as a url for the external link button. If it is set to null, the external link button will not be shown. -
confirmationButtonLabel
public ConfirmationWithOptionsDto.Builder<T> confirmationButtonLabel(org.apache.wicket.model.StringResourceModel confirmationButtonLabel) Used as a label for the confirmation button. -
confirmationButtonClass
public ConfirmationWithOptionsDto.Builder<T> confirmationButtonClass(String confirmationButtonClass) Used as additional css class for the confirmation button. -
cancelButtonLabel
public ConfirmationWithOptionsDto.Builder<T> cancelButtonLabel(org.apache.wicket.model.StringResourceModel cancelButtonLabel) Used as a label for the cancel button. -
cancelButtonClass
Used as additional css class for the cancel button. -
confirmationOptions
public ConfirmationWithOptionsDto.Builder<T> confirmationOptions(List<ConfirmationOption<T>> confirmationOptions) Used to show panel with the list of options, which user can select. Selected options are confirmed byt the confirmation button. -
build
-