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