public Record getMainRecord()
    {
        Record record = super.getMainRecord();
        if (record == null)
            record = new Script(this);
        return record;
    }
public Record getMainRecord ( ) { Record record = super . getMainRecord ( ) ; if ( record == null ) record = new Script ( this ) ; return record ; }
Get the main record for this screen.
@return The main record (or null if none).