public ScreenComponent setupDefaultView ( ScreenLoc itsLocation , ComponentParent targetScreen , Convert convert , int iDisplayFieldDesc , Map < String , Object > properties ) { ScreenComponent sField = null ; Converter converter = this . getNextConverter ( ) ; if ( converter != null ) sField = converter . setupDefaultView ( itsLocation , targetScreen , convert , iDisplayFieldDesc , properties ) ; else sField = super . setupDefaultView ( itsLocation , targetScreen , converter , iDisplayFieldDesc , properties ) ; if ( sField != null ) { // Get rid of any and all links to/from field/converter converter . removeComponent ( sField ) ; // Have the field add me to its list for display sField . setConverter ( this ) ; } return sField ; }
Set up the default control for this field . Adds the default screen control for the current converter and makes me it s converter .