/** * 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); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); } /**
/** * Override this to open the other files in the query. */ public void openOtherRecords() { super.openOtherRecords(); new AcctDetail(this); } /**
/** * Process the command. * <br />Step 1 - Process the command if possible and return true if processed. * <br />Step 2 - If I can't process, pass to all children (with me as the source). * <br />Step 3 - If children didn't process, pass to parent (with me as the source). * <br />Note: Never pass to a parent or child that matches the source (to avoid an endless loop). * @param strCommand The command to process. * @param sourceSField The source screen field (to avoid echos). * @param iCommandOptions If this command creates a new screen, create in a new window? * @return true if success. */ public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions) { if (strCommand.equalsIgnoreCase(MenuConstants.FORMDETAIL)) return (this.onForm(null, ScreenConstants.DETAIL_MODE, true, iCommandOptions, null) != null); else return super.doCommand(strCommand, sourceSField, iCommandOptions); }
/** * Add the navigation button(s) to the left of the grid row. */ public void addNavButtons() { new SCannedBox(this.getNextLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR), this, null, ScreenConstants.DEFAULT_DISPLAY, null, null, MenuConstants.FORMDETAIL, MenuConstants.FORMDETAIL, null); super.addNavButtons(); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.addSubFileFilter(); } /**
/** * Process the command. * <br />Step 1 - Process the command if possible and return true if processed. * <br />Step 2 - If I can't process, pass to all children (with me as the source). * <br />Step 3 - If children didn't process, pass to parent (with me as the source). * <br />Note: Never pass to a parent or child that matches the source (to avoid an endless loop). * @param strCommand The command to process. * @param sourceSField The source screen field (to avoid echos). * @param iCommandOptions If this command creates a new screen, create in a new window? * @return true if success. */ public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions) { if (strCommand.equalsIgnoreCase(MenuConstants.FORMDETAIL)) return (this.onForm(null, AcctDetail.ACCT_DIST_GRID_SCREEN, true, iCommandOptions, null) != null); else return super.doCommand(strCommand, sourceSField, iCommandOptions); } /**
/** * Add the navigation button(s) to the left of the grid row. */ public void addNavButtons() { new SCannedBox(this.getNextLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR), this, null, ScreenConstants.DEFAULT_DISPLAY, null, null, MenuConstants.FORMDETAIL, MenuConstants.FORMDETAIL, null); super.addNavButtons(); // Next buttons will be "First!" } /**
/** * AddSubFileFilter Method. */ public void addSubFileFilter() { super.addSubFileFilter(); SubFileFilter listener = (SubFileFilter)this.getMainRecord().getListener(SubFileFilter.class); if (listener != null) listener.setAddNewHeaderOnAdd(true); // Create header record if none } /**
/** * 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); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); } /**
/** * Process the command. * <br />Step 1 - Process the command if possible and return true if processed. * <br />Step 2 - If I can't process, pass to all children (with me as the source). * <br />Step 3 - If children didn't process, pass to parent (with me as the source). * <br />Note: Never pass to a parent or child that matches the source (to avoid an endless loop). * @param strCommand The command to process. * @param sourceSField The source screen field (to avoid echos). * @param iCommandOptions If this command creates a new screen, create in a new window? * @return true if success. */ public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions) { if (strCommand.equalsIgnoreCase(MenuConstants.FORMDETAIL)) return (this.onForm(null, ScreenConstants.DETAIL_MODE, true, iCommandOptions, null) != null); else return super.doCommand(strCommand, sourceSField, iCommandOptions); }
/** * Add the navigation button(s) to the left of the grid row. */ public void addNavButtons() { new SCannedBox(this.getNextLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR), this, null, ScreenConstants.DEFAULT_DISPLAY, null, null, MenuConstants.FORMDETAIL, MenuConstants.FORMDETAIL, null); super.addNavButtons(); } /**
/** * Override this to open the other files in the query. */ public void openOtherRecords() { super.openOtherRecords(); new BookingControl(this); } /**
/** * 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); } /**
/** * Add all the screen listeners. */ public void addListeners() { super.addListeners(); this.getMainRecord().addListener(new UpdateTrxDescHandler(null)); } /**
/** * Process the command. * <br />Step 1 - Process the command if possible and return true if processed. * <br />Step 2 - If I can't process, pass to all children (with me as the source). * <br />Step 3 - If children didn't process, pass to parent (with me as the source). * <br />Note: Never pass to a parent or child that matches the source (to avoid an endless loop). * @param strCommand The command to process. * @param sourceSField The source screen field (to avoid echos). * @param iCommandOptions If this command creates a new screen, create in a new window? * @return true if success. */ public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions) { if ((strCommand.equalsIgnoreCase(MenuConstants.FORM)) || (strCommand.equalsIgnoreCase(MenuConstants.FORMLINK))) return (this.onForm(null, ApTrx.BROKER_DIST_SCREEN, true, iCommandOptions, null) != null); else if (strCommand.equalsIgnoreCase(MenuConstants.LOOKUP)) return (this.onForm(null, ApTrx.BROKER_DIST_GRID_SCREEN, true, iCommandOptions, null) != null); else return super.doCommand(strCommand, sourceSField, iCommandOptions); }
/** * Add the navigation button(s) to the left of the grid row. */ public void addNavButtons() { new SCannedBox(this.getNextLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR), this, null, ScreenConstants.DEFAULT_DISPLAY, null, null, MenuConstants.FORMDETAIL, MenuConstants.FORMDETAIL, null); super.addNavButtons(); // Next buttons will be "First!" } /**
/** * Override this to open the other files in the query. */ public void openOtherRecords() { super.openOtherRecords(); new TrxDesc(this); } /**
/** * Initialize class fields. */ public void init(Record record, ScreenLocation itsLocation, BasePanel parentScreen, Converter fieldConverter, int iDisplayFieldDesc, Map<String,Object> properties) { m_recVendor = null; super.init(record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties); } /**