Package com.jalios.jcms.uicomponent
Class Button.ButtonBuilder
- java.lang.Object
-
- com.jalios.jcms.uicomponent.Button.ButtonBuilder
-
- Enclosing class:
- Button
public static class Button.ButtonBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ButtonBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Button.ButtonBuilder
addUrlAsHref(boolean addUrlAsHref)
Button
build()
Button.ButtonBuilder
buttonContent(java.lang.String buttonContent)
Button.ButtonBuilder
buttonType(Button.ButtonType buttonType)
Button.ButtonBuilder
confirm(boolean confirm)
Button.ButtonBuilder
confirmText(java.lang.String confirmText)
Button.ButtonBuilder
css(java.lang.String css)
Button.ButtonBuilder
dataAttribute(DataAttribute dataAttribute)
Button.ButtonBuilder
htmlAttributes(java.lang.String htmlAttributes)
Button.ButtonBuilder
icon(java.lang.String icon)
Button.ButtonBuilder
iconSuffix(java.lang.String iconSuffix)
Button.ButtonBuilder
label(java.lang.String label)
Button.ButtonBuilder
name(java.lang.String name)
Button.ButtonBuilder
title(java.lang.String title)
Button.ButtonBuilder
url(java.lang.String url)
Button.ButtonBuilder
value(java.lang.String value)
-
-
-
Method Detail
-
build
public Button build()
-
label
public Button.ButtonBuilder label(java.lang.String label)
-
css
public Button.ButtonBuilder css(java.lang.String css)
-
icon
public Button.ButtonBuilder icon(java.lang.String icon)
-
iconSuffix
public Button.ButtonBuilder iconSuffix(java.lang.String iconSuffix)
-
confirm
public Button.ButtonBuilder confirm(boolean confirm)
-
confirmText
public Button.ButtonBuilder confirmText(java.lang.String confirmText)
-
dataAttribute
public Button.ButtonBuilder dataAttribute(DataAttribute dataAttribute)
-
htmlAttributes
public Button.ButtonBuilder htmlAttributes(java.lang.String htmlAttributes)
-
buttonType
public Button.ButtonBuilder buttonType(Button.ButtonType buttonType)
-
buttonContent
public Button.ButtonBuilder buttonContent(java.lang.String buttonContent)
-
url
public Button.ButtonBuilder url(java.lang.String url)
-
title
public Button.ButtonBuilder title(java.lang.String title)
-
addUrlAsHref
public Button.ButtonBuilder addUrlAsHref(boolean addUrlAsHref)
-
name
public Button.ButtonBuilder name(java.lang.String name)
-
value
public Button.ButtonBuilder value(java.lang.String value)
-
-