25 #define GW_CASCADE_H Gw_Cascade
63 static void SetStylePalette(Style_t* pal) { ::memcpy(fgDefaultStyle, pal, fgkMaxStyle*
sizeof(Style_t)); }
64 static void SetColorPalette(Color_t* pal) { ::memcpy(fgDefaultColor, pal, fgkMaxColor*
sizeof(Color_t)); }
81 static const Int_t fgkMaxColor;
82 static const Int_t fgkMaxStyle;
84 static Float_t fgDefaultLabelSize;
85 static Style_t fgDefaultStyle[];
86 static Color_t fgDefaultColor[];
98 virtual TLatex&
GetLatex(Option_t *opt =
"name");
105 virtual const Char_t*
GetName()
const ;
110 virtual void SetName(
const Char_t* name);
114 virtual void SetLabels(
const Char_t* name,
const Char_t* type =
"ND", Double_t x = 0, Double_t y = 0);
126 virtual const Char_t*
GetType()
const ;
132 virtual void SetType(
const Char_t *);
135 virtual void Paint(Option_t* opt =
"");
136 virtual void Draw(Option_t* opt =
"");
142 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
145 void ls(Option_t* opt =
"")
const;
174 TGraphErrors*
DoJ2()
const;
177 TGraphErrors*
DoJ1()
const;
virtual Double_t GetXName() const
Get X for name.
static void SetDefaultLabelSize(Float_t size)
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance to object.
static void SetStylePalette(Style_t *pal)
TGraphErrors * DoJ2() const
Compute J2.
A cascade is a list of links.
virtual const Char_t * GetName() const
to get only the cascade's name
static void SetColorPalette(Color_t *pal)
EDefaultColor fDefaultColor
EDefaultStyle fDefaultStyle
virtual void DeSelected()
unselected link
virtual Double_t GetYName() const
Get Y for name.
Base class for a Log message.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
to execute an event for this cascade
virtual void Selected()
Selected link.
header file for GwLogMessage.cpp
virtual const Char_t * GetType() const
to get only the cascade's type
virtual EDefaultStyle GetDefaultStyle()
return default style
void ls(Option_t *opt="") const
Print out.
static Color_t GetDefaultColor(EDefaultColor d)
virtual Bool_t IsSelected()
return selection
static Style_t GetDefaultStyle(EDefaultStyle d)
ClassDef(Cascade, 3)
rootcint dictionary
virtual EDefaultColor GetDefaultColor()
return default color
virtual void SetLabelColor(EDefaultColor color)
Set color label.
virtual void Draw(Option_t *opt="")
virtual void SetLabels(const Char_t *name, const Char_t *type="ND", Double_t x=0, Double_t y=0)
set cascade label
virtual void SetName(const Char_t *name)
to set only the cascade's name
virtual void SetVisible(Bool_t visu)
Set cascade (un)visible, do not delete the objects, still present, just not drawn ! ...
virtual TLatex & GetLatex(Option_t *opt="name")
to get and modify the displayed properties of name and type
virtual void Paint(Option_t *opt="")
Draw/Paint methods.
TGraphErrors * DoJ1() const
Compute J1.
virtual void SetType(const Char_t *)
to set only the cascade's type
virtual Bool_t IsVisible()
return visible
static Float_t GetDefaultLabelSize()