PlotStatus.h

00001 
00007 #ifndef _PlotStatus_h
00008 #define _PlotStatus_h
00009 
00010 // SYSTEM INCLUDES
00011 //
00012 
00013 // PROJECT INCLUDES
00014 //
00015 
00016 // LOCAL INCLUDES
00017 //
00018 
00019 // FORWARD REFERENCES
00020 //
00021 
00022 
00023 class PlotStatus
00024     : public wxPanel
00025 {
00026 public:
00027 // LIFECYCLE
00028 
00031     PlotStatus(wxWindow*      pParent,
00032                wxWindowID     id,
00033                bool           univariate,
00034                const wxPoint& position = wxDefaultPosition,
00035                const wxSize&  size = wxDefaultSize);
00036 
00037 
00040     ~PlotStatus(void);
00041 
00042 
00043 // OPERATORS
00044 // OPERATIONS
00045 
00046     void        UpdatePosition(double value,
00047                                double argument1,
00048                                double argument2 = 0.0);
00049 
00050     void        UpdatePositionNoValue(double argument1,
00051                                       double argument2 = 0.0);
00052 
00053     void        ClearPosition();
00054 
00055     void        UpdateVariables(const wxString& variable1,
00056                                 const wxString& variable2 = wxT(""));
00057 
00058     void        UpdateFormatStrings(double functionScale,
00059                                     double variable1Scale,
00060                                     double variable2Scale = 0.0);
00061 // ACCESS
00062 // INQUIRY
00063 
00064 protected:
00065 private:
00066     wxStaticText*   mpVariable1Label;
00067     wxStaticText*   mpVariable1Value;
00068     wxStaticText*   mpVariable2Label;
00069     wxStaticText*   mpVariable2Value;
00070     wxStaticText*   mpFunctionLabel;
00071     wxStaticText*   mpFunctionValue;
00072 
00073     wxString        mNumberFormat;
00074 
00075     bool            mUnivariate;
00076 };
00077 
00078 // INLINE METHODS
00079 //
00080 
00081 // EXTERNAL REFERENCES
00082 //
00083 
00084 #endif  // _PlotStatus_h

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