Revision 20589
trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/mosaic/gui/MethodMosaicPanel.java | ||
---|---|---|
56 | 56 |
import javax.swing.JLabel; |
57 | 57 |
import javax.swing.JPanel; |
58 | 58 |
import javax.swing.JRadioButton; |
59 |
import javax.swing.JTextField; |
|
59 | 60 |
import javax.swing.border.CompoundBorder; |
60 | 61 |
import javax.swing.border.EmptyBorder; |
61 | 62 |
import javax.swing.border.TitledBorder; |
... | ... | |
107 | 108 |
private JPanel panelOverlapFunction=null; |
108 | 109 |
private ArrayList cutLineRois = null; |
109 | 110 |
private JComboBox comboOverlapFunction= null; |
111 |
private JTextField jTextFeathering=null; |
|
110 | 112 |
/** |
111 | 113 |
* Constructor |
112 | 114 |
* param nameLayersAviable array con los nombres de las capas que intervendran |
... | ... | |
181 | 183 |
TitledBorder topBorder = BorderFactory.createTitledBorder(""); |
182 | 184 |
southPanel.setBorder(new CompoundBorder(topBorder,new EmptyBorder(2,2,2,2))); |
183 | 185 |
southPanel.setLayout(new BorderLayout()); |
184 |
southPanel.add(getCheckFeathering(),BorderLayout.NORTH); |
|
186 |
JPanel panel = new JPanel(); |
|
187 |
BorderLayout bd= new BorderLayout(); |
|
188 |
bd.setHgap(50); |
|
189 |
panel.setLayout(bd); |
|
190 |
JPanel panel2= new JPanel(); |
|
191 |
panel2.setLayout(new BorderLayout()); |
|
192 |
panel.add(getCheckFeathering(),BorderLayout.CENTER); |
|
193 |
panel2.add(new JLabel("distance:"),BorderLayout.CENTER); |
|
194 |
panel2.add(getJTextFeathering(),BorderLayout.EAST); |
|
195 |
panel.add(panel2,BorderLayout.EAST); |
|
196 |
southPanel.add(panel,BorderLayout.NORTH); |
|
197 |
//southPanel.add(getJTextFeathering(),BorderLayout.EAST); |
|
185 | 198 |
JPanel bottomPanel=new JPanel(); |
186 | 199 |
bottomPanel.setBorder(new EmptyBorder(5,5,5,5)); |
187 | 200 |
bottomPanel.setLayout(new BorderLayout()); |
... | ... | |
272 | 285 |
getTableContainer().setEnabled(getCheckFeathering().isSelected()); |
273 | 286 |
getTableContainer().getTable().setEnabled(getCheckFeathering().isSelected() || getRButtomCutLine().isSelected()); |
274 | 287 |
getComboOverlapFunction().setEnabled(!getCheckFeathering().isSelected()); |
288 |
getJTextFeathering().setEnabled(getCheckFeathering().isSelected()); |
|
275 | 289 |
updateUI(); |
276 | 290 |
} |
277 | 291 |
|
... | ... | |
520 | 534 |
} |
521 | 535 |
return comboOverlapFunction; |
522 | 536 |
} |
537 |
|
|
538 |
public JTextField getJTextFeathering() { |
|
539 |
if(jTextFeathering==null){ |
|
540 |
jTextFeathering= new JTextField(10); |
|
541 |
} |
|
542 |
|
|
543 |
return jTextFeathering; |
|
544 |
} |
|
523 | 545 |
} |
Also available in: Unified diff