Class Image
java.lang.Object
com.aquima.web.api.model.page.element.ElementModel
com.aquima.web.api.model.page.element.Image
This class represents the Image viewmodel
- Since:
- 9.2
- Author:
- A.Pragt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method returns the image height.This method returns the image type.getType()
getWidth()
This method returns the image width.int
hashCode()
void
This method set the image height.void
setImageType
(String imageType) This method sets the image type.void
This method sets the image width.Methods inherited from class com.aquima.web.api.model.page.element.ElementModel
addProperty, getFunctionalKey, getKey, getName, getProperties, getStyles, setFunctionalKey, setKey, setName
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
getType
- Specified by:
getType
in classElementModel
-
getImageType
This method returns the image type.- Returns:
- The image type.
-
setImageType
This method sets the image type.- Parameters:
imageType
- The image type.
-
getHeight
This method returns the image height.- Returns:
- The height.
-
setHeigth
This method set the image height.- Parameters:
height
- The height.
-
getWidth
This method returns the image width.- Returns:
- The width of the image.
-
setWidth
This method sets the image width.- Parameters:
width
- The width of the image.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classElementModel
-
equals
- Overrides:
equals
in classElementModel
-