Package com._1c.g5.v8.dt.md.pictures
Enum Class PictureKind
- All Implemented Interfaces:
Serializable
,Comparable<PictureKind>
,Constable
Picture kinds.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbsolute picture.None picture.Url picture.Style picture. -
Method Summary
Modifier and TypeMethodDescriptionstatic PictureKind
getKind
(int value) Returns picture kind by value.int
getValue()
Returns picture kind value.static PictureKind
Returns the enum constant of this class with the specified name.static PictureKind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE_PICTURE
None picture. -
V8_PICTURE
Style picture. -
URL_PICTURE
Url picture. -
ABSOLUTE_PICTURE
Absolute picture.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getKind
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.
-