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

GUI/Widgets/vtkKWRadioButton.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWRadioButton.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 =========================================================================*/
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&); // Not implemented
00067   void operator=(const vtkKWRadioButton&); // Not implemented
00068 };
00069 
00070 
00071 #endif
00072 
00073 
00074 

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