public class ImageTitleBean extends Object implements IImageTitle, Serializable
Modifier and Type | Field and Description |
---|---|
static ImageTitleBean |
EMPTY_BEAN |
NO_LINK
Constructor and Description |
---|
ImageTitleBean(ContentContext ctx,
IImageTitle imageTitle) |
ImageTitleBean(String imageDescription,
String imageURL,
String imageLink) |
ImageTitleBean(String imageDescription,
String imageURL,
String imageLink,
int priority) |
Modifier and Type | Method and Description |
---|---|
String |
getImageDescription(ContentContext ctx) |
String |
getImageLinkURL(ContentContext ctx) |
int |
getPriority(ContentContext ctx)
return the priority of the picture inside the page (9=max)
|
String |
getResourceURL(ContentContext ctx) |
boolean |
isImageValid(ContentContext ctx) |
public static final ImageTitleBean EMPTY_BEAN
public ImageTitleBean(String imageDescription, String imageURL, String imageLink, int priority)
public ImageTitleBean(ContentContext ctx, IImageTitle imageTitle)
public String getImageDescription(ContentContext ctx)
getImageDescription
in interface IImageTitle
public String getResourceURL(ContentContext ctx)
getResourceURL
in interface IImageTitle
public boolean isImageValid(ContentContext ctx)
isImageValid
in interface IImageTitle
public String getImageLinkURL(ContentContext ctx)
getImageLinkURL
in interface IImageTitle
public int getPriority(ContentContext ctx)
IImageTitle
getPriority
in interface IImageTitle
Copyright © 2012-2018. All Rights Reserved.