Interface ICommonPictureContentEditModel
-
- All Superinterfaces:
ICompoundModel
,IEditableModel
,IModel
,IValidable
- All Known Implementing Classes:
CommonPictureContentEditModel
public interface ICommonPictureContentEditModel extends ICompoundModel, IEditableModel
The base model for common picture content editor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IValue<Boolean>
getCollectionModeValue()
Flag value of collection mode activityCommonPicture
getCommonPicture()
The common picture metadata objectPictureDirectionVariant
getDirection()
Direction of selected pictureICommonPictureContentGridModel
getGridModel()
Get submodel for grid componentbyte[]
getSelectedImageData()
Image data of selected pictureIValue<CommonPictureContentType>
getSelectedPictureContentTypeValue()
Selected value of common picture content type-
Methods inherited from interface com._1c.g5.aef2.models.ICompoundModel
getModels
-
Methods inherited from interface com._1c.g5.aef2.models.IEditableModel
isEditable, setEditable
-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, createWorkingCopy, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Method Detail
-
getCommonPicture
CommonPicture getCommonPicture()
The common picture metadata object- Returns:
- the instance of
CommonPicture
, cannot benull
-
getSelectedPictureContentTypeValue
IValue<CommonPictureContentType> getSelectedPictureContentTypeValue()
Selected value of common picture content type- Returns:
- value of
CommonPictureContentType
, nevernull
-
getCollectionModeValue
IValue<Boolean> getCollectionModeValue()
Flag value of collection mode activity- Returns:
- value of Boolean flag, never
null
-
getGridModel
ICommonPictureContentGridModel getGridModel()
Get submodel for grid component- Returns:
- the
ICommonPictureContentGridModel
model
-
getSelectedImageData
byte[] getSelectedImageData()
Image data of selected picture- Returns:
- the byte array of selected image, or
null
if no image selected.
-
getDirection
PictureDirectionVariant getDirection()
Direction of selected picture- Returns:
PictureDirectionVariant
of selected image, ornull
if direction is not provided.
-
-