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, DEFAULT_LTR, DEFAULT_RTL
-
-
Constructor Summary
Constructors Constructor Description PictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, int scale)
PictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, int scale, boolean isRtl)
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 queryBoolean
isRtl()
isRTL value of query
-
-
-
Constructor Detail
-
PictureManifestQuery
public PictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, int scale, boolean isRtl)
Create instance ofPictureManifestQuery
- Parameters:
pictureInterfaceVariant
- thePictureInterfaceVariant
, onnull
if no matter for queryscale
- integer value of scale of requested pictureisRtl
-true
if RTL-interface is requested
-
PictureManifestQuery
public PictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, int scale)
-
-
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
-
isRtl
public Boolean isRtl()
Description copied from interface:IPictureManifestQuery
isRTL value of query- Specified by:
isRtl
in interfaceIPictureManifestQuery
- Returns:
- the
Boolean
value of RTL - See Also:
PictureDirectionVariant
-
-