Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

GUI/Widgets/vtkKWComboBox.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWComboBox.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 =========================================================================*/
00029 #ifndef __vtkKWComboBox_h
00030 #define __vtkKWComboBox_h
00031 
00032 #include "vtkKWEntry.h"
00033 
00034 class vtkKWApplication;
00035 
00036 class KWWIDGETS_EXPORT vtkKWComboBox : public vtkKWEntry
00037 {
00038 public:
00039   static vtkKWComboBox* New();
00040   vtkTypeRevisionMacro(vtkKWComboBox,vtkKWEntry);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044   virtual void Create(vtkKWApplication *app);
00045 
00047 
00048   virtual void AddValue(const char* value);
00049   virtual void DeleteValue(int idx);
00050   virtual int HasValue(const char* value);
00051   virtual int GetValueIndex(const char* value);
00052   virtual const char* GetValueFromIndex(int idx);
00053   virtual int GetNumberOfValues();
00054   virtual void DeleteAllValues();
00056 
00059   virtual void SetValue(const char *);
00060 
00068   virtual void SetCommand(vtkObject *object, const char *method);
00069 
00076   virtual void UpdateEnableState();
00077 
00078 protected:
00079   vtkKWComboBox() {};
00080   ~vtkKWComboBox() {};
00081   
00082 private:
00083   vtkKWComboBox(const vtkKWComboBox&); // Not implemented
00084   void operator=(const vtkKWComboBox&); // Not Implemented
00085 };
00086 
00087 
00088 #endif
00089 
00090 
00091 

Generated on Tue May 30 12:31:42 2006 for ParaView by doxygen 1.3.5