home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / SourceCode / Palettes / MORegex / MORegexTextCellInspector.h < prev    next >
Encoding:
Text File  |  1993-09-19  |  1.8 KB  |  69 lines

  1. // MORegexTextCellInspector.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 MORegexTextCellInspector
  21. //
  22. // Handles the inspector for a RegexTextCell.  It allows setting of the 
  23. // background and text gray, alignment, border type, editability, and tag 
  24. // attributes of the cell as well as allowing the setting of the regular 
  25. // expression list for the cell.
  26.  
  27. #import <appkit/appkit.h>
  28.  
  29. #import <apps/InterfaceBuilder.h>
  30.  
  31. @interface MORegexTextCellInspector:IBInspector
  32. {
  33.     id    patternBrowser;
  34.     id    patternButtonMatrix;
  35.     id    patternText;
  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. - (int)browserSelectedRow;
  50. - enablePatternButtons;
  51.  
  52. - browserAction:sender;
  53.  
  54. - patternButtonAction:sender;
  55.  
  56. - optionsCheckboxAction:sender;
  57.  
  58. - ok:sender;
  59. - revert:sender;
  60.  
  61. - (BOOL)wantsButtons;
  62.  
  63. - (int)browser:sender fillMatrix:matrix inColumn:(int)column;
  64.  
  65. - textDidGetKeys:sender isEmpty:(BOOL)flag;
  66. - textDidChange:sender;
  67.  
  68. @end
  69.