home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iscrlhdr.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.8 KB  |  69 lines

  1. #ifndef _ISCRLHDR_
  2.   #define _ISCRLHDR_
  3. /*******************************************************************************
  4. * FILE NAME: iscrlhdr.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IScrollHandler                                                           *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   IBM Open Class Library                                                     *
  12. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  13. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  14. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  15. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  16. *                                                                              *
  17. *******************************************************************************/
  18. #include <ihandler.hpp>
  19. #include <iscrlevt.hpp>
  20.  
  21. class IScrollHandlerPrivateData;
  22.  
  23. #pragma pack(4)
  24.  
  25. class IScrollHandler : public IHandler {
  26. typedef IHandler
  27.   Inherited;
  28. public:
  29. /*------------------------------- Constructors -------------------------------*/
  30.   IScrollHandler ( );
  31. virtual
  32.  ~IScrollHandler ( );
  33.  
  34. protected:
  35. /*---------------------------- Event Dispatching -----------------------------*/
  36. virtual Boolean
  37.   dispatchHandlerEvent ( IEvent& event );
  38.  
  39. /*----------------------------- Event Processing -----------------------------*/
  40. virtual Boolean
  41.   lineUp            ( IScrollEvent& event ),
  42.   lineDown          ( IScrollEvent& event ),
  43.   pageUp            ( IScrollEvent& event ),
  44.   pageDown          ( IScrollEvent& event ),
  45.   lineLeft          ( IScrollEvent& event ),
  46.   lineRight         ( IScrollEvent& event ),
  47.   pageLeft          ( IScrollEvent& event ),
  48.   pageRight         ( IScrollEvent& event ),
  49.   scrollBoxTrack    ( IScrollEvent& event ),
  50.   scrollBoxTrackEnd ( IScrollEvent& event ),
  51.   scrollEnd         ( IScrollEvent& event );
  52.  
  53. /*------------------------------ Implementation ------------------------------*/
  54. virtual IScrollHandler
  55.  &moveScrollBox ( IScrollEvent& event );
  56.  
  57. private:
  58. /*----------------------------- Hidden Functions -----------------------------*/
  59.   IScrollHandler ( const IScrollHandler &scrollHandler );
  60. IScrollHandler
  61.  &operator=      ( const IScrollHandler &scrollHandler );
  62.  
  63. /*--------------------------------- Private ----------------------------------*/
  64. }; // IScrollHandler
  65.  
  66. #pragma pack()
  67.  
  68. #endif /* _ISCRLHDR_ */
  69.