Package com.mendix.webui.reporting
Class EnumConstant
java.lang.Object
com.mendix.webui.reporting.EnumConstant
Represents a single enum constant.
-
Constructor Summary
ConstructorDescriptionEnumConstant
(String key, String captionKey) Creates an enum constant with a key (= value) and caption.EnumConstant
(String key, String captionKey, String imagePath) Creates an enum constant with a key (= value), caption and imagePath. -
Method Summary
-
Constructor Details
-
EnumConstant
Creates an enum constant with a key (= value) and caption.- Parameters:
key
- the value of the enum constantcaptionKey
- the caption of the enum constant
-
EnumConstant
Creates an enum constant with a key (= value), caption and imagePath.- Parameters:
key
- the value of the enum constantcaptionKey
- the caption of the enum constantimagePath
- the path of the enum constant
-
-
Method Details
-
getKey
Returns the value of the enum constant.- Returns:
- the enum value
-
getCaptionKey
Returns the caption of the enum constant.- Returns:
- the caption
-
getImagePath
Returns the image path of the enum constant.- Returns:
- the image path
-
setImagePath
Deprecated.since 9.24. Use constructor instead.Sets the image path of the enum constant to the specified path.- Parameters:
imagePath
- the path to set
-