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 =========================================================================*/ 00038 #ifndef __vtkKWEntrySet_h 00039 #define __vtkKWEntrySet_h 00040 00041 #include "vtkKWWidgetSet.h" 00042 00043 class vtkKWEntry; 00044 00045 class KWWidgets_EXPORT vtkKWEntrySet : public vtkKWWidgetSet 00046 { 00047 public: 00048 static vtkKWEntrySet* New(); 00049 vtkTypeRevisionMacro(vtkKWEntrySet,vtkKWWidgetSet); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00054 virtual vtkKWEntry* AddWidget(int id); 00055 00059 virtual vtkKWEntry* InsertWidget(int id, int pos); 00060 00063 virtual vtkKWEntry* GetWidget(int id); 00064 00065 protected: 00066 vtkKWEntrySet() {}; 00067 ~vtkKWEntrySet() {}; 00068 00069 // Helper methods 00070 00071 virtual vtkKWWidget* AllocateAndCreateWidget(); 00072 00073 private: 00074 vtkKWEntrySet(const vtkKWEntrySet&); // Not implemented 00075 void operator=(const vtkKWEntrySet&); // Not implemented 00076 }; 00077 00078 #endif
1.6.1