svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.exportto / org.gvsig.exportto.swing / org.gvsig.exportto.swing.prov / org.gvsig.exportto.swing.prov.jdbc / src / main / java / org / gvsig / export / jdbc / swing / panels / UpdateTableStatisticsPanelLayout.java @ 43925
History | View | Annotate | Download (3.26 KB)
1 |
/*
|
---|---|
2 |
* To change this license header, choose License Headers in Project Properties.
|
3 |
* To change this template file, choose Tools | Templates
|
4 |
* and open the template in the editor.
|
5 |
*/
|
6 |
|
7 |
package org.gvsig.export.jdbc.swing.panels; |
8 |
|
9 |
import java.awt.Dimension; |
10 |
import java.awt.GridBagConstraints; |
11 |
import java.awt.GridBagLayout; |
12 |
import javax.swing.Box; |
13 |
import javax.swing.JCheckBox; |
14 |
import javax.swing.JLabel; |
15 |
|
16 |
/**
|
17 |
*
|
18 |
* @author usuario
|
19 |
*/
|
20 |
public class UpdateTableStatisticsPanelLayout extends javax.swing.JPanel { |
21 |
|
22 |
/**
|
23 |
* Creates new form PackPanelLayout
|
24 |
*/
|
25 |
public UpdateTableStatisticsPanelLayout() {
|
26 |
initComponents(); |
27 |
} |
28 |
|
29 |
/**
|
30 |
* This method is called from within the constructor to
|
31 |
* initialize the form.
|
32 |
* WARNING: Do NOT modify this code. The content of this method is
|
33 |
* always regenerated by the Form Editor.
|
34 |
*/
|
35 |
@SuppressWarnings("unchecked") |
36 |
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
|
37 |
private void initComponents() { |
38 |
GridBagConstraints gridBagConstraints;
|
39 |
|
40 |
lblHeader = new JLabel(); |
41 |
filler1 = new Box.Filler(new Dimension(16, 0), new Dimension(16, 0), new Dimension(16, 32767)); |
42 |
chkUpdateStatisticsTableAfterInserts = new JCheckBox(); |
43 |
filler2 = new Box.Filler(new Dimension(16, 16), new Dimension(16, 16), new Dimension(16, 16)); |
44 |
|
45 |
GridBagLayout layout = new GridBagLayout(); |
46 |
layout.columnWidths = new int[] {0, 4, 0, 4, 0}; |
47 |
layout.rowHeights = new int[] {0, 4, 0, 4, 0, 4, 0}; |
48 |
setLayout(layout); |
49 |
|
50 |
lblHeader.setText("<html>\nAlgunos gestores de base de datos tienen la opcion de recopilar estadisticas de los datos de las tablas para optimizar el acceso a los datos tras una insercion masiva de estos.<br>\nPuede indicar aqui si desea que se realice esta operacion al final de la exportacion.\n</html>"); // NOI18N |
51 |
gridBagConstraints = new GridBagConstraints(); |
52 |
gridBagConstraints.gridx = 2;
|
53 |
gridBagConstraints.gridy = 2;
|
54 |
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
|
55 |
add(lblHeader, gridBagConstraints); |
56 |
gridBagConstraints = new GridBagConstraints(); |
57 |
gridBagConstraints.gridx = 4;
|
58 |
gridBagConstraints.gridy = 0;
|
59 |
add(filler1, gridBagConstraints); |
60 |
|
61 |
chkUpdateStatisticsTableAfterInserts.setText("Recalcular estadisticas de la tabla al terminar");
|
62 |
gridBagConstraints = new GridBagConstraints(); |
63 |
gridBagConstraints.gridx = 2;
|
64 |
gridBagConstraints.gridy = 4;
|
65 |
gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
|
66 |
gridBagConstraints.weightx = 0.1;
|
67 |
add(chkUpdateStatisticsTableAfterInserts, gridBagConstraints); |
68 |
gridBagConstraints = new GridBagConstraints(); |
69 |
gridBagConstraints.gridx = 0;
|
70 |
gridBagConstraints.gridy = 6;
|
71 |
gridBagConstraints.fill = GridBagConstraints.VERTICAL;
|
72 |
gridBagConstraints.weighty = 0.1;
|
73 |
add(filler2, gridBagConstraints); |
74 |
}// </editor-fold>//GEN-END:initComponents
|
75 |
|
76 |
|
77 |
// Variables declaration - do not modify//GEN-BEGIN:variables
|
78 |
public JCheckBox chkUpdateStatisticsTableAfterInserts; |
79 |
public Box.Filler filler1; |
80 |
public Box.Filler filler2; |
81 |
public JLabel lblHeader; |
82 |
// End of variables declaration//GEN-END:variables
|
83 |
} |