home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / SourceCode / Palettes / MORegex / MODateTextCellInspector.h < prev    next >
Encoding:
Text File  |  1993-10-04  |  1.6 KB  |  57 lines

  1. // MODateTextCellInspector.h
  2. //
  3. // by Mike Ferris
  4. // Part of MOKit - MORegexPalette
  5. // Copyright 1993, all rights reserved.
  6.  
  7. // ABOUT MOKit
  8. // 
  9. // MOKit is a collection of useful and general objects.  Permission is 
  10. // granted by the author to use MOKit in your own programs in any way 
  11. // you see fit.  All other rights to the kit are reserved by the author 
  12. // including the right to sell these objects as part of a LIBRARY or as 
  13. // SOURCE CODE.  In plain English, I wish to retain rights to these 
  14. // objects as objects, but allow the use of the objects as pieces in a 
  15. // fully functional program.  NO WARRANTY is expressed or implied.  The author 
  16. // will under no circumstances be held responsible for ANY consequences to 
  17. // you from the use of these objects.  Since you don't have to pay for 
  18. // them, and full source is provided, I think this is perfectly fair.
  19.  
  20. // ABOUT MODateTextCellInspector
  21. //
  22. // Handles the inspector for a MODateTextCell.  It allows setting of the tag
  23. // and allowEmptyString flag.  It lets the cell be editable, selectable 
  24. // and/or scrollable, and it allows a choice of American or European input 
  25. // styles and date formatting options.
  26.  
  27. #import <appkit/appkit.h>
  28.  
  29. #import <apps/InterfaceBuilder.h>
  30.  
  31. @interface MODateTextCellInspector:IBInspector
  32. {
  33.     id    styleRadioMatrix;
  34.     id    formatCheckbox;
  35.     id    formatForm;
  36.     id    backgroundGrayMatrix;
  37.     id    textGrayMatrix;
  38.     id    alignmentMatrix;
  39.     id    borderMatrix;
  40.     id    allowEmptyStringButton;
  41.     id    optionsCheckboxMatrix;
  42.     id    tagForm;
  43. }
  44.  
  45. + initialize;
  46.  
  47. - init;
  48.  
  49. - optionsCheckboxAction:sender;
  50.  
  51. - ok:sender;
  52. - revert:sender;
  53.  
  54. - (BOOL)wantsButtons;
  55.  
  56. @end
  57.