#ifndef ROOT_TPaletteAxis
#define ROOT_TPaletteAxis
#ifndef ROOT_TPave
#include "TPave.h"
#endif
#ifndef ROOT_TGaxis
#include "TGaxis.h"
#endif
class TH1;
class TPaletteAxis : public TPave {
protected:
TGaxis fAxis;
TH1 *fH;
TString fName;
public:
enum { kHasView = BIT(11)};
TPaletteAxis();
TPaletteAxis(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2, TH1 *h);
TPaletteAxis(const TPaletteAxis &palette);
virtual ~TPaletteAxis();
void Copy(TObject &palette) const;
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
TGaxis *GetAxis() {return &fAxis;}
Int_t GetBinColor(Int_t i, Int_t j);
Option_t *GetName() const {return fName.Data();}
virtual char *GetObjectInfo(Int_t px, Int_t py) const;
virtual void Paint(Option_t *option="");
virtual void SavePrimitive(ostream &out, Option_t *option = "");
virtual void SetName(const char *name="") {fName = name;}
virtual void SetLabelColor(Int_t labelcolor) {fAxis.SetLabelColor(labelcolor);}
virtual void SetLabelFont(Int_t labelfont) {fAxis.SetLabelFont(labelfont);}
virtual void SetLabelOffset(Float_t labeloffset) {fAxis.SetLabelOffset(labeloffset);}
virtual void SetLabelSize(Float_t labelsize) {fAxis.SetLabelSize(labelsize);}
virtual void SetTitleOffset(Float_t titleoffset=1) {fAxis.SetTitleOffset(titleoffset);}
virtual void SetTitleSize(Float_t titlesize) {fAxis.SetTitleSize(titlesize);}
virtual void SetLineColor(Color_t linecolor) {fAxis.SetLineColor(linecolor);}
virtual void SetLineWidth(Width_t linewidth) {fAxis.SetLineWidth(linewidth);}
virtual void UnZoom();
ClassDef(TPaletteAxis,2)
};
#endif
Last change: Wed Dec 3 12:47:29 2008
Last generated: 2008-12-03 12:47
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.