Revision 17565 trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/scatterplot/chart/ROIChart.java
ROIChart.java | ||
---|---|---|
55 | 55 |
|
56 | 56 |
public class ROIChart { |
57 | 57 |
|
58 |
ArrayList shapeList= null; |
|
58 |
// lista con los shapes |
|
59 |
private ArrayList shapeList= null; |
|
60 |
// lista con los rangos |
|
61 |
private ArrayList rangos = null; |
|
59 | 62 |
Color roiColor=null; |
60 | 63 |
String name= null; |
61 | 64 |
|
65 |
|
|
62 | 66 |
/** |
63 | 67 |
* Constructor |
64 | 68 |
* */ |
... | ... | |
66 | 70 |
ROIChart(Color color, String name){ |
67 | 71 |
roiColor= color; |
68 | 72 |
shapeList= new ArrayList(); |
73 |
rangos = new ArrayList(); |
|
69 | 74 |
this.name = name; |
70 | 75 |
} |
71 | 76 |
|
... | ... | |
76 | 81 |
* @range intervalo abarcado por el shape en los ejes x e y |
77 | 82 |
* */ |
78 | 83 |
void add(Shape shape, Range[] range){ |
84 |
Object oShape = new Object[2]; |
|
79 | 85 |
shapeList.add(shape); |
86 |
rangos.add((Range[])range); |
|
80 | 87 |
} |
81 | 88 |
|
82 | 89 |
|
... | ... | |
97 | 104 |
|
98 | 105 |
} |
99 | 106 |
|
107 |
/** |
|
108 |
* @return lista con los rangos |
|
109 |
* */ |
|
110 |
public ArrayList getRanges(){ |
|
111 |
return rangos; |
|
112 |
|
|
113 |
} |
|
100 | 114 |
|
115 |
|
|
101 | 116 |
/** |
117 |
* @return lista con los shapes |
|
118 |
* */ |
|
119 |
public ArrayList getShapesList(){ |
|
120 |
return shapeList; |
|
121 |
} |
|
122 |
|
|
123 |
|
|
124 |
/** |
|
102 | 125 |
* @return nombre de la roiChart |
103 | 126 |
* */ |
104 | 127 |
public String getName(){ |
Also available in: Unified diff