public BaseBuffer cacheCurrentLockedData(int iRowIndex, FieldList fieldList)
    {
        int iColumnCount = this.getColumnCount();
        if ((m_buffCurrentLockedData == null) || (m_iCurrentLockedRowIndex != iRowIndex))
            m_buffCurrentLockedData = new VectorBuffer(null, BaseBuffer.ALL_FIELDS);
        m_buffCurrentLockedData.fieldsToBuffer(fieldList);
        for (int i = 0; i < iColumnCount; i++)
        {   // Cache the non-field data
            Field field = null;
            if (this.getFieldInfo(i) != null)
                field = this.getFieldInfo(i).getField();
            if ((field != null) && (field.getRecord() != fieldList))
                m_buffCurrentLockedData.addNextString(field.toString());
        }
        m_iCurrentLockedRowIndex = iRowIndex;
        return m_buffCurrentLockedData;
    }
public BaseBuffer cacheCurrentLockedData ( int iRowIndex , FieldList fieldList ) { int iColumnCount = this . getColumnCount ( ) ; if ( ( m_buffCurrentLockedData == null ) || ( m_iCurrentLockedRowIndex != iRowIndex ) ) m_buffCurrentLockedData = new VectorBuffer ( null , BaseBuffer . ALL_FIELDS ) ; m_buffCurrentLockedData . fieldsToBuffer ( fieldList ) ; for ( int i = 0 ; i < iColumnCount ; i ++ ) { Field field = null ; if ( this . getFieldInfo ( i ) != null ) field = this . getFieldInfo ( i ) . getField ( ) ; if ( ( field != null ) && ( field . getRecord ( ) != fieldList ) ) m_buffCurrentLockedData . addNextString ( field . toString ( ) ) ; } m_iCurrentLockedRowIndex = iRowIndex ; return m_buffCurrentLockedData ; }
Get the array of changed values for the current row.
I use a standard field buffer and append all the screen items which
are not included in the field.
@param iRowIndex The row to get the data for.
@return The array of data for the currently locked row.