public ScreenComponent setupDefaultView(ScreenLoc itsLocation, ComponentParent targetScreen, Convert converter, int iDisplayFieldDesc, Map<String, Object> properties)
{
if (targetScreen != null)
{
Record recCurrencys = (Record)Utility.getRecordOwner(targetScreen).getRecord(Currencys.CURRENCYS_FILE);
if (recCurrencys != null)
{
BaseField fldCurrencyCode = recCurrencys.getField(Currencys.CURRENCY_CODE);
Converter conv = new FieldDescConverter(fldCurrencyCode, (Converter)converter);
ScreenComponent sfCurrency = createScreenComponent(ScreenModel.EDIT_TEXT, itsLocation, targetScreen, conv, iDisplayFieldDesc, properties);
sfCurrency.setEnabled(false);
itsLocation = targetScreen.getNextLocation(ScreenConstants.RIGHT_OF_LAST, ScreenConstants.DONT_SET_ANCHOR);
iDisplayFieldDesc = ScreenConstants.DONT_DISPLAY_DESC;
}
}
return super.setupDefaultView(itsLocation, targetScreen, converter, iDisplayFieldDesc, properties);
}