00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00021 #ifndef __vtkKWRadioButton_h
00022 #define __vtkKWRadioButton_h
00023
00024 #include "vtkKWCheckButton.h"
00025 class vtkKWApplication;
00026
00027 class KWWIDGETS_EXPORT vtkKWRadioButton : public vtkKWCheckButton
00028 {
00029 public:
00030 static vtkKWRadioButton* New();
00031 vtkTypeRevisionMacro(vtkKWRadioButton,vtkKWCheckButton);
00032 void PrintSelf(ostream& os, vtkIndent indent);
00033
00035 virtual void Create(vtkKWApplication *app);
00036
00038
00039 vtkBooleanMacro(SelectedState,int);
00040 virtual int GetSelectedState();
00042
00044
00046 virtual void SetValue(const char *v);
00047 virtual void SetValueAsInt(int v);
00048 virtual const char* GetValue();
00049 virtual int GetValueAsInt();
00051
00053
00055 virtual void SetVariableValue(const char *v);
00056 virtual void SetVariableValueAsInt(int v);
00057 virtual const char* GetVariableValue();
00058 virtual int GetVariableValueAsInt();
00060
00061 protected:
00062 vtkKWRadioButton() {};
00063 ~vtkKWRadioButton() {};
00064
00065 private:
00066 vtkKWRadioButton(const vtkKWRadioButton&);
00067 void operator=(const vtkKWRadioButton&);
00068 };
00069
00070
00071 #endif
00072
00073
00074