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