Annotation of Examples/IndexingKit/Ledger/JFTableViewLoader.h, revision 1.1

1.1     ! root        1: 
        !             2: #import <appkit/appkit.h>
        !             3: #import <dbkit/dbkit.h>
        !             4: 
        !             5: @interface JFTableViewLoader:Object
        !             6: {
        !             7:     List *dataList;
        !             8:     List *configList;
        !             9:     id tableView;
        !            10: }
        !            11: 
        !            12: /* loadable palette support */
        !            13: - (const char *)getInspectorClassName;
        !            14: 
        !            15: /* sets DBTV data source to this object */
        !            16: - setTableView:anObject;
        !            17: 
        !            18: /*
        !            19:  *     first update the columns in the table view,
        !            20:  *     then, reload the table view 
        !            21:  */
        !            22: - setDataList:anObject andConfigurationList:cList;     /* prefered */
        !            23: 
        !            24: /*
        !            25:  *     force reload of the table view 
        !            26:  */
        !            27: - setDataList:anObject;
        !            28: 
        !            29: /* 
        !            30:  *     put here so awake from nib could rebuild the table view
        !            31:  *     this will check to see if the column already exists.
        !            32:  *     if so, then it will just replace the title and keep the width
        !            33:  *
        !            34:  */
        !            35: - setConfigurationList:cList;
        !            36: 
        !            37: /*======================================================================
        !            38:  *     Inspector support
        !            39:  *     return empty list objects if none currently set
        !            40:  *======================================================================*/
        !            41: - (DBTableView *)tableView;
        !            42: - (List *)dataList;
        !            43: - (List *)configList;
        !            44: 
        !            45: /*======================================================================
        !            46:  *     Archiving
        !            47:  *======================================================================*/
        !            48: 
        !            49: - read:(NXTypedStream *)typedStream;
        !            50: - write:(NXTypedStream *)typedStream;
        !            51: 
        !            52: /*======================================================================
        !            53:  *     DBTableView data source (psuedo-delegate) methods
        !            54:  *======================================================================*/
        !            55: - (unsigned int) rowCount;
        !            56: - getValueFor:identifier at:(unsigned int) aPosition into:aValue;
        !            57: - setValueFor:identifier at:(unsigned int) aPosition from:aValue;
        !            58: 
        !            59: 
        !            60: 
        !            61: @end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.