Exemple #1
0
 /** Add all the screen listeners. */
 public void addListeners() {
   super.addListeners();
   this.getMainRecord().setKeyArea(Mco.MCO_NO_KEY);
   // Add the filters behaviors
   this.getMainRecord()
       .addListener(
           new ExtractRangeFilter(
               Mco.BOOKING_ID, this.getScreenRecord().getField(CashBatchScreenRecord.BOOKING_ID)));
   this.getScreenRecord()
       .getField(CashBatchScreenRecord.BOOKING_ID)
       .addListener(new FieldReSelectHandler(this));
   this.getMainRecord()
       .addListener(
           new ExtractRangeFilter(
               Mco.AIRLINE_ID, this.getScreenRecord().getField(CashBatchScreenRecord.AIRLINE_ID)));
   this.getScreenRecord()
       .getField(CashBatchScreenRecord.AIRLINE_ID)
       .addListener(new FieldReSelectHandler(this));
   this.getMainRecord()
       .addListener(
           new ExtractRangeFilter(
               Mco.MCO_NO, this.getScreenRecord().getField(CashBatchScreenRecord.MCO_NO)));
   this.getScreenRecord()
       .getField(CashBatchScreenRecord.MCO_NO)
       .addListener(new FieldReSelectHandler(this));
   this.setEnabled(false);
 }
Exemple #2
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 #3
0
 /** Add the navigation button(s) to the left of the grid row. */
 public void addNavButtons() {
   BaseApplication application = (BaseApplication) this.getTask().getApplication();
   new SCannedBox(
       this.getNextLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR),
       this,
       null,
       ScreenConstants.DEFAULT_DISPLAY,
       null,
       null,
       AcctDetailDist.DIST_DISTRIBUTION,
       AcctDetailDist.DIST_DISTRIBUTION,
       application
           .getResources(ResourceConstants.ACCTPAY_RESOURCE, true)
           .getString(AcctDetailDist.DIST_DISTRIBUTION));
   super.addNavButtons();
 }
Exemple #4
0
 /** Add button(s) to the toolbar. */
 public void addToolbarButtons(ToolScreen toolScreen) {
   super.addToolbarButtons(toolScreen);
   BaseApplication application = (BaseApplication) this.getTask().getApplication();
   new SCannedBox(
       toolScreen.getNextLocation(ScreenConstants.NEXT_LOGICAL, ScreenConstants.SET_ANCHOR),
       toolScreen,
       null,
       ScreenConstants.DEFAULT_DISPLAY,
       null,
       application
           .getResources(ResourceConstants.ACCTPAY_RESOURCE, true)
           .getString(AcctDetailDist.DIST_DISTRIBUTION),
       AcctDetailDist.DIST_DISTRIBUTION,
       AcctDetailDist.DIST_DISTRIBUTION,
       null);
 }
 /** Open the Other Files */
 public void openOtherRecords() {
   super.openOtherRecords();
 }
 /** addListeners Method. */
 public void addListeners() {
   super.addListeners();
   this.getMainRecord().setKeyArea(Animal.NAME_KEY);
   //      this.setEditing(true);
 }