/** * Override this to add record listeners and filters to every screen where this is the main record. * @param screen The screen these listeners will be in. */ public void addScreenListeners(RecordOwner screen) { super.addScreenListeners(screen); this.getField(Inventory.USED).setEnabled(false); this.getField(Inventory.AVAILABLE).setEnabled(false); } /**
/** * Override this to add record listeners and filters to every screen where this is the main record. * @param screen The screen these listeners will be in. */ public void addScreenListeners(RecordOwner screen) { super.addScreenListeners(screen); this.getField(Inventory.USED).setEnabled(false); this.getField(Inventory.AVAILABLE).setEnabled(false); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getScreenRecord().getField(ProductInfoScreenRecord.TOTAL_COST).setEnabled(true); this.getScreenRecord().getField(ProductInfoScreenRecord.AVAILABILITY).setEnabled(true); this.getScreenRecord().getField(ProductInfoScreenRecord.CONFIRMATION_NO).setEnabled(true); this.getScreenRecord().getField(ProductInfoScreenRecord.CONFIRMED_BY).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getScreenRecord().getField(ProductScreenRecord.PRODUCT_ID).setEnabled(true); this.getScreenRecord().getField(ProductScreenRecord.START_DATE).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getScreenRecord().getField(VendorScreenRecord.VENDOR_ID).setEnabled(true); ((ReferenceField)this.getScreenRecord().getField(VendorScreenRecord.VENDOR_ID)).getReferenceRecord().getField(Vendor.CODE).setEnabled(true); this.getScreenRecord().getField(VendorScreenRecord.DISPLAY_TYPE).setEnabled(true); this.getScreenRecord().getField(VendorScreenRecord.DISPLAY_ACTIVE).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getScreenRecord().getField(VendorScreenRecord.VENDOR_ID).setEnabled(true); ((ReferenceField)this.getScreenRecord().getField(VendorScreenRecord.VENDOR_ID)).getReferenceRecord().getField(Vendor.CODE).setEnabled(true); this.getScreenRecord().getField(VendorScreenRecord.DISPLAY_TYPE).setEnabled(true); this.getScreenRecord().getField(VendorScreenRecord.DISPLAY_ACTIVE).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getScreenRecord().getField(TourClassScreenRecord.TOUR_CLASS_ID).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getScreenRecord().getField(BrokerScreenRecord.VENDOR_ID).setEnabled(true); }
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getScreenRecord().getField(TourClassScreenRecord.TOUR_CLASS_ID).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getScreenRecord().getField(MessageInfoScreenRecord.kMessageProcessInfoID).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); Record recBookingAir = this.getMainRecord(); recBookingAir.getField(BookingAir.BOOKING_AIR_HEADER_ID).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getScreenRecord().getField(BundleDetailScreenRecord.BUNDLE_ID).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.setEnabled(false); this.getRecord(Profile.PROFILE_FILE).getField(Profile.PROFILE_CODE).setEnabled(true); this.getScreenRecord().getField(ArTrxAgentScreenRecord.PROFILE_ID).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getScreenRecord().getField(CurrencyReqScreenRecord.CURRENCYS_ID).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.setEditing(false); this.getScreenRecord().getField(BankReconScreenRecord.BANK_ACCT_ID).setEnabled(true); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.addMainKeyBehavior(); Record recVendor = ((ReferenceField)this.getMainRecord().getField(Product.VENDOR_ID)).getReferenceRecord(this); recVendor.getField(Vendor.CURRENCYS_ID).setEnabled(false); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.addMainKeyBehavior(); Record recVendor = ((ReferenceField)this.getMainRecord().getField(Product.VENDOR_ID)).getReferenceRecord(this); recVendor.getField(Vendor.CURRENCYS_ID).setEnabled(false); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getRecord(ApTrx.AP_TRX_FILE).getField(ApTrx.ID).setEnabled(true); this.getRecord(ApTrx.AP_TRX_FILE).getField(ApTrx.ID).addListener(new MainReadOnlyHandler(ApTrx.ID_KEY)); this.getRecord(ApTrx.AP_TRX_FILE).getField(ApTrx.CODE).setEnabled(true); this.getRecord(ApTrx.AP_TRX_FILE).getField(ApTrx.CODE).addListener(new MainReadOnlyHandler(ApTrx.CODE_KEY)); } /**
/** * Add all the screen listeners. */ public void addListeners() { this.getRecord(UserInfo.kUserInfoFile).getField(UserInfo.kUserName).setEnabled(false); this.readCurrentUser(); super.addListeners(); this.getMainRecord().addListener(new UserPasswordHandler(true)); } /**
/** * Override this to add record listeners and filters to every screen where this is the main record. * @param screen The screen these listeners will be in. */ public void addScreenListeners(RecordOwner screen) { super.addScreenListeners(screen); this.getField(Tour.SERV_CONF).setEnabled(false); if (this.getField(Tour.MANUAL_TOUR_STATUS).getListener(DisableOnFieldHandler.class) == null) this.getField(Tour.MANUAL_TOUR_STATUS).addListener(new DisableOnFieldHandler(this.getField(Tour.TOUR_STATUS_ID), BooleanField.YES, false)); } /**