Class ZipPictureManifestEntry
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.pictures.zip.ZipPictureManifestEntry
-
- All Implemented Interfaces:
IZipPictureManifestEntry
public class ZipPictureManifestEntry extends Object implements IZipPictureManifestEntry
DefaultIZipPictureManifestEntry
implementation
-
-
Constructor Summary
Constructors Constructor Description ZipPictureManifestEntry(String name, PictureVariantScreenDensity screenDensity, boolean template, PictureDirectionVariant pictureDirection, PictureInterfaceVariant interfaceVariant, int glyphWidth, int glyphHeight)
ZipPictureManifestEntry(String name, PictureVariantScreenDensity screenDensity, boolean template, PictureDirectionVariant pictureDirection, PictureInterfaceVariant interfaceVariant, PictureWebBrowserVariant webBrowserVariant, int glyphWidth, int glyphHeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getGlyphHeight()
Glyph height sizeint
getGlyphWidth()
Glyph width sizePictureInterfaceVariant
getInterfaceVariant()
PictureInterfaceVariant
valueString
getName()
Picture namePictureDirectionVariant
getPictureDirection()
PictureDirectionVariant
valuePictureVariantScreenDensity
getScreenDensity()
PictureWebBrowserVariant
getWebBrowserVariant()
PictureWebBrowserVariant
valueboolean
isTemplate()
Is picture is tamplatevoid
setGlyphHeight(int glyphHeight)
void
setGlyphWidth(int glyphWidth)
void
setInterfaceVariant(PictureInterfaceVariant interfaceVariant)
void
setName(String name)
void
setPictureDirection(PictureDirectionVariant pictureDirection)
void
setScreenDensity(PictureVariantScreenDensity screenDensity)
void
setTemplate(boolean template)
void
setWebBrowserVariant(PictureWebBrowserVariant webBrowserVariant)
-
-
-
Constructor Detail
-
ZipPictureManifestEntry
public ZipPictureManifestEntry(String name, PictureVariantScreenDensity screenDensity, boolean template, PictureDirectionVariant pictureDirection, PictureInterfaceVariant interfaceVariant, int glyphWidth, int glyphHeight)
- Parameters:
name
- theString
name of picture, cannot benull
screenDensity
- thePictureVariantScreenDensity
, can benull
template
- Picture templatepictureDirection
- thePictureDirectionVariant
, ornull
in case of any direction variantinterfaceVariant
- thePictureInterfaceVariant
, ornull
in case of any interface variantglyphWidth
- the glyph width size if this picture is block of many pictures, or0
if notglyphHeight
- the glyph height size if this picture is block of many pictures, or0
if not
-
ZipPictureManifestEntry
public ZipPictureManifestEntry(String name, PictureVariantScreenDensity screenDensity, boolean template, PictureDirectionVariant pictureDirection, PictureInterfaceVariant interfaceVariant, PictureWebBrowserVariant webBrowserVariant, int glyphWidth, int glyphHeight)
- Parameters:
name
- theString
name of picture, cannot benull
screenDensity
- thePictureVariantScreenDensity
, can benull
template
- Picture templatepictureDirection
- thePictureDirectionVariant
, ornull
in case of any direction variantinterfaceVariant
- thePictureInterfaceVariant
, ornull
in case of any interface variantwebBrowserVariant
- thePictureWebBrowserVariant
, ornull
in case of any interface variantglyphWidth
- the glyph width size if this picture is block of many pictures, or0
if notglyphHeight
- the glyph height size if this picture is block of many pictures, or0
if not
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IZipPictureManifestEntry
Picture name- Specified by:
getName
in interfaceIZipPictureManifestEntry
- Returns:
- the
String
name of picture, nevernull
-
setName
public void setName(String name)
- Parameters:
name
- the name to set
-
getScreenDensity
public PictureVariantScreenDensity getScreenDensity()
Description copied from interface:IZipPictureManifestEntry
- Specified by:
getScreenDensity
in interfaceIZipPictureManifestEntry
- Returns:
- the screenDensity value, can be
null
-
setScreenDensity
public void setScreenDensity(PictureVariantScreenDensity screenDensity)
-
isTemplate
public boolean isTemplate()
Description copied from interface:IZipPictureManifestEntry
Is picture is tamplate- Specified by:
isTemplate
in interfaceIZipPictureManifestEntry
- Returns:
- the template flag value
-
setTemplate
public void setTemplate(boolean template)
-
getPictureDirection
public PictureDirectionVariant getPictureDirection()
Description copied from interface:IZipPictureManifestEntry
PictureDirectionVariant
value- Specified by:
getPictureDirection
in interfaceIZipPictureManifestEntry
- Returns:
- the pictureDirection, cannot be
null
, defaultPictureDirectionVariant.ANY
-
setPictureDirection
public void setPictureDirection(PictureDirectionVariant pictureDirection)
- Parameters:
pictureDirection
- the pictureDirection to set
-
getInterfaceVariant
public PictureInterfaceVariant getInterfaceVariant()
Description copied from interface:IZipPictureManifestEntry
PictureInterfaceVariant
value- Specified by:
getInterfaceVariant
in interfaceIZipPictureManifestEntry
- Returns:
- the interfaceVariant, cannot be
null
, defaultPictureInterfaceVariant#ANY
-
setInterfaceVariant
public void setInterfaceVariant(PictureInterfaceVariant interfaceVariant)
- Parameters:
interfaceVariant
- the interfaceVariant to set
-
getWebBrowserVariant
public PictureWebBrowserVariant getWebBrowserVariant()
Description copied from interface:IZipPictureManifestEntry
PictureWebBrowserVariant
value- Specified by:
getWebBrowserVariant
in interfaceIZipPictureManifestEntry
- Returns:
- the webBrowserVariant, cannot be
null
, defaultPictureWebBrowserVariant.ANY
-
setWebBrowserVariant
public void setWebBrowserVariant(PictureWebBrowserVariant webBrowserVariant)
- Parameters:
webBrowserVariant
- the webBrowserVariant to set
-
getGlyphWidth
public int getGlyphWidth()
Description copied from interface:IZipPictureManifestEntry
Glyph width size- Specified by:
getGlyphWidth
in interfaceIZipPictureManifestEntry
- Returns:
- the glyphWidth the glyph width size,
or
0
if this picture is not block of many pictures
-
setGlyphWidth
public void setGlyphWidth(int glyphWidth)
- Parameters:
glyphWidth
- the glyphWidth to set
-
getGlyphHeight
public int getGlyphHeight()
Description copied from interface:IZipPictureManifestEntry
Glyph height size- Specified by:
getGlyphHeight
in interfaceIZipPictureManifestEntry
- Returns:
- the glyphHeight the glyph height size,
or
0
if this picture is not block of many pictures
-
setGlyphHeight
public void setGlyphHeight(int glyphHeight)
- Parameters:
glyphHeight
- the glyphHeight to set
-
-