Interface PictureView
-
- All Known Implementing Classes:
PictureViewImpl
public interface PictureView
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_CONTENTstatic StringFIELD_DESCRIPTIONstatic StringFIELD_FILENAMEstatic StringFIELD_HEIGHTstatic StringFIELD_INFOstatic StringFIELD_TAGstatic StringFIELD_TITLEstatic StringFIELD_WIDTH
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Map<String,Serializable>asMap()Convert thisPictureViewas a MAp to be stored inside a document.BlobgetBlob()Returns theBlobof the picture view.BlobgetContent()Deprecated.since 7.2, usegetBlob()insteadStringgetDescription()StringgetFilename()intgetHeight()ImageInfogetImageInfo()Returns theImageInfoof the picture view.StringgetTag()StringgetTitle()intgetWidth()voidsetBlob(Blob blob)Sets theBlobof this picture view.voidsetDescription(String description)voidsetFilename(String filename)voidsetHeight(int height)voidsetImageInfo(ImageInfo info)Sets theImageInfoof the picture view.voidsetTag(String tag)voidsetTitle(String title)voidsetWidth(int width)
-
-
-
Field Detail
-
FIELD_TITLE
static final String FIELD_TITLE
- See Also:
- Constant Field Values
-
FIELD_DESCRIPTION
static final String FIELD_DESCRIPTION
- See Also:
- Constant Field Values
-
FIELD_TAG
static final String FIELD_TAG
- See Also:
- Constant Field Values
-
FIELD_WIDTH
static final String FIELD_WIDTH
- See Also:
- Constant Field Values
-
FIELD_HEIGHT
static final String FIELD_HEIGHT
- See Also:
- Constant Field Values
-
FIELD_FILENAME
static final String FIELD_FILENAME
- See Also:
- Constant Field Values
-
FIELD_CONTENT
static final String FIELD_CONTENT
- See Also:
- Constant Field Values
-
FIELD_INFO
static final String FIELD_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTitle
String getTitle()
-
setTitle
void setTitle(String title)
-
getTag
String getTag()
-
setTag
void setTag(String tag)
-
getDescription
String getDescription()
-
setDescription
void setDescription(String description)
-
getHeight
int getHeight()
-
setHeight
void setHeight(int height)
-
getWidth
int getWidth()
-
setWidth
void setWidth(int width)
-
getFilename
String getFilename()
-
setFilename
void setFilename(String filename)
-
getContent
@Deprecated Blob getContent()
Deprecated.since 7.2, usegetBlob()insteadReturns theBlobof the picture view.
-
getImageInfo
ImageInfo getImageInfo()
Returns theImageInfoof the picture view.- Since:
- 7.1
-
setImageInfo
void setImageInfo(ImageInfo info)
Sets theImageInfoof the picture view.- Since:
- 7.1
-
getBlob
Blob getBlob()
Returns theBlobof the picture view.- Since:
- 5.7
-
setBlob
void setBlob(Blob blob)
Sets theBlobof this picture view.- Since:
- 5.7
-
asMap
Map<String,Serializable> asMap()
Convert thisPictureViewas a MAp to be stored inside a document.- Since:
- 5.7
-
-