Revision 14756
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/styling/PictureMarker.java | ||
---|---|---|
84 | 84 |
public class PictureMarker extends AbstractTypeSymbolEditor implements |
85 | 85 |
ActionListener { |
86 | 86 |
private static File lastDir; |
87 |
protected ArrayList tabs = new ArrayList();
|
|
87 |
protected ArrayList<JPanel> tabs = new ArrayList<JPanel>();
|
|
88 | 88 |
protected JIncrementalNumberField txtSize; |
89 | 89 |
protected JIncrementalNumberField txtX; |
90 | 90 |
protected JIncrementalNumberField txtY; |
... | ... | |
228 | 228 |
txtSize.addActionListener(this); |
229 | 229 |
txtX.addActionListener(this); |
230 | 230 |
txtY.addActionListener(this); |
231 |
btn.addActionListener(this); |
|
232 |
btnSel.addActionListener(this); |
|
231 |
// buttons have their own listener!!!! |
|
233 | 232 |
|
234 | 233 |
myTab.add(aux); |
235 | 234 |
tabs.add(myTab); |
... | ... | |
269 | 268 |
} |
270 | 269 |
|
271 | 270 |
public JPanel[] getTabs() { |
272 |
return (JPanel[]) tabs.toArray(new JPanel[tabs.size()]);
|
|
271 |
return tabs.toArray(new JPanel[tabs.size()]); |
|
273 | 272 |
} |
274 | 273 |
|
275 | 274 |
public void refreshControls(ISymbol layer) { |
Also available in: Unified diff