Package com.jalios.jcms.uicomponent
Class Button
- java.lang.Object
-
- com.jalios.jcms.uicomponent.Button
-
public class Button extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Button.ButtonBuilder
static class
Button.ButtonType
-
Field Summary
Fields Modifier and Type Field Description static Button.ButtonType
DEFAULT_BUTTON_TYPE
-
Constructor Summary
Constructors Constructor Description Button(Button.ButtonBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addUrlAsHref()
Button
build()
java.lang.String
getButtonContent()
Button.ButtonType
getButtonType()
java.lang.String
getConfirmText()
java.lang.String
getCss()
DataAttribute
getDataAttribute()
java.lang.String
getEndHtml()
java.lang.String
getHtml()
java.lang.String
getHtmlAttributes()
java.lang.String
getIcon()
java.lang.String
getIconSuffix()
java.lang.String
getInnerHtml()
java.lang.String
getLabel()
java.lang.String
getName()
java.lang.String
getStartHtml()
java.lang.String
getTitle()
java.lang.String
getUrl()
java.lang.String
getValue()
boolean
isConfirm()
-
-
-
Field Detail
-
DEFAULT_BUTTON_TYPE
public static final Button.ButtonType DEFAULT_BUTTON_TYPE
-
-
Constructor Detail
-
Button
public Button(Button.ButtonBuilder builder)
-
-
Method Detail
-
getHtml
public java.lang.String getHtml()
-
getStartHtml
public java.lang.String getStartHtml()
-
getInnerHtml
public java.lang.String getInnerHtml()
-
getEndHtml
public java.lang.String getEndHtml()
-
getCss
public java.lang.String getCss()
-
getLabel
public java.lang.String getLabel()
-
build
public Button build()
-
getIcon
public java.lang.String getIcon()
-
getIconSuffix
public java.lang.String getIconSuffix()
-
getButtonType
public Button.ButtonType getButtonType()
-
isConfirm
public boolean isConfirm()
-
getConfirmText
public java.lang.String getConfirmText()
-
getDataAttribute
public DataAttribute getDataAttribute()
-
getHtmlAttributes
public java.lang.String getHtmlAttributes()
-
getButtonContent
public java.lang.String getButtonContent()
-
getUrl
public java.lang.String getUrl()
-
getTitle
public java.lang.String getTitle()
-
addUrlAsHref
public boolean addUrlAsHref()
-
getName
public java.lang.String getName()
-
getValue
public java.lang.String getValue()
-
-