00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWWidgetSetSubclass.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 =========================================================================*/ 00030 #ifndef __vtkKWCheckButtonSet_h 00031 #define __vtkKWCheckButtonSet_h 00032 00033 #include "vtkKWWidgetSet.h" 00034 00035 class vtkKWCheckButton; 00036 00037 class KWWIDGETS_EXPORT vtkKWCheckButtonSet : public vtkKWWidgetSet 00038 { 00039 public: 00040 static vtkKWCheckButtonSet* New(); 00041 vtkTypeRevisionMacro(vtkKWCheckButtonSet,vtkKWWidgetSet); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00046 virtual vtkKWCheckButton* AddWidget(int id); 00047 00050 virtual vtkKWCheckButton* GetWidget(int id); 00051 00052 protected: 00053 vtkKWCheckButtonSet() {}; 00054 ~vtkKWCheckButtonSet() {}; 00055 00056 // Helper methods 00057 00058 virtual vtkKWWidget* AllocateAndCreateWidget(); 00059 00060 private: 00061 vtkKWCheckButtonSet(const vtkKWCheckButtonSet&); // Not implemented 00062 void operator=(const vtkKWCheckButtonSet&); // Not implemented 00063 }; 00064 00065 #endif