]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network/src/org/simantics/district/network/visualisations/VisualisationColoringObject.java
First version of district visualisations
[simantics/district.git] / org.simantics.district.network / src / org / simantics / district / network / visualisations / VisualisationColoringObject.java
1 package org.simantics.district.network.visualisations;
2
3 public class VisualisationColoringObject {
4
5     private String label;
6     private boolean used;
7     private String variable;
8     private double min;
9     private double max;
10     private String unit;
11     private String colorMap;
12     private boolean isDefault;
13     
14     public VisualisationColoringObject(String label, boolean used, String variable, double min, double max, String unit, String colorMap, boolean isDefault) {
15         this.label = label;
16         this.used = used;
17         this.variable = variable;
18         this.min = min;
19         this.max = max;
20         this.unit = unit;
21         this.colorMap = colorMap;
22         this.isDefault = isDefault;
23     }
24     
25     public String getLabel() {
26         return label;
27     }
28     
29     public boolean isUsed() {
30         return used;
31     }
32     
33     public String getVariable() {
34         return variable;
35     }
36     
37     public double getMin() {
38         return min;
39     }
40     
41     public double getMax() {
42         return max;
43     }
44     
45     public String getUnit() {
46         return unit;
47     }
48     
49     public String getColorMap() {
50         return colorMap;
51     }
52     
53     public boolean isDefault() {
54         return isDefault;
55     }
56 }