public void restoreScreenParam(String fieldName)
    {
        if (this.getScreenRecord() != null)
            if (this.getScreenRecord().getField(fieldName) != null)
                if (this.getScreenRecord().getField(fieldName).getFieldName() != null)
        {
            String strFieldName = this.getScreenRecord().getField(fieldName).getFieldName();
            if (this.getProperty(strFieldName) != null)
                this.getScreenRecord().getField(fieldName).setString((String)this.getProperty(strFieldName));
        }
    }
public void restoreScreenParam ( String fieldName ) { if ( this . getScreenRecord ( ) != null ) if ( this . getScreenRecord ( ) . getField ( fieldName ) != null ) if ( this . getScreenRecord ( ) . getField ( fieldName ) . getFieldName ( ) != null ) { String strFieldName = this . getScreenRecord ( ) . getField ( fieldName ) . getFieldName ( ) ; if ( this . getProperty ( strFieldName ) != null ) this . getScreenRecord ( ) . getField ( fieldName ) . setString ( ( String ) this . getProperty ( strFieldName ) ) ; } }
RestoreScreenParam Method.
This is a convenience method to restore screen fields to their property values.
@param iFieldSeq The screen field sequence to restore.