Enum PictureVariantScreenDensity
- java.lang.Object
-
- java.lang.Enum<PictureVariantScreenDensity>
-
- com._1c.g5.v8.dt.platform.pictures.PictureVariantScreenDensity
-
- All Implemented Interfaces:
Serializable
,Comparable<PictureVariantScreenDensity>
public enum PictureVariantScreenDensity extends Enum<PictureVariantScreenDensity>
Screen density platform enumeration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PictureVariantScreenDensity
getByName(String name)
Get enumeration value by given nameString
getLiteralName()
Literal nameString
getName()
Nameint
getScale()
Platform scale valuestatic PictureVariantScreenDensity
valueOf(String name)
Returns the enum constant of this type with the specified name.static PictureVariantScreenDensity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLDPI
public static final PictureVariantScreenDensity BLDPI
-
LDPI
public static final PictureVariantScreenDensity LDPI
-
ALDPI
public static final PictureVariantScreenDensity ALDPI
-
MDPI
public static final PictureVariantScreenDensity MDPI
-
AMDPI
public static final PictureVariantScreenDensity AMDPI
-
HDPI
public static final PictureVariantScreenDensity HDPI
-
XDPI
public static final PictureVariantScreenDensity XDPI
-
UDPI
public static final PictureVariantScreenDensity UDPI
-
-
Method Detail
-
values
public static PictureVariantScreenDensity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PictureVariantScreenDensity c : PictureVariantScreenDensity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PictureVariantScreenDensity valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getByName
public static PictureVariantScreenDensity getByName(String name)
Get enumeration value by given name- Parameters:
name
- the literal name of searching enumeration value, can benull
- Returns:
- enumeration value by given name, or
null
if no value found
-
getScale
public int getScale()
Platform scale value- Returns:
- the platform scale value
-
-