home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / SourceCode / Palettes / Clocks / Inspectors.subproj / ClockInspector.h < prev    next >
Text File  |  1992-12-05  |  2KB  |  92 lines

  1. //----------------------------------------------------------------------------------------------------
  2. //
  3. //    ClockInspector
  4. //
  5. //    Inherits From:        IBInspector
  6. //
  7. //    Declared In:        ClockInspector.h
  8. //
  9. //    Class Description
  10. //
  11. //        ClockInspector is an abstract class for other clock inspectors 
  12. //        that provide IB Attributes inspection for an instance of their class.  
  13. //        This class implements the common requirements. Specific inspectors 
  14. //        will manage details relative to a particular Clock class.
  15. //
  16. //
  17. //    Disclaimer
  18. //
  19. //        You may freely copy, distribute and reuse this software and its
  20. //        associated documentation. I disclaim any warranty of any kind, 
  21. //        expressed or implied, as to its fitness for any particular use.
  22. //
  23. //----------------------------------------------------------------------------------------------------
  24. #import <appkit/appkit.h>
  25. #import <apps/InterfaceBuilder.h>
  26. #import "ImageWell.h"
  27.  
  28.  
  29. @interface ClockInspector:IBInspector
  30. {
  31.     id        inspectButton;
  32.     id        inspectorView;
  33.  
  34.     id        optionsWindow;
  35.     id        timeAndDateWindow;
  36.     id        displayWindow;
  37.  
  38.     id        options;
  39.     
  40.     id        clockOrAlarmButton;
  41.     id        clock;
  42.     id        alarmOptions;
  43.     id        alarmMode;
  44.     id        alarmSound;
  45.     BOOL    alarmFlag;
  46.  
  47.     id        backgroundImage;
  48.     id        backgroundColor;
  49.     id        colorOrImage;
  50.     
  51. }
  52.  
  53. //----------------------------------------------------------------------------------------------------
  54. //    Reverting Attributes
  55. //----------------------------------------------------------------------------------------------------
  56. - revertOptions;
  57. - revertTimeAndDate;
  58. - revertDisplay;
  59. - revertClockTimeAndDate;
  60. - revertAlarmTimeAndDate;
  61.  
  62.  
  63. //----------------------------------------------------------------------------------------------------
  64. //    Setting Attributes
  65. //----------------------------------------------------------------------------------------------------
  66. - setClockOptions: sender;
  67.  
  68. - clockOrAlarm: sender;
  69. - decrementHour: sender;
  70. - decrementMinute: sender;
  71. - decrementSecond: sender;
  72. - decrementMonth: sender;
  73. - decrementDay: sender;
  74. - decrementYear: sender;
  75. - incrementHour: sender;
  76. - incrementMinute: sender;
  77. - incrementSecond: sender;
  78. - incrementMonth: sender;
  79. - incrementDay: sender;
  80. - incrementYear: sender;
  81.  
  82. - alarmOptions: sender;
  83. - alarmMode: sender;
  84. - alarmSound: sender;
  85. - playAlarmSound: sender;
  86.  
  87. - imageOrColor: sender;
  88. - setClockBackgroundColor: sender;
  89. - setClockBackgroundImage: sender;
  90.  
  91.  
  92. @end