|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImageElement
Image element.
| Nested Class Summary | |
|---|---|
static class |
ImageElement.Alignment
|
| Method Summary | |
|---|---|
ImageElement.Alignment |
getAlignment()
Gets the alignment for the image. |
java.lang.String |
getAlternativeText()
Returns the alt text for the image. |
java.lang.String |
getCode()
Returns the internal link code needed to place an internal link tag around the image. |
Image |
getImage()
Returns the representation of the actual image. |
Image |
getImageFile()
Returns the representation of the actual image. |
MediaItem |
getMediaItem()
Returns the media item representation of the actual image. |
java.lang.String |
getSubText()
Returns the subtext of the image. |
void |
setAlignment(ImageElement.Alignment alternativeText)
Sets the alignment for the image. |
void |
setAlternativeText(java.lang.String alternativeText)
Sets the alt text for the image. |
void |
setCaption(boolean isCaption)
Sets if the alternative text needs to be used as caption. |
void |
setCode(java.lang.String code)
Sets the internal link code needed to place an internal link tag around the image. |
void |
setImageFile(FileResource image)
Sets the representation of the actual image. |
| Methods inherited from interface nl.gx.webmanager.cms.element.Element |
|---|
cleanup, copy, getEditElementHeader, getElementHolder, getHeader, getIcon, getMediaItemVersion, getPageModel, getPageModelElement, getPageVersion, getPersonalization, getWebsite, isAuthorized, setAuthorized, setDefaultPresentation, setEditElementHeader, setHeader, setIcon, setPersonalization |
| Methods inherited from interface nl.gx.webmanager.cms.core.Presentable |
|---|
getPresentation, render, render, setPresentation |
| Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper |
|---|
getId, getUUID, setId, setUUID |
| Methods inherited from interface nl.gx.webmanager.springmvc.DelegatedControllerAware |
|---|
getDelegatedController, setDelegatedController |
| Method Detail |
|---|
java.lang.String getCode()
void setCode(java.lang.String code)
code - the internal link code needed to place an internal link tag around the image.java.lang.String getSubText()
void setCaption(boolean isCaption)
isCaption - Image getImageFile()
Image getImage()
void setImageFile(FileResource image)
image - the representation of the actual image.java.lang.String getAlternativeText()
void setAlternativeText(java.lang.String alternativeText)
alternativeText - the alt text for the image.ImageElement.Alignment getAlignment()
void setAlignment(ImageElement.Alignment alternativeText)
alternativeText - the alignment for the image.MediaItem getMediaItem()
null if the assigned
image is not selected from the Object Manager.
null if not originating
from the Object Manager.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||