Package com._1c.g5.v8.dt.md.pictures
Enum Class AbsPictureService
- All Implemented Interfaces:
IPictureService
,Serializable
,Comparable<AbsPictureService>
,Constable
An
IPictureService
implementation for moxel pictures.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionCreates a newPictureDef
successorvoid
deleteContent
(Picture picture) Deletes content of the given picturegetPictureName
(Picture picture) Returns name for the given picturesetContent
(Picture picture, String fileName, Point transparent) Sets content to the given picture.static AbsPictureService
Returns the enum constant of this class with the specified name.static AbsPictureService[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
createPicture
Description copied from interface:IPictureService
Creates a newPictureDef
successor- Specified by:
createPicture
in interfaceIPictureService
- Returns:
- a new
PictureDef
-
setContent
Description copied from interface:IPictureService
Sets content to the given picture. Content is taken from file with the givenfileName
.- Specified by:
setContent
in interfaceIPictureService
- Parameters:
picture
- is thePicture
fileName
- is the file nametransparent
- is the transparent point for picture- Returns:
-
getPictureName
Description copied from interface:IPictureService
Returns name for the given picture- Specified by:
getPictureName
in interfaceIPictureService
- Parameters:
picture
- is the picture- Returns:
- the picture name
-
deleteContent
Description copied from interface:IPictureService
Deletes content of the given picture- Specified by:
deleteContent
in interfaceIPictureService
- Parameters:
picture
- is the picture
-