home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <appkit/TextFieldCell.h>
- #import <appkit/appkit.h>
-
- @interface DateTFCell:TextFieldCell
- {
- NXTextFilterFunc oldTextFilter; /* hold original filter func */
- }
-
- /* override these methods so that when the user TABs into the TextField or
- * mouseDowns into the TextField, the filter function of the fieldEditor can be
- * changed. These are the two ways that a TextField can be enabled for taking
- * user input so this is the place to control the user input.
- */
-
- - select:(const NXRect *)aRect inView:controlView editor:textObj delegate:anObject start:(int)selStart length:(int)selLength;
-
- - edit:(const NXRect *)aRect inView:controlView editor:textObj delegate:anObject event:(NXEvent *)theEvent;
-
- /* override this method to remove the fieldEditor from the View hierarchy */
-
- - endEditing:anObject;
-
- /* the filter function for the DateTFCell and DateTextField */
-
- char *dateFilter(id textObj, char *inputText, int *inputLength, int position);
-
- @end
-