/** * 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); } /**
/** * 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); } /**
/** * Initialize class fields. */ public void init(Record recHeader, Record record, ScreenLocation itsLocation, BasePanel parentScreen, Converter fieldConverter, int iDisplayFieldDesc, Map<String,Object> properties) { m_recHeader = recHeader; super.init(recHeader, record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties); } /**
/** * 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); } /**
/** * Constructor. * @param record The main record for this screen. * @param itsLocation The location of this component within the parent. * @param parentScreen The parent screen. * @param fieldConverter The field this screen field is linked to. * @param iDisplayFieldDesc Do I display the field desc?. */ public DetailGridScreen(Record record, ScreenLocation itsLocation, BasePanel parentScreen, Converter fieldConverter, int iDisplayFieldDesc, Map<String,Object> properties) { this(); this.init(record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties); } /**
/** * 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); } /**
/** * 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); } /**
/** * Initialize class fields. */ public void init(Record recHeader, Record record, ScreenLocation itsLocation, BasePanel parentScreen, Converter fieldConverter, int iDisplayFieldDesc, Map<String,Object> properties) { super.init(recHeader, record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties); } /**
/** * Initialize class fields. */ public void init(Record recHeader, Record record, ScreenLocation itsLocation, BasePanel parentScreen, Converter fieldConverter, int iDisplayFieldDesc, Map<String,Object> properties) { super.init(recHeader, record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties); } /**
/** * 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); } /**
/** * DetailGridScreen Method. */ public DetailGridScreen(Record recHeader, Record record, ScreenLocation itsLocation, BasePanel parentScreen, Converter fieldConverter, int iDisplayFieldDesc, Map<String,Object> properties) { this(); this.init(recHeader, record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties); } /**
/** * 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); } /**
public static BaseScreen createScreenFromClassName(String strScreenClass, Record recHeader, Record record, ScreenLocation itsLocation, BasePanel parentScreen, Converter fieldConverter, int iDisplayFieldDesc, Map<String,Object> properties) { RecordOwner recordOwner = null; if (record != null) recordOwner = Utility.getRecordOwner(record); else recordOwner = Utility.getRecordOwner(recHeader); if (recordOwner != null) if (recordOwner.getTask().getApplication().getSystemRecordOwner() instanceof RecordOwner) recordOwner = (RecordOwner)recordOwner.getTask().getApplication().getSystemRecordOwner(); strScreenClass = ClassFactory.fixClassName(strScreenClass, recordOwner); BaseScreen screen = BaseScreen.makeNewScreen(strScreenClass, itsLocation, parentScreen, iDisplayFieldDesc, properties, false); if (screen instanceof DetailGridScreen) // Always ((DetailGridScreen)screen).init(recHeader, record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties); else { screen.init(record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties); Utility.getLogger().warning("Attempt to create a detail screen for: " + strScreenClass); } return screen; } /**