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 // @cond section_public 00040 public: 00041 static vtkKWRadioButtonSet* New(); 00042 vtkTypeRevisionMacro(vtkKWRadioButtonSet,vtkKWWidgetSet); 00043 void PrintSelf(ostream& os, vtkIndent indent); 00044 00047 virtual vtkKWRadioButton* AddWidget(int id); 00048 00052 virtual vtkKWRadioButton* InsertWidget(int id, int pos); 00053 00056 virtual vtkKWRadioButton* GetWidget(int id); 00057 00058 // @endcond 00059 // @cond section_protected 00060 protected: 00061 vtkKWRadioButtonSet() {}; 00062 ~vtkKWRadioButtonSet() {}; 00063 00064 // Helper methods 00065 00066 virtual vtkKWWidget* AllocateAndCreateWidget(); 00067 virtual vtkKWWidget* InsertWidgetInternal(int id, int pos); 00068 00069 // @endcond 00070 // @cond section_private 00071 private: 00072 vtkKWRadioButtonSet(const vtkKWRadioButtonSet&); // Not implemented 00073 void operator=(const vtkKWRadioButtonSet&); // Not implemented 00074 }; 00075 00076 #endif 00077 // @endcond
1.6.1