Statistics
| Revision:

svn-gvsig-desktop / trunk / extensions / extRasterTools / src / com / iver / cit / gvsig / rasterTools / saveRaster / pruebas2 / MethodDataInputPanel.java @ 4266

History | View | Annotate | Download (2.45 KB)

1
package com.iver.cit.gvsig.rasterTools.saveRaster.pruebas2;
2

    
3
import java.awt.FlowLayout;
4
import java.awt.GridBagConstraints;
5
import java.awt.GridBagLayout;
6

    
7
import javax.swing.JPanel;
8

    
9
public class MethodDataInputPanel extends JPanel {
10

    
11
        private JPanel                                                         pNorth = null;
12
        private InputSizeDataPanel                                pSouth = null;
13
        private MethodSaveRasterSelectorPanel        pWest = null;
14
        private InputScaleDataPanel                         pEast = null;
15

    
16
        /**
17
         * This is the default constructor
18
         */
19
        public MethodDataInputPanel() {
20
                super();
21
                initialize();
22
        }
23

    
24
        /**
25
         * This method initializes this
26
         * 
27
         * @return void
28
         */
29
        private void initialize() {
30
                GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
31
                gridBagConstraints1.insets = new java.awt.Insets(0,0,0,0);
32
                gridBagConstraints1.gridy = 1;
33
                gridBagConstraints1.gridx = 0;
34
                GridBagConstraints gridBagConstraints = new GridBagConstraints();
35
                gridBagConstraints.insets = new java.awt.Insets(0,0,0,0);
36
                gridBagConstraints.gridy = 0;
37
                gridBagConstraints.gridx = 0;
38
                this.setLayout(new GridBagLayout());
39
                this.setSize(337, 122);
40
                this.setPreferredSize(new java.awt.Dimension(337,122));
41
                this.add(getPNorth(), gridBagConstraints);
42
                this.add(getPSouth(), gridBagConstraints1);
43
        }
44

    
45
        /**
46
         * This method initializes jPanel        
47
         *         
48
         * @return javax.swing.JPanel        
49
         */
50
        private JPanel getPNorth() {
51
                if (pNorth == null) {
52
                        FlowLayout flowLayout = new FlowLayout();
53
                        flowLayout.setHgap(0);
54
                        flowLayout.setVgap(0);
55
                        pNorth = new JPanel();
56
                        pNorth.setLayout(flowLayout);
57
                        pNorth.add(getPWest(), null);
58
                        pNorth.add(getPEast(), null);
59
                }
60
                return pNorth;
61
        }
62

    
63
        /**
64
         * This method initializes jPanel1        
65
         *         
66
         * @return javax.swing.JPanel        
67
         */
68
        private JPanel getPSouth() {
69
                if (pSouth == null) {
70
                        pSouth = new InputSizeDataPanel();
71
                        pSouth.setPreferredSize(new java.awt.Dimension(337,30));
72
                }
73
                return pSouth;
74
        }
75

    
76
        /**
77
         * This method initializes jPanel        
78
         *         
79
         * @return javax.swing.JPanel        
80
         */
81
        private JPanel getPWest() {
82
                if (pWest == null) {
83
                        FlowLayout flowLayout1 = new FlowLayout();
84
                        flowLayout1.setVgap(5);
85
                        pWest = new MethodSaveRasterSelectorPanel();
86
                        pWest.setLayout(flowLayout1);
87
                        pWest.setPreferredSize(new java.awt.Dimension(122,92));
88
                }
89
                return pWest;
90
        }
91

    
92
        /**
93
         * This method initializes jPanel1        
94
         *         
95
         * @return javax.swing.JPanel        
96
         */
97
        private JPanel getPEast() {
98
                if (pEast == null) {
99
                        pEast = new InputScaleDataPanel();
100
                        pEast.setPreferredSize(new java.awt.Dimension(215,92));
101
                }
102
                return pEast;
103
        }
104

    
105
}