blob: f3846d83db4659e7925870c419480a68c32ebda7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package org.singinst.uf.presenter;
import org.singinst.uf.model.SimpleColor;
public class SimpleStyle {
private final SimpleColor color;
private final boolean dottedLine;
public SimpleStyle(SimpleColor color) {
this(color, false);
}
public SimpleStyle(SimpleColor color, boolean dottedLine) {
this.color = color;
this.dottedLine = dottedLine;
}
public static final SimpleStyle DECORATION_POINT = new SimpleStyle(SimpleColor.LIGHT_GRAY);
public static final SimpleStyle AXIS = new SimpleStyle(SimpleColor.LIGHT_GRAY);
public static final SimpleStyle PLAIN = new SimpleStyle(SimpleColor.BLACK);
public SimpleColor getColor() {
return color;
}
public boolean isDottedLine() {
return dottedLine;
}
}
|