public class PictureViewImpl extends Object implements PictureView
FIELD_CONTENT, FIELD_DESCRIPTION, FIELD_FILENAME, FIELD_HEIGHT, FIELD_INFO, FIELD_TAG, FIELD_TITLE, FIELD_WIDTH
Constructor and Description |
---|
PictureViewImpl() |
PictureViewImpl(Map<String,Serializable> m) |
Modifier and Type | Method and Description |
---|---|
Map<String,Serializable> |
asMap()
Convert this
PictureView as a MAp to be stored inside a document. |
Blob |
getBlob()
Returns the
Blob of the picture view. |
Blob |
getContent()
Returns the
Blob of the picture view. |
String |
getDescription() |
String |
getFilename() |
int |
getHeight() |
ImageInfo |
getImageInfo()
Returns the
ImageInfo of the picture view. |
String |
getTag() |
String |
getTitle() |
int |
getWidth() |
void |
setBlob(Blob blob)
Sets the
Blob of this picture view. |
void |
setDescription(String description) |
void |
setFilename(String filename) |
void |
setHeight(int height) |
void |
setImageInfo(ImageInfo info)
Sets the
ImageInfo of the picture view. |
void |
setTag(String tag) |
void |
setTitle(String title) |
void |
setWidth(int width) |
public PictureViewImpl()
public PictureViewImpl(Map<String,Serializable> m)
public int getWidth()
getWidth
in interface PictureView
public void setWidth(int width)
setWidth
in interface PictureView
public String getTitle()
getTitle
in interface PictureView
public void setTitle(String title)
setTitle
in interface PictureView
public String getDescription()
getDescription
in interface PictureView
public void setDescription(String description)
setDescription
in interface PictureView
public String getTag()
getTag
in interface PictureView
public void setTag(String tag)
setTag
in interface PictureView
public String getFilename()
getFilename
in interface PictureView
public void setFilename(String filename)
setFilename
in interface PictureView
public Blob getContent()
PictureView
Blob
of the picture view.getContent
in interface PictureView
public int getHeight()
getHeight
in interface PictureView
public void setHeight(int height)
setHeight
in interface PictureView
public Blob getBlob()
PictureView
Blob
of the picture view.getBlob
in interface PictureView
public void setBlob(Blob blob)
PictureView
Blob
of this picture view.setBlob
in interface PictureView
public ImageInfo getImageInfo()
PictureView
ImageInfo
of the picture view.getImageInfo
in interface PictureView
public void setImageInfo(ImageInfo info)
PictureView
ImageInfo
of the picture view.setImageInfo
in interface PictureView
public Map<String,Serializable> asMap()
PictureView
PictureView
as a MAp to be stored inside a document.asMap
in interface PictureView
Copyright © 2015 Nuxeo SA. All rights reserved.