public class ImageLink
extends java.lang.Object
Constructor and Description |
---|
ImageLink() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlign()
Deprecated.
Use
getCssClass() and getCssStyle() instead |
java.lang.String |
getBorder()
Deprecated.
Use
getCssClass() and getCssStyle() instead |
java.lang.String |
getBorderColor()
Deprecated.
Use
getCssClass() and getCssStyle() instead |
java.lang.String |
getCssClass()
Returns a CSS class to apply to the HTML image tag on HTML output.
|
java.lang.String |
getCssStyle()
Returns CSS style instructions to apply to the HTML image tag on HTML output.
|
java.lang.String |
getDb()
Returns the key of the database containing the image file.
|
java.lang.String |
getDoc()
Returns the key of the document containing the image file, either the name of a file container or the content key of a content document.
|
java.lang.String |
getFile()
Returns the name of the file
|
java.lang.String |
getTitle()
Returns the title of the image, which will be used as content for attributes "title" and "alt" on HTML output
|
void |
setAlign(java.lang.String align)
Deprecated.
Use
setCssClass(String) and setCssStyle(String) instead |
void |
setBorder(java.lang.String border)
Deprecated.
Use
setCssClass(String) and setCssStyle(String) instead |
void |
setBorderColor(java.lang.String borderColor)
Deprecated.
Use
setCssClass(String) and setCssStyle(String) instead |
void |
setCssClass(java.lang.String cssClass)
Sets a CSS class to apply to the HTML image tag on HTML output.
|
void |
setCssStyle(java.lang.String cssStyle)
Sets CSS style instructions to apply to the HTML image tag on HTML output.
|
void |
setDb(java.lang.String db)
Sets the key of the database containing the image file.
|
void |
setDoc(java.lang.String doc)
Sets the key of the document containing the image file, either the name of a file container or the content key of a content document.
|
void |
setFile(java.lang.String file)
Sets the name of the file
|
void |
setTitle(java.lang.String alt)
Sets the title of the image, which will be used as content for attributes "title" and "alt" on HTML output
|
java.lang.String |
toString()
Uses an
ImageLinkReader to write the data of this image link into a string |
public java.lang.String getDb()
public void setDb(java.lang.String db)
public java.lang.String getDoc()
public void setDoc(java.lang.String doc)
public java.lang.String getFile()
public void setFile(java.lang.String file)
public java.lang.String getTitle()
public void setTitle(java.lang.String alt)
public java.lang.String getBorder()
public void setBorder(java.lang.String border)
public java.lang.String getBorderColor()
public void setBorderColor(java.lang.String borderColor)
public java.lang.String getAlign()
public void setAlign(java.lang.String align)
public java.lang.String getCssClass()
public void setCssClass(java.lang.String cssClass)
public java.lang.String getCssStyle()
public void setCssStyle(java.lang.String cssStyle)
public java.lang.String toString()
ImageLinkReader
to write the data of this image link into a stringtoString
in class java.lang.Object