00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWWidgetWithScrollbarsSubclass.h.in,v $ 00004 00005 Copyright (c) Kitware, Inc. 00006 All rights reserved. 00007 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00025 #ifndef __vtkKWListBoxWithScrollbars_h 00026 #define __vtkKWListBoxWithScrollbars_h 00027 00028 #include "vtkKWWidgetWithScrollbars.h" 00029 00030 class vtkKWScrollbar; 00031 class vtkKWListBox; 00032 00033 class KWWIDGETS_EXPORT vtkKWListBoxWithScrollbars : public vtkKWWidgetWithScrollbars 00034 { 00035 public: 00036 static vtkKWListBoxWithScrollbars* New(); 00037 vtkTypeRevisionMacro(vtkKWListBoxWithScrollbars,vtkKWWidgetWithScrollbars); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 virtual void Create(vtkKWApplication *app); 00042 00044 virtual vtkKWListBox* GetWidget(); 00045 00052 virtual void UpdateEnableState(); 00053 00054 protected: 00055 vtkKWListBoxWithScrollbars(); 00056 ~vtkKWListBoxWithScrollbars(); 00057 00059 vtkKWListBox *Widget; 00060 00062 00065 virtual void CreateHorizontalScrollbar(vtkKWApplication *app); 00066 virtual void CreateVerticalScrollbar(vtkKWApplication *app); 00068 00070 virtual void Pack(); 00071 00072 private: 00073 vtkKWListBoxWithScrollbars(const vtkKWListBoxWithScrollbars&); // Not implemented 00074 void operator=(const vtkKWListBoxWithScrollbars&); // Not implemented 00075 }; 00076 00077 #endif