use of de.lmu.ifi.dbs.elki.visualization.colors.ListBasedColorLibrary in project elki by elki-project.
the class PropertiesBasedStyleLibrary method getColorSet.
@Override
public ColorLibrary getColorSet(String key) {
ColorLibrary cl = getCached(key, COLORSET, ColorLibrary.class);
if (cl == null) {
String[] colors = getPropertyValue(key, COLORSET).split(LIST_SEPARATOR);
cl = new ListBasedColorLibrary(colors, "Default");
setCached(key, COLORSET, cl);
}
return cl;
}
Aggregations