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 PictureInterfaceVariantgetPictureInterfaceVariant()Platform picture interface variant of queryintgetScale()Scale value of queryBooleanisRtl()isRTL value of query
-
-
-
Constructor Detail
-
PictureManifestQuery
public PictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, int scale, boolean isRtl)
Create instance ofPictureManifestQuery- Parameters:
pictureInterfaceVariant- thePictureInterfaceVariant, onnullif no matter for queryscale- integer value of scale of requested pictureisRtl-trueif RTL-interface is requested
-
PictureManifestQuery
public PictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, int scale)
-
-
Method Detail
-
getPictureInterfaceVariant
public PictureInterfaceVariant getPictureInterfaceVariant()
Description copied from interface:IPictureManifestQueryPlatform picture interface variant of query- Specified by:
getPictureInterfaceVariantin interfaceIPictureManifestQuery- Returns:
- the
PictureInterfaceVariantof query, can benullif picture interface variant does not matter (any)
-
getScale
public int getScale()
Description copied from interface:IPictureManifestQueryScale value of query- Specified by:
getScalein interfaceIPictureManifestQuery- Returns:
- the integer value of scale
- See Also:
PictureVariantScreenDensity
-
isRtl
public Boolean isRtl()
Description copied from interface:IPictureManifestQueryisRTL value of query- Specified by:
isRtlin interfaceIPictureManifestQuery- Returns:
- the
Booleanvalue of RTL - See Also:
PictureDirectionVariant
-
-