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 newPictureDefsuccessorvoiddeleteContent(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 AbsPictureServiceReturns 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:IPictureServiceCreates a newPictureDefsuccessor- Specified by:
createPicturein interfaceIPictureService- Returns:
- a new
PictureDef
-
setContent
Description copied from interface:IPictureServiceSets content to the given picture. Content is taken from file with the givenfileName.- Specified by:
setContentin interfaceIPictureService- Parameters:
picture- is thePicturefileName- is the file nametransparent- is the transparent point for picture- Returns:
-
getPictureName
Description copied from interface:IPictureServiceReturns name for the given picture- Specified by:
getPictureNamein interfaceIPictureService- Parameters:
picture- is the picture- Returns:
- the picture name
-
deleteContent
Description copied from interface:IPictureServiceDeletes content of the given picture- Specified by:
deleteContentin interfaceIPictureService- Parameters:
picture- is the picture
-