Annotation of Examples/DatabaseKit/Formatter/DateTFCell.h, revision 1.1

1.1     ! root        1: 
        !             2: /* Generated by Interface Builder */
        !             3: 
        !             4: #import <appkit/TextFieldCell.h>
        !             5: #import <appkit/appkit.h>
        !             6: 
        !             7: @interface DateTFCell:TextFieldCell
        !             8: {
        !             9:        NXTextFilterFunc oldTextFilter; /* hold original filter func */
        !            10: }
        !            11: 
        !            12: /* override these methods so that when the user TABs into the TextField or 
        !            13:  * mouseDowns into the TextField, the filter function of the fieldEditor can be 
        !            14:  * changed.  These are the two ways that a TextField can be enabled for taking 
        !            15:  * user input so this is the place to control the user input.
        !            16:  */
        !            17:  
        !            18: - select:(const NXRect *)aRect inView:controlView editor:textObj delegate:anObject start:(int)selStart length:(int)selLength;
        !            19: 
        !            20: - edit:(const NXRect *)aRect inView:controlView editor:textObj delegate:anObject event:(NXEvent *)theEvent;
        !            21: 
        !            22: /* override this method to remove the fieldEditor from the View hierarchy */
        !            23: 
        !            24: - endEditing:anObject;
        !            25: 
        !            26: /* the filter function for the DateTFCell and DateTextField */
        !            27: 
        !            28: char *dateFilter(id textObj, char *inputText, int *inputLength, int position);
        !            29: 
        !            30: @end

unix.superglobalmegacorp.com

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