Class to draw time intervals as graphics, being able to indicate the colors to use (or default colors). The result graphics are like:
|{background color}|time-interval{fill color}|{background color}|
6869707172737475
private boolean drawGraphics; private TimeIntervalGraphics timeIntervalGraphics; private TimeFormat timeFormat = TimeFormat.DOUBLE; public TimeIntervalsRenderer(double min, double max, boolean drawGraphics) { timeIntervalGraphics = new TimeIntervalGraphics(min, max); this.drawGraphics = drawGraphics; }
139140141142143144145
public void setMin(double min) { timeIntervalGraphics.setMin(min); } public void setMinMax(double min, double max) { timeIntervalGraphics = new TimeIntervalGraphics(min, max); }