Revision 1140 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.dynform/org.gvsig.tools.dynform.services/src/main/java/org/gvsig/tools/dynform/services/dynformset/subform/SubformJDynFormSet.java
SubformJDynFormSet.java | ||
---|---|---|
115 | 115 |
|
116 | 116 |
this.form = this.manager.getDynFormManager().createJDynForm(definition); |
117 | 117 |
this.form.setUseScrollBars(this.getUseScrollBars()); |
118 |
this.form.addListener(this); |
|
118 | 119 |
|
119 | 120 |
if ( !actionsBuffer.isEmpty() ) { |
120 | 121 |
Iterator it = actionsBuffer.iterator(); |
... | ... | |
192 | 193 |
@Override |
193 | 194 |
public void setReadOnly(boolean readOnly) { |
194 | 195 |
super.setReadOnly(readOnly); |
196 |
this.buttonBar.setReadOnly(readOnly); |
|
195 | 197 |
if ( this.form != null ) { |
196 | 198 |
this.form.setReadOnly(readOnly); |
197 | 199 |
} |
... | ... | |
415 | 417 |
} |
416 | 418 |
|
417 | 419 |
public void fieldChanged(JDynFormField field) { |
418 |
// TODO Auto-generated method stub |
|
420 |
logger.warn("Ha cambiado el field: " + field.getName() +" con el valor => " + field.getValue()); |
|
421 |
} |
|
422 |
|
|
423 |
@Override |
|
424 |
public DynObject get(int position) { |
|
425 |
logger.warn("Recojo el field: "+ position); |
|
419 | 426 |
|
420 |
} |
|
427 |
return (DynObject) this.values.get(position); |
|
428 |
} |
|
421 | 429 |
|
422 | 430 |
} |
Also available in: Unified diff