org.jfree.report.filter.templates
Class ImageURLElementTemplate
java.lang.Object
|
+--org.jfree.report.filter.templates.AbstractTemplate
|
+--org.jfree.report.filter.templates.ImageURLElementTemplate
- public class ImageURLElementTemplate
- extends AbstractTemplate
An image URL element template, which reads the image from a static URL.
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Object |
clone()
Clones the template. |
java.net.URL |
getBaseURL()
Returns the base URL. |
java.lang.String |
getContent()
Returns the URL text for the template. |
java.lang.Object |
getValue()
Returns the current value for the data source. |
void |
setBaseURL(java.net.URL baseURL)
Sets the base URL. |
void |
setContent(java.lang.String content)
Sets the URL for the template. |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ImageURLElementTemplate
public ImageURLElementTemplate()
- Creates a new template.
setContent
public void setContent(java.lang.String content)
- Sets the URL for the template.
- Parameters:
content - the URL.
getContent
public java.lang.String getContent()
- Returns the URL text for the template.
- Returns:
- The URL text.
getBaseURL
public java.net.URL getBaseURL()
- Returns the base URL.
- Returns:
- The URL.
setBaseURL
public void setBaseURL(java.net.URL baseURL)
- Sets the base URL.
- Parameters:
baseURL - the URL.
getValue
public java.lang.Object getValue()
- Returns the current value for the data source.
- Returns:
- the value.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Clones the template.
- Overrides:
- clone in class AbstractTemplate
- Returns:
- the clone.
- Throws:
- java.lang.CloneNotSupportedException - this should never happen.