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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PictureVariantScreenDensitygetByName(String name)Get enumeration value by given nameStringgetLiteralName()Literal nameStringgetName()NameintgetScale()Platform scale valuestatic PictureVariantScreenDensityvalueOf(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- 
BLDPIpublic static final PictureVariantScreenDensity BLDPI 
 - 
LDPIpublic static final PictureVariantScreenDensity LDPI 
 - 
ALDPIpublic static final PictureVariantScreenDensity ALDPI 
 - 
MDPIpublic static final PictureVariantScreenDensity MDPI 
 - 
AMDPIpublic static final PictureVariantScreenDensity AMDPI 
 - 
HDPIpublic static final PictureVariantScreenDensity HDPI 
 - 
XDPIpublic static final PictureVariantScreenDensity XDPI 
 - 
UDPIpublic static final PictureVariantScreenDensity UDPI 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
getByNamepublic static PictureVariantScreenDensity getByName(String name) Get enumeration value by given name- Parameters:
- name- the literal name of searching enumeration value, can be- null
- Returns:
- enumeration value by given name, or nullif no value found
 
 - 
getScalepublic int getScale() Platform scale value- Returns:
- the platform scale value
 
 
- 
 
-