if (value instanceof Color && key instanceof String) {
Fill b = provider.getFill((Color) value);
Double minimum = Double.parseDouble((String) getSetting(GRAPHICAL_FOREGROUND_MIN));
Double maximum = Double.parseDouble((String) getSetting(GRAPHICAL_FOREGROUND_MAX));
b.setInterval(minimum, maximum);
brushes.add(new ConditionalBrush(b, (String) key));
}
}
}
}
}