Enum CmsImagePreviewHandler.Attribute
- java.lang.Object
-
- java.lang.Enum<CmsImagePreviewHandler.Attribute>
-
- org.opencms.ade.galleries.client.preview.CmsImagePreviewHandler.Attribute
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsImagePreviewHandler.Attribute>
- Enclosing class:
- CmsImagePreviewHandler
public static enum CmsImagePreviewHandler.Attribute extends java.lang.Enum<CmsImagePreviewHandler.Attribute>
Enumeration of image tag attribute names.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsImagePreviewHandler.Attribute
valueOf(java.lang.String name)
Returns 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 Detail
-
align
public static final CmsImagePreviewHandler.Attribute align
Image align attribute.
-
alt
public static final CmsImagePreviewHandler.Attribute alt
Image alt attribute.
-
clazz
public static final CmsImagePreviewHandler.Attribute clazz
Image class attribute.
-
copyright
public static final CmsImagePreviewHandler.Attribute copyright
Image copyright info.
-
dir
public static final CmsImagePreviewHandler.Attribute dir
Image direction attribute.
-
emptySelection
public static final CmsImagePreviewHandler.Attribute emptySelection
No image selected if this attribute is present.
-
hash
public static final CmsImagePreviewHandler.Attribute hash
The image hash.
-
height
public static final CmsImagePreviewHandler.Attribute height
Image height attribute.
-
hspace
public static final CmsImagePreviewHandler.Attribute hspace
Image hspace attribute.
-
id
public static final CmsImagePreviewHandler.Attribute id
Image id attribute.
-
insertCopyright
public static final CmsImagePreviewHandler.Attribute insertCopyright
Image copyright flag.
-
insertLinkOrig
public static final CmsImagePreviewHandler.Attribute insertLinkOrig
Image link original flag.
-
insertSpacing
public static final CmsImagePreviewHandler.Attribute insertSpacing
Image spacing flag.
-
insertSubtitle
public static final CmsImagePreviewHandler.Attribute insertSubtitle
Image subtitle flag.
-
lang
public static final CmsImagePreviewHandler.Attribute lang
Image language attribute.
-
linkPath
public static final CmsImagePreviewHandler.Attribute linkPath
Image link path.
-
linkTarget
public static final CmsImagePreviewHandler.Attribute linkTarget
Image link target.
-
longDesc
public static final CmsImagePreviewHandler.Attribute longDesc
Image longDesc attribute.
-
style
public static final CmsImagePreviewHandler.Attribute style
Image style attribute.
-
title
public static final CmsImagePreviewHandler.Attribute title
Image title attribute.
-
vspace
public static final CmsImagePreviewHandler.Attribute vspace
Image vspace attribute.
-
width
public static final CmsImagePreviewHandler.Attribute width
Image width attribute.
-
-
Method Detail
-
values
public static CmsImagePreviewHandler.Attribute[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CmsImagePreviewHandler.Attribute c : CmsImagePreviewHandler.Attribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsImagePreviewHandler.Attribute valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-