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 class
ImageStyle.Builder
-
Field Summary
Fields Modifier and Type Field Description static String
STYLE_ELEMENT_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageStyle.Builder
create()
boolean
equals(Object o)
String
getAspectRatio()
String
getDisplayName()
String
getDisplayNameI18nKey()
String
getElement()
String
getFilter()
String
getName()
int
hashCode()
String
toString()
-
-
-
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:
getElement
in interfaceElementStyle
-
getName
public String getName()
- Specified by:
getName
in interfaceElementStyle
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceElementStyle
-
getDisplayNameI18nKey
public String getDisplayNameI18nKey()
- Specified by:
getDisplayNameI18nKey
in interfaceElementStyle
-
getAspectRatio
public String getAspectRatio()
-
getFilter
public String getFilter()
-
create
public static ImageStyle.Builder create()
-
-