/** * Set up the default screen control for this field. * By default, this is set to a popup. * @param itsLocation Location of this component on screen (ie., GridBagConstraint). * @param targetScreen Where to place this component (ie., Parent screen or GridBagLayout). * @param converter The converter to set the screenfield to. * @param iDisplayFieldDesc Display the label? (optional). * @return Return the component or ScreenField that is created for this field. */ public ScreenComponent setupDefaultView(ScreenLoc itsLocation, ComponentParent targetScreen, Convert converter, int iDisplayFieldDesc, Map<String, Object> properties) { // Add code here to setup the popup or lookup button Record record = this.getReferenceRecord(); // Get/make the record that describes the referenced class. if (record != null) return this.setupTablePopup(itsLocation, targetScreen, converter, iDisplayFieldDesc, record, record.getDefaultScreenKeyArea(), this.getDefaultDisplayFieldSeq(), true, false); else return super.setupDefaultView(itsLocation, targetScreen, converter, iDisplayFieldDesc, properties); } /**
/** * Set up the default screen control for this field. * By default, this is set to a popup. * @param itsLocation Location of this component on screen (ie., GridBagConstraint). * @param targetScreen Where to place this component (ie., Parent screen or GridBagLayout). * @param converter The converter to set the screenfield to. * @param iDisplayFieldDesc Display the label? (optional). * @return Return the component or ScreenField that is created for this field. */ public ScreenField setupDefaultView(ScreenLocation itsLocation, BasePanel targetScreen, Converter converter, int iDisplayFieldDesc) { // Add code here to setup the popup or lookup button Record record = this.getReferenceRecord(); // Get/make the record that describes the referenced class. if (record != null) return this.setupTablePopup(itsLocation, targetScreen, converter, iDisplayFieldDesc, record, record.getDefaultScreenKeyArea(), this.getDefaultDisplayFieldSeq(), true, false); else return super.setupDefaultView(itsLocation, targetScreen, converter, iDisplayFieldDesc); } /**
/** * Set up the default screen control for this field. * By default, this is set to a popup. * @param itsLocation Location of this component on screen (ie., GridBagConstraint). * @param targetScreen Where to place this component (ie., Parent screen or GridBagLayout). * @param converter The converter to set the screenfield to. * @param iDisplayFieldDesc Display the label? (optional). * @return Return the component or ScreenField that is created for this field. */ public ScreenField setupDefaultView(ScreenLocation itsLocation, BasePanel targetScreen, Converter converter, int iDisplayFieldDesc) { // Add code here to setup the popup or lookup button Record record = this.getReferenceRecord(); // Get/make the record that describes the referenced class. if (record != null) return this.setupTablePopup(itsLocation, targetScreen, converter, iDisplayFieldDesc, record, record.getDefaultScreenKeyArea(), this.getDefaultDisplayFieldSeq(), true, false); else return super.setupDefaultView(itsLocation, targetScreen, converter, iDisplayFieldDesc); } /**