00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00020 #ifndef __vtkKWFrameWithScrollbar_h
00021 #define __vtkKWFrameWithScrollbar_h
00022
00023 #include "vtkKWCoreWidget.h"
00024
00025 class vtkKWApplication;
00026
00027 class KWWIDGETS_EXPORT vtkKWFrameWithScrollbar : public vtkKWCoreWidget
00028 {
00029 public:
00030 static vtkKWFrameWithScrollbar* New();
00031 vtkTypeRevisionMacro(vtkKWFrameWithScrollbar,vtkKWCoreWidget);
00032 void PrintSelf(ostream& os, vtkIndent indent);
00033
00035 virtual void Create(vtkKWApplication *app);
00036
00038
00039 vtkGetObjectMacro(Frame, vtkKWWidget);
00041
00043
00044 virtual void SetWidth(int);
00045 virtual int GetWidth();
00046 virtual void SetHeight(int);
00047 virtual int GetHeight();
00049
00056 virtual void UpdateEnableState();
00057
00058 protected:
00059 vtkKWFrameWithScrollbar();
00060 ~vtkKWFrameWithScrollbar();
00061
00062 vtkKWCoreWidget *Frame;
00063 vtkKWCoreWidget *ScrollableFrame;
00064
00065 private:
00066 vtkKWFrameWithScrollbar(const vtkKWFrameWithScrollbar&);
00067 void operator=(const vtkKWFrameWithScrollbar&);
00068 };
00069
00070
00071 #endif
00072
00073
00074