Class Button
java.lang.Object
com.aquima.web.api.model.page.element.ElementModel
com.aquima.web.api.model.page.element.Button
This class represents the Button viewmodel.
- Since:
- 9.2
- Author:
- A.Pragt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method returns the caption.getType()
int
hashCode()
boolean
This method returns a disabled indicator.boolean
This method returns a refresh indicator.boolean
This method returns the validate indicatorvoid
setCaption
(String caption) This method sets the caption.void
setDisabled
(boolean disabled) This method sets the disabled indicator.void
setRefresh
(boolean refresh) This method sets the refresh indicator.void
setValidate
(boolean validate) This method sets the validate indicator.Methods inherited from class com.aquima.web.api.model.page.element.ElementModel
addProperty, getFunctionalKey, getKey, getName, getProperties, getStyles, setFunctionalKey, setKey, setName
-
Constructor Details
-
Button
public Button()
-
-
Method Details
-
getType
- Specified by:
getType
in classElementModel
-
isDisabled
public boolean isDisabled()This method returns a disabled indicator.- Returns:
- Disabled indicator;
-
setDisabled
public void setDisabled(boolean disabled) This method sets the disabled indicator.- Parameters:
disabled
- The indicator.
-
isRefresh
public boolean isRefresh()This method returns a refresh indicator.- Returns:
- Refresh indicator.
-
setRefresh
public void setRefresh(boolean refresh) This method sets the refresh indicator.- Parameters:
refresh
- indicator.
-
getCaption
This method returns the caption.- Returns:
- The caption.
-
setCaption
This method sets the caption.- Parameters:
caption
- The caption.
-
isValidate
public boolean isValidate()This method returns the validate indicator- Returns:
- validate indicator
-
setValidate
public void setValidate(boolean validate) This method sets the validate indicator.- Parameters:
validate
- indicator
-
hashCode
public int hashCode()- Overrides:
hashCode
in classElementModel
-
equals
- Overrides:
equals
in classElementModel
-