Exemple #1
0
 /** Initialize class fields. */
 public void init(
     Record record,
     ScreenLocation itsLocation,
     BasePanel parentScreen,
     Converter fieldConverter,
     int iDisplayFieldDesc,
     Map<String, Object> properties) {
   super.init(record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties);
 }
Exemple #2
0
 /** Add all the screen listeners. */
 public void addListeners() {
   super.addListeners();
   this.addMainKeyBehavior();
   this.setEnabled(false);
   this.getMainRecord().getField(ApTrx.CODE).setEnabled(true);
   this.getMainRecord().getField(ApTrx.DESCRIPTION).setEnabled(true);
   this.getMainRecord().getField(ApTrx.START_SERVICE_DATE).setEnabled(true);
   this.getMainRecord().getField(ApTrx.END_SERVICE_DATE).setEnabled(true);
   this.getMainRecord().getField(ApTrx.FINALIZATION_DATE).setEnabled(true);
   this.getMainRecord().getField(ApTrx.INVOICE_NO).setEnabled(true);
   this.getMainRecord().getField(ApTrx.INVOICE_DATE).setEnabled(true);
 }