Package com.mendix.webui.reporting
Class EnumConstant
- java.lang.Object
-
- com.mendix.webui.reporting.EnumConstant
-
public class EnumConstant extends java.lang.Object
Represents a single enum constant.
-
-
Constructor Summary
Constructors Constructor Description EnumConstant(java.lang.String key, java.lang.String captionKey)
Creates an enum constant with a key (= value) and caption.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCaptionKey()
Returns the caption of the enum constant.java.lang.String
getImagePath()
Returns the image path of the enum constant.java.lang.String
getKey()
Returns the value of the enum constant.void
setImagePath(java.lang.String imagePath)
Sets the image path of the enum constant to the specified path.
-
-
-
Method Detail
-
getKey
public final java.lang.String getKey()
Returns the value of the enum constant.- Returns:
- the enum value
-
getCaptionKey
public final java.lang.String getCaptionKey()
Returns the caption of the enum constant.- Returns:
- the caption
-
getImagePath
public final java.lang.String getImagePath()
Returns the image path of the enum constant.- Returns:
- the image path
-
setImagePath
public final void setImagePath(java.lang.String imagePath)
Sets the image path of the enum constant to the specified path.- Parameters:
imagePath
- the path to set
-
-