Class PictureManifestQuery
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.pictures.PictureManifestQuery
-
- All Implemented Interfaces:
IPictureManifestQuery
public class PictureManifestQuery extends Object implements IPictureManifestQuery
Implementation ofIPictureManifestQuery
, allows to request a picture on a specific scale and interface variant
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.v8.dt.platform.pictures.IPictureManifestQuery
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description PictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, int scale)
Create instance ofPictureManifestQuery
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PictureInterfaceVariant
getPictureInterfaceVariant()
Platform picture interface variant of queryint
getScale()
Scale value of query
-
-
-
Constructor Detail
-
PictureManifestQuery
public PictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, int scale)
Create instance ofPictureManifestQuery
- Parameters:
pictureInterfaceVariant
- thePictureInterfaceVariant
, onnull
if no matter for queryscale
- integer value of scale of requested picture
-
-
Method Detail
-
getPictureInterfaceVariant
public PictureInterfaceVariant getPictureInterfaceVariant()
Description copied from interface:IPictureManifestQuery
Platform picture interface variant of query- Specified by:
getPictureInterfaceVariant
in interfaceIPictureManifestQuery
- Returns:
- the
PictureInterfaceVariant
of query, can benull
if picture interface variant does not matter (any)
-
getScale
public int getScale()
Description copied from interface:IPictureManifestQuery
Scale value of query- Specified by:
getScale
in interfaceIPictureManifestQuery
- Returns:
- the integer value of scale
- See Also:
PictureVariantScreenDensity
-
-