Class GeneratedImageTableCell
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.GeneratedImageTableCell
-
- All Implemented Interfaces:
ISerializableComparable
,java.io.Serializable
,java.lang.Comparable<ISerializableComparable>
public class GeneratedImageTableCell extends java.lang.Object implements ISerializableComparable
A Table Cell that is used for generated images.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
IMAGE_HEIGHT_PARAM
static java.lang.String
IMAGE_WIDTH_PARAM
-
Constructor Summary
Constructors Constructor Description GeneratedImageTableCell(java.lang.String path, int imageWidth, int imageHeight, int thumbnailWidth, int thumbnailHeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(java.lang.String name, java.lang.Object value)
int
compareTo(ISerializableComparable o)
boolean
equals(java.lang.Object obj)
java.lang.String
getHTMLString(java.lang.String downloadURL, java.lang.String sessionID)
Get a string containing HTML that shows a thumbnail image with a link to the larger imageint
getMaxThumbnailHeight()
int
getMaxThumbnailWidth()
java.lang.String
getPath()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
IMAGE_WIDTH_PARAM
public static final java.lang.String IMAGE_WIDTH_PARAM
- See Also:
- Constant Field Values
-
IMAGE_HEIGHT_PARAM
public static final java.lang.String IMAGE_HEIGHT_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPath
public java.lang.String getPath()
-
getMaxThumbnailWidth
public int getMaxThumbnailWidth()
-
getMaxThumbnailHeight
public int getMaxThumbnailHeight()
-
addParameter
public void addParameter(java.lang.String name, java.lang.Object value)
-
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 downloadURL, java.lang.String sessionID)
Get a string containing HTML that shows a thumbnail image with a link to the larger image
-
-