Revision 28278 trunk/extensions/extSymbology/src/org/gvsig/symbology/gui/layerproperties/DotDensity.java
DotDensity.java | ||
---|---|---|
241 | 241 |
int oldValue = getSldDensity().getValue(); |
242 | 242 |
int newValue = 0; |
243 | 243 |
if (getRdBtnHigh().isSelected()) { |
244 |
newValue = 33; |
|
245 |
} else if (getRdBtnLow().isSelected()) { |
|
244 | 246 |
newValue = 66; |
245 |
} else if (getRdBtnLow().isSelected()) { |
|
246 |
newValue = 33; |
|
247 | 247 |
} else if (getRdBtnMedium().isSelected()) { |
248 | 248 |
newValue = 50; |
249 | 249 |
} |
... | ... | |
577 | 577 |
JPanel aux2 = new JPanel(); |
578 | 578 |
JPanel aux; |
579 | 579 |
aux = new JPanel(new GridLayout(1,3)); |
580 |
aux.add(new JLabel(PluginServices.getText(this, "low"))); |
|
581 |
aux.add(new JLabel(PluginServices.getText(this, "medium"))); |
|
580 | 582 |
aux.add(new JLabel(PluginServices.getText(this, "high"))); |
581 |
aux.add(new JLabel(PluginServices.getText(this, "medium"))); |
|
582 |
aux.add(new JLabel(PluginServices.getText(this, "low"))); |
|
583 | 583 |
|
584 | 584 |
aux2.add(aux); |
585 | 585 |
|
586 | 586 |
aux = new JPanel(new GridLayout(1,3)); |
587 |
aux.add(getRdBtnLow()); |
|
588 |
aux.add(getRdBtnMedium()); |
|
587 | 589 |
aux.add(getRdBtnHigh()); |
588 |
aux.add(getRdBtnMedium()); |
|
589 |
aux.add(getRdBtnLow()); |
|
590 | 590 |
|
591 | 591 |
aux2.add(aux); |
592 | 592 |
aux2.setLayout(new BoxLayout(aux2, BoxLayout.Y_AXIS)); |
Also available in: Unified diff