Revision 1304
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.dynform/org.gvsig.tools.dynform.impl/src/main/java/org/gvsig/tools/dynform/impl/DefaultJDynForm.java | ||
---|---|---|
320 | 320 |
"left:pref, 8px, fill:80dlu:grow", "pref"); |
321 | 321 |
|
322 | 322 |
DefaultFormBuilder builder = new DefaultFormBuilder(layout); |
323 |
builder.setDefaultRowSpec(new RowSpec(
|
|
323 |
builder.defaultRowSpec(new RowSpec(
|
|
324 | 324 |
RowSpec.TOP, |
325 | 325 |
builder.getLayout().getRowSpec(1).getSize(), |
326 | 326 |
builder.getLayout().getRowSpec(1).getResizeWeight())); |
... | ... | |
352 | 352 |
} |
353 | 353 |
tabbedPane.addTab(tablabel, builder.getPanel()); |
354 | 354 |
} |
355 |
|
|
355 |
|
|
356 | 356 |
try { |
357 | 357 |
String defaultGroupName = (String) this.definition.getTags().get("defaultGroup", DataTypes.STRING); |
358 | 358 |
List<String> groupsNames = this.definition.getGroups(); |
... | ... | |
363 | 363 |
} catch (Exception ex) { |
364 | 364 |
// Ignore errors and don't set a tab by default |
365 | 365 |
} |
366 |
|
|
366 |
|
|
367 | 367 |
this.contents = addScrollsAndMessageBar(tabbedPane); |
368 | 368 |
} |
369 | 369 |
|
... | ... | |
405 | 405 |
* TODO: Probablemente fuese mas acertado recorrer los controles de |
406 | 406 |
* components y a partir de ellos acceder a los valores del DynObject |
407 | 407 |
* recivido. Eso permitiria trabajar mejor con herencia de DynObject. |
408 |
* Habria que hacer lo mismo con el getValues.
|
|
408 |
* Habria que hacer lo mismo con el getValues. |
|
409 | 409 |
*/ |
410 | 410 |
if (this.contents == null) { |
411 | 411 |
this.values = values; |
... | ... | |
674 | 674 |
public Collection getShowFields() { |
675 | 675 |
return this.components.values(); |
676 | 676 |
} |
677 |
|
|
678 |
|
|
677 |
|
|
678 |
|
|
679 | 679 |
} |
Also available in: Unified diff