00001
00002
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00021
00030
00031
00032
00033
00034 #ifndef ANAPHE_AIDA_INFOSTYLE_H
00035 #define ANAPHE_AIDA_INFOSTYLE_H
00036
00037
00038
00039 #include "AIDA/IInfoStyle.h"
00040
00041
00042 namespace Anaphe {
00043
00044 class LegendBoxStyle;
00045 }
00046
00047
00048 namespace Anaphe {
00049 namespace AIDA_Plotter_Grace {
00050
00051
00052
00053
00058 class AIDA_InfoStyle : public AIDA::IInfoStyle
00059 {
00060 public:
00061 AIDA_InfoStyle();
00062 AIDA_InfoStyle(LegendBoxStyle*, bool ownership = true);
00063 virtual ~AIDA_InfoStyle();
00064
00065 private:
00066 AIDA_InfoStyle(const AIDA_InfoStyle&);
00067 AIDA_InfoStyle& operator=(const AIDA_InfoStyle&);
00068
00069 public:
00070 virtual void reset();
00071 virtual bool setParameter(const std::string& paramName, const std::string& options);
00072 virtual std::string parameterValue(const std::string& paramName) const;
00073 virtual std::vector<std::string> availableParameters() const;
00074 virtual std::vector<std::string> availableParameterOptions(const std::string& paramName) const;
00075 virtual AIDA::ITextStyle& textStyle();
00076 virtual bool setTextStyle(const AIDA::ITextStyle& textStyle);
00077
00078 void setRep(LegendBoxStyle&, bool ownership);
00079 LegendBoxStyle* theRep();
00080
00081 private:
00082 void crisis() const;
00083
00084 private:
00085 LegendBoxStyle* rep;
00086 bool ownRep;
00087
00088 };
00089
00090
00091
00092
00093 }
00094 }
00095
00096
00097 #endif // ANAPHE_AIDA_INFOSTYLE_H
00098