|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MediaItemImageVersion
Representation of image media item.
| Method Summary | |
|---|---|
boolean |
attachFile(org.springframework.web.multipart.MultipartFile multipartFile)
Attaches a image to this image media item version |
boolean |
detachFile()
Detaches a file from this image media item version |
java.lang.String |
getAlternativeText()
Return alt text. |
Image |
getImage()
Return the image. |
Image |
getResizedImage(int sizeId)
Deprecated. use image.getSizedImage(width,height) Return the image for a particular size. |
Image |
getResizedImage(int width,
int height)
Deprecated. use image.getSizedImage(width,height) Return the image for a width and height. |
ImageSizeModel |
getSizeModel()
Return the size model assosiated with this media item image, null if no size model is assosiated
with it |
Image |
getThumbNailImage()
Return the thumbnail image. |
boolean |
isEditableAlternativeText()
Returns a boolean indicating whether the alternative text may be edited at the element the image media item is assigned to . |
void |
setAlternativeText(java.lang.String text)
Sets the alternative text of this image media item version. |
| Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper |
|---|
getId, getUUID, setId, setUUID |
| Methods inherited from interface nl.gx.webmanager.springmvc.FormBackingObject |
|---|
getNestedPath, getUUID |
| Methods inherited from interface nl.gx.webmanager.cms.workflow.WorkflowEnabled |
|---|
getWorkflowModel, getWorkflowModelInstance |
| Method Detail |
|---|
java.lang.String getAlternativeText()
void setAlternativeText(java.lang.String text)
text - The text to setImage getImage()
Image getThumbNailImage()
ImageSizeModel getSizeModel()
null if no size model is assosiated
with it
Image getResizedImage(int sizeId)
Image getResizedImage(int width,
int height)
boolean isEditableAlternativeText()
boolean attachFile(org.springframework.web.multipart.MultipartFile multipartFile)
multipartFile - The file to attach
boolean detachFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||