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-
Nested Class Summary
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.platform.pictures.IPictureManifestQuery
IPictureManifestQuery.Builder -
Field Summary
Fields inherited from interface com._1c.g5.v8.dt.platform.pictures.IPictureManifestQuery
DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionPictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, PictureThemeVariant pictureThemeVariant, PictureWebBrowserVariant webBrowserVariant, int scale, boolean isRtl, boolean isTemplate, Integer glyphIndex) Create instance ofPictureManifestQuery -
Method Summary
Modifier and TypeMethodDescriptionIndex of Glyph image in picture, optionalPlatform picture interface variant of queryPlatform picture theme variant of queryintgetScale()Scale value of queryPlatform picture web browser variant of querybooleanisRtl()RightToLeft text direction value of querybooleanTemplate value of query
-
Constructor Details
-
PictureManifestQuery
public PictureManifestQuery(PictureInterfaceVariant pictureInterfaceVariant, PictureThemeVariant pictureThemeVariant, PictureWebBrowserVariant webBrowserVariant, int scale, boolean isRtl, boolean isTemplate, Integer glyphIndex) Create instance ofPictureManifestQuery- Parameters:
pictureInterfaceVariant- thePictureInterfaceVariant, ornullif no matter for querypictureThemeVariant- thePictureThemeVariant, ornullif no matter for querywebBrowserVariant- thePictureWebBrowserVariant, ornullif no matter for queryscale- integer value of scale of requested pictureisRtl-trueif RTL-interface is requestedisTemplate-trueif image mask requestedglyphIndex- index of glyph image in picture, ornullif full picture requested
-
-
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)
-
getPictureThemeVariant
Description copied from interface:IPictureManifestQueryPlatform picture theme variant of query- Specified by:
getPictureThemeVariantin interfaceIPictureManifestQuery- Returns:
- the
PictureThemeVariantof query, can benullif picture theme variant does not matter (any)
-
getWebBrowserVariant
Description copied from interface:IPictureManifestQueryPlatform picture web browser variant of query- Specified by:
getWebBrowserVariantin interfaceIPictureManifestQuery- Returns:
- the
PictureWebBrowserVariantof query, can benullif picture web browser 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
public boolean isRtl()Description copied from interface:IPictureManifestQueryRightToLeft text direction value of query- Specified by:
isRtlin interfaceIPictureManifestQuery- Returns:
- the boolean value of RTL
-
isTemplate
public boolean isTemplate()Description copied from interface:IPictureManifestQueryTemplate value of query- Specified by:
isTemplatein interfaceIPictureManifestQuery- Returns:
- the boolean value of template
-
getGlyphIndex
Description copied from interface:IPictureManifestQueryIndex of Glyph image in picture, optional- Specified by:
getGlyphIndexin interfaceIPictureManifestQuery- Returns:
- index of Glyph Image in picture, or
nullif not scpecified
-