Package com.jalios.jcms.uicomponent
Class Button.ButtonBuilder<T extends Button.ButtonBuilder<T>>
java.lang.Object
com.jalios.jcms.uicomponent.Button.ButtonBuilder<T>
- Direct Known Subclasses:
ButtonAjax.Builder,ButtonModal.Builder
- Enclosing class:
Button
Generic self-typed builder.
Preserves subclass builder type across fluent calls; subclasses should override build().
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected Button.ButtonTypeprotected booleanprotected ConfirmAttributesprotected Stringprotected Stringprotected DataAttributeprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUrlAsHref(boolean addUrlAsHref) build()buttonContent(String buttonContent) buttonType(Button.ButtonType buttonType) confirm(boolean confirm) confirmAttributes(ConfirmAttributes confirmAttributes) confirmText(String confirmText) dataAttribute(DataAttribute dataAttribute) htmlAttributes(String htmlAttributes) iconSuffix(String iconSuffix) modalAttributes(String url) protected Tself()
-
Field Details
-
label
-
css
-
icon
-
iconSuffix
-
iconAlt
-
buttonType
-
dataAttribute
-
htmlAttributes
-
confirmText
-
confirm
protected boolean confirm -
confirmAttributes
-
buttonContent
-
url
-
title
-
addUrlAsHref
protected boolean addUrlAsHref -
name
-
value
-
-
Constructor Details
-
ButtonBuilder
public ButtonBuilder()
-
-
Method Details
-
self
-
build
-
label
-
css
-
icon
-
iconSuffix
-
iconAlt
-
confirm
-
confirmAttributes
-
confirmText
-
dataAttribute
-
htmlAttributes
-
buttonType
-
buttonContent
-
url
-
title
-
addUrlAsHref
-
name
-
value
-
modalAttributes
-