Revision 560
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/VectorialUniqueValueLegend.java | ||
---|---|---|
54 | 54 |
); // Para poder ordenar |
55 | 55 |
private ArrayList keys = new ArrayList(); // En lugar de un HashSet, para tener acceso por ?ndice |
56 | 56 |
private String fieldName; |
57 |
private int fieldId; |
|
57 |
private int fieldId = -1;
|
|
58 | 58 |
private String labelFieldName; |
59 | 59 |
private FSymbol defaultSymbol; |
60 | 60 |
private DataSource dataSource; |
... | ... | |
322 | 322 |
*/ |
323 | 323 |
public void setDataSource(DataSource ds) throws FieldNotFoundException, DriverException { |
324 | 324 |
dataSource = ds; |
325 |
/*ds.start();
|
|
325 |
ds.start(); |
|
326 | 326 |
fieldId = ds.getFieldIndexByName(fieldName); |
327 | 327 |
ds.stop(); |
328 |
*/ |
|
328 |
|
|
329 | 329 |
} |
330 | 330 |
|
331 | 331 |
/* (non-Javadoc) |
Also available in: Unified diff