Enum CmsImagePreviewHandler.Attribute
java.lang.Object
java.lang.Enum<CmsImagePreviewHandler.Attribute>
org.opencms.ade.galleries.client.preview.CmsImagePreviewHandler.Attribute
- All Implemented Interfaces:
Serializable
,Comparable<CmsImagePreviewHandler.Attribute>
,java.lang.constant.Constable
- Enclosing class:
- CmsImagePreviewHandler
Enumeration of image tag attribute names.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionImage align attribute.Image alt attribute.Image class attribute.Image copyright info.Image direction attribute.No image selected if this attribute is present.The image hash.Image height attribute.Image hspace attribute.Image id attribute.Image copyright flag.Image link original flag.Image spacing flag.Image subtitle flag.Image language attribute.Image link path.Image link target.Image longDesc attribute.Image style attribute.Image title attribute.Image vspace attribute.Image width attribute. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static CmsImagePreviewHandler.Attribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
align
Image align attribute. -
alt
Image alt attribute. -
clazz
Image class attribute. -
copyright
Image copyright info. -
dir
Image direction attribute. -
emptySelection
No image selected if this attribute is present. -
hash
The image hash. -
height
Image height attribute. -
hspace
Image hspace attribute. -
id
Image id attribute. -
insertCopyright
Image copyright flag. -
insertLinkOrig
Image link original flag. -
insertSpacing
Image spacing flag. -
insertSubtitle
Image subtitle flag. -
lang
Image language attribute. -
linkPath
Image link path. -
linkTarget
Image link target. -
longDesc
Image longDesc attribute. -
style
Image style attribute. -
title
Image title attribute. -
vspace
Image vspace attribute. -
width
Image width attribute.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-