Package com.enonic.xp.style
Class ImageStyle
- java.lang.Object
-
- com.enonic.xp.style.ImageStyle
-
- All Implemented Interfaces:
ElementStyle
public final class ImageStyle extends Object implements ElementStyle
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageStyle.Builder
-
Field Summary
Fields Modifier and Type Field Description static StringSTYLE_ELEMENT_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageStyle.Buildercreate()booleanequals(Object o)StringgetAspectRatio()StringgetDisplayName()StringgetDisplayNameI18nKey()StringgetElement()StringgetFilter()StringgetName()inthashCode()StringtoString()
-
-
-
Field Detail
-
STYLE_ELEMENT_NAME
public static final String STYLE_ELEMENT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getElement
public String getElement()
- Specified by:
getElementin interfaceElementStyle
-
getName
public String getName()
- Specified by:
getNamein interfaceElementStyle
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceElementStyle
-
getDisplayNameI18nKey
public String getDisplayNameI18nKey()
- Specified by:
getDisplayNameI18nKeyin interfaceElementStyle
-
getAspectRatio
public String getAspectRatio()
-
getFilter
public String getFilter()
-
create
public static ImageStyle.Builder create()
-
-