home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 (1993) / nebula.bin / SourceCode / MiniExamples / FilterFunctions / DateTextField.h next >
Encoding:
Text File  |  1991-09-29  |  728 b   |  30 lines

  1.  
  2. /*
  3.  *      You may freely copy, distribute and reuse the code
  4.  *      in this example.  NeXT disclaims any warranty of
  5.  *      any kind, expressed or implied, as to its fitness
  6.  *      for any particular use.
  7.  *
  8.  *      Written by: Susan Rayl
  9.  *
  10.  *      Created 21-Mar-91
  11.  */
  12.  
  13. #import <appkit/TextField.h>
  14.  
  15. @interface DateTextField:TextField
  16. {
  17. }
  18.  
  19. /* override to make changes to the class before any objects are instantiated */
  20. + initialize;
  21.  
  22. /* override to clean up the Text object (which is the fieldEditor) */
  23. - textDidEnd:anObject endChar:(unsigned short)whyEnd;
  24.  
  25. /* override to prevent processing in another TextField until the date has been 
  26.  * fully and correctly entered by the user. 
  27.  */
  28. - textWillEnd:textObject;
  29. @end
  30.