use of com.serotonin.m2m2.view.text.RangeValue in project ma-core-public by infiniteautomation.
the class DataPointEditDwr method setRangeRenderer.
@DwrPermission(user = true)
public void setRangeRenderer(String format, List<RangeValue> values) {
RangeRenderer r = new RangeRenderer(format);
for (RangeValue v : values) r.addRangeValues(v.getFrom(), v.getTo(), v.getText(), v.getColour());
setTextRenderer(r);
}
Aggregations