Revision 20779 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/VectorialUniqueValue.java
VectorialUniqueValue.java | ||
---|---|---|
92 | 92 |
public class VectorialUniqueValue extends JPanel implements ILegendPanel, ActionListener{ |
93 | 93 |
private static Logger logger = Logger.getLogger(VectorialUniqueValue.class.getName()); |
94 | 94 |
|
95 |
private VectorialUniqueValueLegend theLegend;
|
|
95 |
protected VectorialUniqueValueLegend theLegend;
|
|
96 | 96 |
private ClassifiableVectorial layer; |
97 | 97 |
private SymbolTable symbolTable; |
98 |
private JComboBox cmbFields;
|
|
98 |
protected JComboBox cmbFields;
|
|
99 | 99 |
private JButton btnRemoveAll; |
100 | 100 |
private JButton btnRemove; |
101 | 101 |
private JCheckBox chbUseDefault = null; |
... | ... | |
369 | 369 |
|
370 | 370 |
symbolTable.removeAllItems(); |
371 | 371 |
|
372 |
if (legend instanceof VectorialUniqueValueLegend) {
|
|
372 |
if (VectorialUniqueValueLegend.class.equals(legend.getClass())) {
|
|
373 | 373 |
theLegend = (VectorialUniqueValueLegend) legend; |
374 | 374 |
getChbUseDefault().setSelected(theLegend.isUseDefaultSymbol()); |
375 | 375 |
cmbFields.getModel().setSelectedItem(theLegend.getClassifyingFieldNames()[0]); |
Also available in: Unified diff