Class ExperimentExplorerPlotServlet.ColumnKey
java.lang.Object
net.sf.basedb.clients.web.servlet.ExperimentExplorerPlotServlet.ColumnKey
- All Implemented Interfaces:
Comparable<ExperimentExplorerPlotServlet.ColumnKey>
- Enclosing class:
- ExperimentExplorerPlotServlet
public static class ExperimentExplorerPlotServlet.ColumnKey
extends Object
implements Comparable<ExperimentExplorerPlotServlet.ColumnKey>
Uses as a column key in the plots. This allows us to
separate the displayed label from the identity of the column.
Eg. there is no need to make sure that the label strings are unique
since we can use some internal id for this purpose.
Additionally, this class allows us to map annotations to colors that are used to draw small colored boxes below each column label.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
id
-
title
-
annotations
-
-
Constructor Details
-
ColumnKey
-
-
Method Details
-
compareTo
The ID of the key determines equality.- Specified by:
compareTo
in interfaceComparable<ExperimentExplorerPlotServlet.ColumnKey>
-
toString
-
equals
-
hashCode
public int hashCode() -
setColor
-
getColor
-