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