PointControl.h

00001 
00007 #ifndef _PointControl_h
00008 #define _PointControl_h
00009 
00010 // SYSTEM INCLUDES
00011 //
00012 
00013 // PROJECT INCLUDES
00014 //
00015 
00016 // LOCAL INCLUDES
00017 //
00018 #include "../VariableNames.h"
00019 
00020 // FORWARD REFERENCES
00021 //
00022 
00023 
00024 class PointControl
00025     : public wxPanel
00026 {
00027 public:
00028 // LIFECYCLE
00029 
00032     PointControl(wxWindow*          pParent,
00033                  wxWindowID         id = -1,
00034                  const wxPoint&     pos = wxDefaultPosition,
00035                  const wxSize&      size = wxDefaultSize,
00036                  long               style = 0,
00037                  const wxString&    name = wxT("Point Control"));
00038 
00041     ~PointControl(void);
00042 
00043 
00044 // OPERATORS
00045 
00046 // OPERATIONS
00047 
00059     void            Init(const VariableNames&   variables,
00060                          ColumnVector&          rValues,
00061                          double                 initialValue=0);
00062 
00063 // ACCESS
00066     void            SetCaption(const wxString& caption);
00067 
00068 // INQUIRY
00069 
00070 protected:
00071 
00074     void            AddRow(const wxString& label, double& rValue);
00075 
00078     void            Clear();
00079 
00080 
00081 private:
00082     wxScrolledWindow*   mpScrolledPanel;
00083     wxStaticBoxSizer*   mpMainSizer;
00084     wxFlexGridSizer*    mpGridSizer;
00085 
00086     const static int mMinHeight;    
00087 };
00088 
00089 // INLINE METHODS
00090 //
00091 
00092 // EXTERNAL REFERENCES
00093 //
00094 
00095 #endif  // _PointControl_h

Wygenerowano Fri Sep 29 21:04:49 2006 dla EduOptim2 programem  doxygen 1.4.6