Class EnumConstant

java.lang.Object
com.mendix.webui.reporting.EnumConstant

public class EnumConstant extends Object
Represents a single enum constant.
  • Constructor Details

    • EnumConstant

      public EnumConstant(String key, String captionKey)
      Creates an enum constant with a key (= value) and caption.
      Parameters:
      key - the value of the enum constant
      captionKey - the caption of the enum constant
    • EnumConstant

      public EnumConstant(String key, String captionKey, String imagePath)
      Creates an enum constant with a key (= value), caption and imagePath.
      Parameters:
      key - the value of the enum constant
      captionKey - the caption of the enum constant
      imagePath - the path of the enum constant
  • Method Details

    • getKey

      public final String getKey()
      Returns the value of the enum constant.
      Returns:
      the enum value
    • getCaptionKey

      public final String getCaptionKey()
      Returns the caption of the enum constant.
      Returns:
      the caption
    • getImagePath

      public final String getImagePath()
      Returns the image path of the enum constant.
      Returns:
      the image path
    • setImagePath

      @Deprecated public final void setImagePath(String imagePath)
      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