Class DssLinkTableCell
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.DssLinkTableCell
-
- All Implemented Interfaces:
ISerializableComparable
,java.io.Serializable
,java.lang.Comparable<ISerializableComparable>
public class DssLinkTableCell extends java.lang.Object implements ISerializableComparable
A table cell for links to the dss.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DssLinkTableCell(java.lang.String linkText, LinkModel linkModel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ISerializableComparable o)
boolean
equals(java.lang.Object obj)
java.lang.String
getHtmlString(java.lang.String sessionId)
LinkModel
getLinkModel()
static java.lang.String
getLinkUrl(LinkModel linkModel, java.lang.String sessionId)
Get a string containing HTML that shows a thumbnail image with a link to the larger imageint
hashCode()
void
setLinkModel(LinkModel linkModel)
java.lang.String
toString()
-
-
-
Constructor Detail
-
DssLinkTableCell
public DssLinkTableCell(java.lang.String linkText, LinkModel linkModel)
-
-
Method Detail
-
setLinkModel
public void setLinkModel(LinkModel linkModel)
-
getLinkModel
public LinkModel getLinkModel()
-
compareTo
public int compareTo(ISerializableComparable o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ISerializableComparable>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHtmlString
public java.lang.String getHtmlString(java.lang.String sessionId)
-
getLinkUrl
public static java.lang.String getLinkUrl(LinkModel linkModel, java.lang.String sessionId)
Get a string containing HTML that shows a thumbnail image with a link to the larger image
-
-