00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
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&);
00084 void operator=(const vtkKWComboBox&);
00085 };
00086
00087
00088 #endif
00089
00090
00091