Modifier and Type | Field and Description |
---|---|
private DbControl |
dc |
private String |
ID |
String |
imgClass |
private RawDataType |
rawDataType |
private String |
root |
Constructor and Description |
---|
SpotImageFormatter(DbControl dc,
RawDataType rawDataType,
String root) |
Modifier and Type | Method and Description |
---|---|
String |
format(Integer value)
Format a value by converting it to a string.
|
Integer |
parseString(String value)
Not supported.
|
void |
setImgClass(String imgClass)
Sets the class attribute for the generated <img> tag
that displays the spot image.
|
private final DbControl dc
private final RawDataType rawDataType
private final String ID
private final String root
public String imgClass
public SpotImageFormatter(DbControl dc, RawDataType rawDataType, String root)
public void setImgClass(String imgClass)
public String format(Integer value)
Formatter
public Integer parseString(String value)
parseString
in interface Formatter<Integer>
value
- The string to parse