Revision 7109 org.gvsig.legend.urbanhorizontalsignage/trunk/org.gvsig.legend.urbanhorizontalsignage/org.gvsig.legend.urbanhorizontalsignage.swing/org.gvsig.legend.urbanhorizontalsignage.swing.impl/src/main/java/org/gvsig/legend/urbanverticalsignage/swing/impl/DefaultPictureMarkerSymbolTableLegendEditorView.java

View differences:

DefaultPictureMarkerSymbolTableLegendEditorView.java
52 52
   JTextField txtImageSize = new JTextField();
53 53
   JLabel lblUnits = new JLabel();
54 54
   JComboBox cboUnits = new JComboBox();
55
   JLabel lblScale = new JLabel();
56
   JTextField txtScale = new JTextField();
55 57

  
56 58
   /**
57 59
    * Default constructor
......
143 145
   public JPanel createPanel()
144 146
   {
145 147
      JPanel jpanel1 = new JPanel();
146
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE");
148
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE");
147 149
      CellConstraints cc = new CellConstraints();
148 150
      jpanel1.setLayout(formlayout1);
149 151

  
......
157 159

  
158 160
      lblClassifyingFieldName.setName("lblClassifyingFieldName");
159 161
      lblClassifyingFieldName.setText("_Classifying_field");
160
      jpanel1.add(lblClassifyingFieldName,cc.xy(2,10));
162
      jpanel1.add(lblClassifyingFieldName,cc.xy(2,12));
161 163

  
162 164
      lblOffsetXFieldName.setName("lblOffsetXFieldName");
163 165
      lblOffsetXFieldName.setText("_OffsetX_field");
164
      jpanel1.add(lblOffsetXFieldName,cc.xy(2,12));
166
      jpanel1.add(lblOffsetXFieldName,cc.xy(2,14));
165 167

  
166 168
      lblOffsetYFieldName.setName("lblOffsetYFieldName");
167 169
      lblOffsetYFieldName.setText("_OffsetY_field");
168
      jpanel1.add(lblOffsetYFieldName,cc.xy(2,14));
170
      jpanel1.add(lblOffsetYFieldName,cc.xy(2,16));
169 171

  
170 172
      lblRotationFieldName.setName("lblRotationFieldName");
171 173
      lblRotationFieldName.setText("_Rotation_field");
172
      jpanel1.add(lblRotationFieldName,cc.xy(2,16));
174
      jpanel1.add(lblRotationFieldName,cc.xy(2,18));
173 175

  
174 176
      lblLineToOffsetColorFieldName.setName("lblLineToOffsetColorFieldName");
175 177
      lblLineToOffsetColorFieldName.setText("_Line_to_offset_color_field");
176
      jpanel1.add(lblLineToOffsetColorFieldName,cc.xy(2,18));
178
      jpanel1.add(lblLineToOffsetColorFieldName,cc.xy(2,20));
177 179

  
178 180
      lblDrawLineToOffset.setName("lblDrawLineToOffset");
179 181
      lblDrawLineToOffset.setText("_Draw_line_to_offset");
180 182
      jpanel1.add(lblDrawLineToOffset,cc.xy(2,6));
181 183

  
182 184
      cboLineToOffsetColorFieldName.setName("cboLineToOffsetColorFieldName");
183
      jpanel1.add(cboLineToOffsetColorFieldName,cc.xywh(4,18,3,1));
185
      jpanel1.add(cboLineToOffsetColorFieldName,cc.xywh(4,20,3,1));
184 186

  
185 187
      cboRotationFieldName.setName("cboRotationFieldName");
186
      jpanel1.add(cboRotationFieldName,cc.xywh(4,16,3,1));
188
      jpanel1.add(cboRotationFieldName,cc.xywh(4,18,3,1));
187 189

  
188 190
      cboOffsetYFieldName.setName("cboOffsetYFieldName");
189
      jpanel1.add(cboOffsetYFieldName,cc.xywh(4,14,3,1));
191
      jpanel1.add(cboOffsetYFieldName,cc.xywh(4,16,3,1));
190 192

  
191 193
      cboOffsetXFieldName.setName("cboOffsetXFieldName");
192
      jpanel1.add(cboOffsetXFieldName,cc.xywh(4,12,3,1));
194
      jpanel1.add(cboOffsetXFieldName,cc.xywh(4,14,3,1));
193 195

  
194 196
      cboClassifyingFieldName.setName("cboClassifyingFieldName");
195
      jpanel1.add(cboClassifyingFieldName,cc.xywh(4,10,3,1));
197
      jpanel1.add(cboClassifyingFieldName,cc.xywh(4,12,3,1));
196 198

  
197 199
      cboImagesTableName.setName("cboImagesTableName");
198
      jpanel1.add(cboImagesTableName,cc.xy(4,22));
200
      jpanel1.add(cboImagesTableName,cc.xy(4,24));
199 201

  
200 202
      lblImagesTableName.setName("lblImagesTableName");
201 203
      lblImagesTableName.setText("_Table_name");
202
      jpanel1.add(lblImagesTableName,cc.xy(2,22));
204
      jpanel1.add(lblImagesTableName,cc.xy(2,24));
203 205

  
204 206
      btnLineToOffsetColor.setActionCommand("...");
205 207
      btnLineToOffsetColor.setName("btnLineToOffsetColor");
......
213 215

  
214 216
      lblImagesTableFields.setName("lblImagesTableFields");
215 217
      lblImagesTableFields.setText("_Images_table_fields");
216
      jpanel1.add(lblImagesTableFields,cc.xywh(2,20,5,1));
218
      jpanel1.add(lblImagesTableFields,cc.xywh(2,22,5,1));
217 219

  
218 220
      lblImageFieldName.setName("lblImageFieldName");
219 221
      lblImageFieldName.setText("_Image_field");
220
      jpanel1.add(lblImageFieldName,cc.xy(2,26));
222
      jpanel1.add(lblImageFieldName,cc.xy(2,28));
221 223

  
222 224
      lblImageSelectedFieldName.setName("lblImageSelectedFieldName");
223 225
      lblImageSelectedFieldName.setText("_Image_selected_field");
224
      jpanel1.add(lblImageSelectedFieldName,cc.xy(2,28));
226
      jpanel1.add(lblImageSelectedFieldName,cc.xy(2,30));
225 227

  
226 228
      cboImagesTableClassifyingFieldName.setName("cboImagesTableClassifyingFieldName");
227
      jpanel1.add(cboImagesTableClassifyingFieldName,cc.xywh(4,24,3,1));
229
      jpanel1.add(cboImagesTableClassifyingFieldName,cc.xywh(4,26,3,1));
228 230

  
229 231
      cboImageFieldName.setName("cboImageFieldName");
230
      jpanel1.add(cboImageFieldName,cc.xywh(4,26,3,1));
232
      jpanel1.add(cboImageFieldName,cc.xywh(4,28,3,1));
231 233

  
232 234
      cboImageSelectedFieldName.setName("cboImageSelectedFieldName");
233
      jpanel1.add(cboImageSelectedFieldName,cc.xywh(4,28,3,1));
235
      jpanel1.add(cboImageSelectedFieldName,cc.xywh(4,30,3,1));
234 236

  
235 237
      lblImagesTableClassifyingFieldName.setName("lblImagesTableClassifyingFieldName");
236 238
      lblImagesTableClassifyingFieldName.setText("_Classifying_field");
237
      jpanel1.add(lblImagesTableClassifyingFieldName,cc.xy(2,24));
239
      jpanel1.add(lblImagesTableClassifyingFieldName,cc.xy(2,26));
238 240

  
239 241
      txtLineToOffsetColor.setName("txtLineToOffsetColor");
240 242
      jpanel1.add(txtLineToOffsetColor,cc.xy(4,4));
......
244 246
      btnImagesTableNameRefresh.setName("btnImagesTableNameRefresh");
245 247
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
246 248
      btnImagesTableNameRefresh.setBorder(emptyborder2);
247
      jpanel1.add(btnImagesTableNameRefresh,cc.xy(6,22));
249
      jpanel1.add(btnImagesTableNameRefresh,cc.xy(6,24));
248 250

  
249 251
      lblLegendTableFields.setName("lblLegendTableFields");
250 252
      lblLegendTableFields.setText("_Legend_table_fields");
251
      jpanel1.add(lblLegendTableFields,cc.xywh(2,8,5,1));
253
      jpanel1.add(lblLegendTableFields,cc.xywh(2,10,5,1));
252 254

  
253 255
      jpanel1.add(createPanel1(),cc.xy(4,2));
254
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29 });
256
      lblScale.setName("lblScale");
257
      lblScale.setText("_Scale");
258
      jpanel1.add(lblScale,cc.xy(2,8));
259

  
260
      txtScale.setName("txtScale");
261
      jpanel1.add(txtScale,cc.xy(4,8));
262

  
263
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 });
255 264
      return jpanel1;
256 265
   }
257 266

  

Also available in: Unified diff