Class Button
- java.lang.Object
-
- com.aquima.web.api.model.page.element.ElementModel
-
- com.aquima.web.api.model.page.element.Button
-
public class Button extends ElementModel
This class represents the Button viewmodel.- Since:
- 9.2
- Author:
- A.Pragt
-
-
Constructor Summary
Constructors Constructor Description Button()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCaption()
This method returns the caption.String
getType()
int
hashCode()
boolean
isDisabled()
This method returns a disabled indicator.boolean
isRefresh()
This method returns a refresh indicator.boolean
isValidate()
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
-
-
-
-
Method Detail
-
getType
public String 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
public String getCaption()
This method returns the caption.- Returns:
- The caption.
-
setCaption
public void setCaption(String caption)
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
public boolean equals(Object obj)
- Overrides:
equals
in classElementModel
-
-