Class PictureManifestQuery
java.lang.Object
com._1c.g5.v8.dt.platform.pictures.PictureManifestQuery
- All Implemented Interfaces:
IPictureManifestQuery
Implementation of
IPictureManifestQuery, 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
ConstructorsConstructorDescriptionPictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, int scale) PictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, int scale, boolean isRtl) Create instance ofPictureManifestQuery -
Method Summary
-
Constructor Details
-
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
-
-
Method Details
-
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:
-
isRtl
Description copied from interface:IPictureManifestQueryisRTL value of query- Specified by:
isRtlin interfaceIPictureManifestQuery- Returns:
- the
Booleanvalue of RTL - See Also:
-