Revision 3715
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/dialogs/FFrameLegendDialog.java | ||
---|---|---|
119 | 119 |
private void initialize() { |
120 | 120 |
this.setLayout(null); |
121 | 121 |
this.add(getJContentPane(), null); |
122 |
this.setSize(531, 292);
|
|
122 |
this.setSize(531, 190);
|
|
123 | 123 |
getPRotation().setRotation(fframelegend.getRotation()); |
124 | 124 |
} |
125 | 125 |
|
... | ... | |
130 | 130 |
*/ |
131 | 131 |
private javax.swing.JPanel getJContentPane() { |
132 | 132 |
if (jContentPane == null) { |
133 |
lblNumColum = new JLabel(); |
|
134 |
lblNumColum.setBounds(new java.awt.Rectangle(14,135,133,25)); |
|
135 |
lblNumColum.setText("num_columnas"); |
|
136 | 133 |
jContentPane = new javax.swing.JPanel(); |
137 | 134 |
jContentPane.setLayout(null); |
138 | 135 |
jContentPane.add(getLMarcoVista(), null); |
... | ... | |
144 | 141 |
jContentPane.add(getBAceptar(), null); |
145 | 142 |
jContentPane.add(getBCancelar(), null); |
146 | 143 |
jContentPane.add(getBFuente(), null); |
147 |
jContentPane.setBounds(3, 1, 524, 289);
|
|
144 |
jContentPane.setBounds(3, 1, 524, 188);
|
|
148 | 145 |
jContentPane.add(getPRotation(), null); |
149 | 146 |
jContentPane.add(lblNumColum, null); |
150 |
jContentPane.add(getTxtNumColum(), null); |
|
151 |
jContentPane.add(getPNumColum(), null); |
|
152 | 147 |
} |
153 | 148 |
|
154 | 149 |
return jContentPane; |
... | ... | |
268 | 263 |
bAceptar = new javax.swing.JButton(); |
269 | 264 |
bAceptar.setSize(79, 26); |
270 | 265 |
bAceptar.setText(PluginServices.getText(this, "Aceptar")); |
271 |
bAceptar.setLocation(77, 247);
|
|
266 |
bAceptar.setLocation(77, 145);
|
|
272 | 267 |
bAceptar.addActionListener(new java.awt.event.ActionListener() { |
273 | 268 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
274 | 269 |
for (int i = 0; i < m_layout.getFFrames().length; |
... | ... | |
317 | 312 |
bCancelar = new javax.swing.JButton(); |
318 | 313 |
bCancelar.setSize(85, 26); |
319 | 314 |
bCancelar.setText(PluginServices.getText(this, "Cancelar")); |
320 |
bCancelar.setLocation(233, 247);
|
|
315 |
bCancelar.setLocation(233, 145);
|
|
321 | 316 |
bCancelar.addActionListener(new java.awt.event.ActionListener() { |
322 | 317 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
323 | 318 |
PluginServices.getMDIManager().closeView(FFrameLegendDialog.this); |
... | ... | |
337 | 332 |
if (liVistas == null) { |
338 | 333 |
ListViewModel listmodel = new ListViewModel(); |
339 | 334 |
|
340 |
//listmodel.addViews();
|
|
335 |
//listmodel.addViews(); |
|
341 | 336 |
listmodel.addViews(m_layout); |
342 | 337 |
|
343 | 338 |
///ArrayList list = listmodel.getViews(); |
... | ... | |
434 | 429 |
fframelegend.setFont(FontChooser.showDialog( |
435 | 430 |
PluginServices.getText(this, |
436 | 431 |
"seleccion_fuente"), |
437 |
fframelegend.getFont())); // fchoser=new FontChooser();
|
|
432 |
fframelegend.getFont())); // fchoser=new FontChooser(); |
|
438 | 433 |
} else { |
439 | 434 |
fframelegend.setFont(FontChooser.showDialog( |
440 | 435 |
PluginServices.getText(this, |
... | ... | |
448 | 443 |
} |
449 | 444 |
|
450 | 445 |
/** |
451 |
* This method initializes pRotation
|
|
452 |
*
|
|
453 |
* @return javax.swing.JPanel
|
|
454 |
*/
|
|
446 |
* This method initializes pRotation |
|
447 |
* |
|
448 |
* @return javax.swing.JPanel |
|
449 |
*/ |
|
455 | 450 |
private JPRotation getPRotation() { |
456 | 451 |
if (pRotation == null) { |
457 | 452 |
pRotation = new JPRotation(); |
... | ... | |
460 | 455 |
return pRotation; |
461 | 456 |
} |
462 | 457 |
|
463 |
/** |
|
464 |
* This method initializes txtNumColum |
|
465 |
* |
|
466 |
* @return javax.swing.JTextField |
|
467 |
*/ |
|
468 |
private JTextField getTxtNumColum() { |
|
469 |
if (txtNumColum == null) { |
|
470 |
txtNumColum = new JTextField(); |
|
471 |
txtNumColum.setBounds(new java.awt.Rectangle(162,135,36,23)); |
|
472 |
txtNumColum.addKeyListener(new java.awt.event.KeyAdapter() { |
|
473 |
public void keyReleased(KeyEvent arg0) { |
|
474 |
getPNumColum().setNumColum(Integer.parseInt(getTxtNumColum().getText())); |
|
475 |
} |
|
476 |
}); |
|
477 |
} |
|
478 |
return txtNumColum; |
|
479 |
} |
|
480 |
|
|
481 |
/** |
|
482 |
* This method initializes pNumColum |
|
483 |
* |
|
484 |
* @return javax.swing.JPanel |
|
485 |
*/ |
|
486 |
private ColumPanel getPNumColum() { |
|
487 |
if (pNumColum == null) { |
|
488 |
pNumColum = new ColumPanel(); |
|
489 |
|
|
490 |
} |
|
491 |
return pNumColum; |
|
492 |
} |
|
493 |
} // @jve:decl-index=0:visual-constraint="10,10" |
|
458 |
} // @jve:decl-index=0:visual-constraint="10,10" |
Also available in: Unified diff