A cascade is a list of links. More...
#include <Cascade.h>
Inherits TList.
Public Types | |
enum | EDefaultColor { kDefault, kSelected } |
enum | EDefaultStyle { kKnown, kTentative } |
Public Member Functions | |
Cascade () | |
ClassDef (Cascade, 3) | |
rootcint dictionary More... | |
virtual void | DeSelected () |
unselected link More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Compute distance to object. More... | |
TGraphErrors * | DoJ1 () const |
Compute J1. More... | |
TGraphErrors * | DoJ2 () const |
Compute J2. More... | |
virtual void | Draw (Option_t *opt="") |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
to execute an event for this cascade More... | |
virtual EDefaultColor | GetDefaultColor () |
return default color More... | |
virtual EDefaultStyle | GetDefaultStyle () |
return default style More... | |
virtual TLatex & | GetLatex (Option_t *opt="name") |
to get and modify the displayed properties of name and type More... | |
virtual const Char_t * | GetName () const |
to get only the cascade's name More... | |
virtual const Char_t * | GetType () const |
to get only the cascade's type More... | |
virtual Double_t | GetXName () const |
Get X for name. More... | |
virtual Double_t | GetYName () const |
Get Y for name. More... | |
virtual Bool_t | IsSelected () |
return selection More... | |
virtual Bool_t | IsVisible () |
return visible More... | |
void | ls (Option_t *opt="") const |
Print out. More... | |
virtual void | Paint (Option_t *opt="") |
Draw/Paint methods. More... | |
virtual void | Selected () |
Selected link. More... | |
virtual void | SetLabelColor (EDefaultColor color) |
Set color label. More... | |
virtual void | SetLabels (const Char_t *name, const Char_t *type="ND", Double_t x=0, Double_t y=0) |
set cascade label More... | |
virtual void | SetName (const Char_t *name) |
to set only the cascade's name More... | |
virtual void | SetType (const Char_t *) |
to set only the cascade's type More... | |
virtual void | SetVisible (Bool_t visu) |
Set cascade (un)visible, do not delete the objects, still present, just not drawn ! More... | |
virtual | ~Cascade () |
Static Public Member Functions | |
static Color_t | GetDefaultColor (EDefaultColor d) |
static Float_t | GetDefaultLabelSize () |
static Style_t | GetDefaultStyle (EDefaultStyle d) |
static void | SetColorPalette (Color_t *pal) |
static void | SetDefaultLabelSize (Float_t size) |
static void | SetStylePalette (Style_t *pal) |
Protected Attributes | |
EDefaultColor | fDefaultColor |
EDefaultStyle | fDefaultStyle |
Bool_t | fIsSelected |
Bool_t | fIsVisible |
LogMessage | fLog |
TLatex | fName |
TLatex | fType |
A cascade is a list of links.
A cascade represents a list of links. It has a name and a type. By default, the links doesn't belong to this cascade, so they are not deleted in the destructor. It can be changed by calling the TList member SetOwner().