Revision 851 org.gvsig.lrs/trunk/org.gvsig.lrs/org.gvsig.lrs.swing/org.gvsig.lrs.swing.impl/src/main/java/org/gvsig/lrs/swing/impl/JLrsEditRouteCalibrationParamsView.java
JLrsEditRouteCalibrationParamsView.java | ||
---|---|---|
32 | 32 |
JComboBox cmbRoute = new JComboBox(); |
33 | 33 |
JTextField txtMaximum = new JTextField(); |
34 | 34 |
JTextField txtMinimum = new JTextField(); |
35 |
JComboBox cmbStretch = new JComboBox(); |
|
35 | 36 |
|
36 | 37 |
/** |
37 | 38 |
* Default constructor |
... | ... | |
123 | 124 |
public JPanel createPanel() |
124 | 125 |
{ |
125 | 126 |
JPanel jpanel1 = new JPanel(); |
126 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:MAX(12DLU;DEFAULT):NONE,FILL:4DLU:NONE,FILL:120PX:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:MAX(73PX;DEFAULT):GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:MAX(74PX;DEFAULT):GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:MAX(12DLU;DEFAULT):GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
|
127 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:MAX(12DLU;DEFAULT):NONE,FILL:4DLU:NONE,FILL:120PX:NONE,FILL:4DLU:NONE,FILL:120PX:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:MAX(73PX;DEFAULT):GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:MAX(74PX;DEFAULT):GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:MAX(12DLU;DEFAULT):GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
|
|
127 | 128 |
CellConstraints cc = new CellConstraints(); |
128 | 129 |
jpanel1.setLayout(formlayout1); |
129 | 130 |
|
... | ... | |
133 | 134 |
|
134 | 135 |
lblMinimum.setName("lblMinimum"); |
135 | 136 |
lblMinimum.setText("minimum"); |
136 |
jpanel1.add(lblMinimum,cc.xy(6,4));
|
|
137 |
jpanel1.add(lblMinimum,cc.xy(8,4));
|
|
137 | 138 |
|
138 | 139 |
lblMaximum.setName("lblMaximum"); |
139 | 140 |
lblMaximum.setText("maximum"); |
140 |
jpanel1.add(lblMaximum,cc.xy(10,4));
|
|
141 |
jpanel1.add(lblMaximum,cc.xy(12,4));
|
|
141 | 142 |
|
142 | 143 |
tblLayerInfo.setName("tblLayerInfo"); |
143 | 144 |
JScrollPane jscrollpane1 = new JScrollPane(); |
144 | 145 |
jscrollpane1.setViewportView(tblLayerInfo); |
145 | 146 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
146 | 147 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
147 |
jpanel1.add(jscrollpane1,new CellConstraints(2,2,11,1,CellConstraints.DEFAULT,CellConstraints.FILL));
|
|
148 |
jpanel1.add(jscrollpane1,new CellConstraints(2,2,13,1,CellConstraints.DEFAULT,CellConstraints.FILL));
|
|
148 | 149 |
|
149 |
jpanel1.add(createPanel1(),new CellConstraints(2,6,11,1,CellConstraints.RIGHT,CellConstraints.DEFAULT));
|
|
150 |
jpanel1.add(createPanel2(),new CellConstraints(2,8,11,1,CellConstraints.RIGHT,CellConstraints.DEFAULT));
|
|
150 |
jpanel1.add(createPanel1(),new CellConstraints(2,6,13,1,CellConstraints.RIGHT,CellConstraints.DEFAULT));
|
|
151 |
jpanel1.add(createPanel2(),new CellConstraints(2,8,13,1,CellConstraints.RIGHT,CellConstraints.DEFAULT));
|
|
151 | 152 |
cmbRoute.setName("cmbRoute"); |
152 | 153 |
jpanel1.add(cmbRoute,cc.xy(4,4)); |
153 | 154 |
|
154 | 155 |
txtMaximum.setName("txtMaximum"); |
155 |
jpanel1.add(txtMaximum,cc.xy(12,4));
|
|
156 |
jpanel1.add(txtMaximum,cc.xy(14,4));
|
|
156 | 157 |
|
157 | 158 |
txtMinimum.setName("txtMinimum"); |
158 |
jpanel1.add(txtMinimum,cc.xy(8,4));
|
|
159 |
jpanel1.add(txtMinimum,cc.xy(10,4));
|
|
159 | 160 |
|
160 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
|
161 |
cmbStretch.setName("cmbStretch"); |
|
162 |
jpanel1.add(cmbStretch,cc.xy(6,4)); |
|
163 |
|
|
164 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
|
161 | 165 |
return jpanel1; |
162 | 166 |
} |
163 | 167 |
|
Also available in: Unified diff