/** * Destructor. */ public void free() { if (m_rdwPaxMods != null) m_rdwPaxMods.removeAllElements(); m_rdwPaxMods = null; super.free(); } /**
/** * Get the table name. */ public String getTableNames(boolean bAddQuotes) { return (m_tableName == null) ? Record.formatTableNames(BOOKING_FILE, bAddQuotes) : super.getTableNames(bAddQuotes); } /**
/** * Initialize class fields. */ public void init(RecordOwner screen) { m_rdwPaxMods = null; m_recBookingDetailModule = null; super.init(screen); } /**
/** * AddSlaveListeners Method. */ public void addSlaveListeners() { super.addSlaveListeners(); this.addListener(new HistoryHandler(BookingHistory.class.getName(), BookingHistory.HISTORY_DATE, null)); } /**
/** * Make a default screen. */ public ScreenParent makeScreen(ScreenLoc itsLocation, ComponentParent parentScreen, int iDocMode, Map<String,Object> properties) { ScreenParent screen = null; if ((iDocMode & ScreenConstants.MAINT_MODE) == ScreenConstants.MAINT_MODE) screen = Record.makeNewScreen(BOOKING_MENU_SCREEN_CLASS, itsLocation, parentScreen, iDocMode | ScreenConstants.DONT_DISPLAY_FIELD_DESC, properties, this, true); else if ((iDocMode & ScreenConstants.DISPLAY_MODE) == ScreenConstants.DISPLAY_MODE) screen = Record.makeNewScreen(BOOKING_GRID_SCREEN_CLASS, itsLocation, parentScreen, iDocMode | ScreenConstants.DONT_DISPLAY_FIELD_DESC, properties, this, true); else screen = super.makeScreen(itsLocation, parentScreen, iDocMode, properties); return screen; } /**
return super.doRemoteCommand(strCommand, properties);
/** * Add all standard file & field behaviors. * Override this to add record listeners and filters. */ public void addListeners() { super.addListeners(); this.getField(Booking.NET).addListener(new MergeDataAddHandler(null)); this.getField(Booking.COMMISSION).addListener(new MergeDataAddHandler(null)); this.getField(Booking.GROSS).addListener(new MergeDataAddHandler(null)); this.getField(Booking.BALANCE).addListener(new MergeDataAddHandler(null)); } /**
field = new ShortField(this, NEXT_LINE_SEQUENCE, Constants.DEFAULT_FIELD_LENGTH, null, new Short((short)1)); if (field == null) field = super.setupField(iFieldSeq); return field;
keyArea = super.setupKey(iKeyArea); return keyArea;
/** * Constructor. */ public CustSale(RecordOwner screen) { this(); this.init(screen); } /**