Enum Class PictureKind

java.lang.Object
java.lang.Enum<PictureKind>
com._1c.g5.v8.dt.md.pictures.PictureKind
All Implemented Interfaces:
Serializable, Comparable<PictureKind>, Constable

public enum PictureKind extends Enum<PictureKind>
Picture kinds.
  • Enum Constant Details

    • NONE_PICTURE

      public static final PictureKind NONE_PICTURE
      None picture.
    • V8_PICTURE

      public static final PictureKind V8_PICTURE
      Style picture.
    • URL_PICTURE

      public static final PictureKind URL_PICTURE
      Url picture.
    • ABSOLUTE_PICTURE

      public static final PictureKind ABSOLUTE_PICTURE
      Absolute picture.
  • Method Details

    • values

      public static PictureKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PictureKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getKind

      public static PictureKind getKind(int value)
      Returns picture kind by value.
      Parameters:
      value - the picture kind value.
      Returns:
      the picture kind by value, if not founded - returns none.
    • getValue

      public int getValue()
      Returns picture kind value.
      Returns:
      picture kind value.