public static class ExperimentExplorerPlotServlet.ColumnKey extends Object implements Comparable<ExperimentExplorerPlotServlet.ColumnKey>
Additionally, this class allows us to map annotations to colors that are used to draw small colored boxes below each column label.
Modifier and Type | Field and Description |
---|---|
private Map<String,Color> |
annotations |
private Comparable |
id |
private String |
title |
Constructor and Description |
---|
ColumnKey(Comparable<?> id,
String title) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ExperimentExplorerPlotServlet.ColumnKey o)
The ID of the key determines equality.
|
boolean |
equals(Object o) |
Color |
getColor(String annotation) |
int |
hashCode() |
void |
setColor(String annotation,
Color color) |
String |
toString() |
private final Comparable id
private final String title
public ColumnKey(Comparable<?> id, String title)
public int compareTo(ExperimentExplorerPlotServlet.ColumnKey o)
compareTo
in interface Comparable<ExperimentExplorerPlotServlet.ColumnKey>