home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / SourceCode / Palettes / KeyDownBrowser / KeyDownMatrix.h < prev    next >
Text File  |  1993-01-19  |  998b  |  37 lines

  1. //---------------------------------------------------------------------------------------------------------
  2. //
  3. //    KeyDownMatrix
  4. //
  5. //    Inherits From:        Matrix
  6. //
  7. //    Declared In:        KeyDownMatrix.h
  8. //
  9. //    Class Description
  10. //
  11. //        KeyDownMatrix is a subclass of Matrix that overrides the 
  12. //        mouseDown: method in order to make the browser (most likely
  13. //        an instance of KeyDownBrowser) the First Responder.
  14. //
  15. //        Added two instance methods (numRows, numCols). These should
  16. //        be category methods to Matrix, but didn't want to presume this
  17. //        for the user.
  18. //
  19. //
  20. //    Disclaimer
  21. //
  22. //        You may freely copy, distribute and reuse this software and its
  23. //        associated documentation. I disclaim any warranty of any kind, 
  24. //        expressed or implied, as to its fitness for any particular use.
  25. //
  26. //---------------------------------------------------------------------------------------------------------
  27. #import <appkit/appkit.h>
  28.  
  29. @interface KeyDownMatrix : Matrix
  30.  
  31. {
  32. }
  33.  
  34. - (int) numRows;
  35. - (int) numCols;
  36.  
  37. @end