Base class describing a general level. More...
#include <Level.h>
Public Types | |
enum | EDefaultColor { kPlus, kMinus, kUnknown, kSelected } |
enum | EDefaultStyle { kKnown, kTentative } |
Public Member Functions | |
ClassDef (Level, 4) | |
Root dictionary related. More... | |
virtual Int_t | Compare (const TObject *) const |
used to sort a list of levels More... | |
void | Delete (const Option_t *="") |
Delete, redifined to avoid appearence in Menu. More... | |
virtual void | DeSelected () |
unselected link More... | |
virtual void | Draw (Option_t *option="") |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
to execute an event for this level More... | |
virtual void | ExtraLine (Bool_t extra=true) |
Set extraline drawning. More... | |
virtual EDefaultColor | GetDefaultColor () |
return default color More... | |
virtual EDefaultStyle | GetDefaultStyle () |
return default style More... | |
virtual Float_t | GetDY () |
virtual TLine & | GetExtraLine () |
Get extra line. More... | |
virtual TLatex & | GetLabel (Int_t) |
All labels are shifted when moving a level to another position. More... | |
virtual const char * | GetLabel0 () |
Get labels title. More... | |
virtual const char * | GetLabel1 () |
virtual const char * | GetLabel2 () |
virtual const char * | GetLabel3 () |
virtual const char * | GetPosLabel () |
Used to determine the position of labels. More... | |
virtual const char * | GetVisLabel () |
Used to determine which label should be drawn. More... | |
virtual Bool_t | HasExtraLine () |
check if extra line More... | |
virtual Bool_t | IsModified () |
return modified More... | |
virtual Bool_t | IsSelected () |
return selection More... | |
virtual Bool_t | IsSortable () const |
Set Sortable true. More... | |
virtual Bool_t | IsVisible () |
return visible More... | |
Level () | |
virtual void | Paint (Option_t *option="") |
used to paint a level More... | |
virtual void | Selected () |
Selected link. More... | |
virtual void | SetColor (EDefaultColor color) |
Set color. More... | |
virtual void | SetDefaultLabels () |
Set default labels. More... | |
virtual void | SetDY (Float_t dy) |
void | SetExtraLine (Double_t, Double_t) |
extra line More... | |
void | SetExtraLineX1 (Double_t) |
void | SetExtraLineX2 (Double_t) |
virtual void | SetLabel (const char *, Int_t) |
to set labels More... | |
virtual void | SetLabels (const char *l0, const char *l1, const char *l2, const char *l3) |
set label titles More... | |
virtual void | SetLabelsColor (Color_t color) |
set all labels color More... | |
virtual void | SetLabelsSize (Float_t size) |
set all labels size More... | |
virtual void | SetModified () |
Set link modified. More... | |
virtual void | SetPosLabel (const char *) |
set position for levels More... | |
virtual void | SetStyle (EDefaultStyle style) |
Set style. More... | |
virtual void | SetUnmdified () |
Set link unvisble. More... | |
virtual void | SetUnvisible () |
Set link unvisble. More... | |
virtual void | SetVisible () |
Set link visible. More... | |
virtual void | SetVisLabel (const char *) |
Used to determine which label should be drawn. More... | |
virtual void | SetX1 (Double_t) |
All labels are shifted when moving a level to another position. More... | |
virtual void | SetX2 (Double_t) |
All labels are shifted when moving a level to another position. More... | |
virtual void | SetY1 (Double_t) |
All labels are shifted when moving a level to another position. More... | |
virtual void | SetY2 (Double_t) |
All labels are shifted when moving a level to another position. More... | |
virtual | ~Level () |
Static Public Member Functions | |
static void | DisableMove () |
static void | EnableMove () |
static Color_t | GetDefaultColor (EDefaultColor d) |
static Color_t | GetDefaultLabelColor () |
static Float_t | GetDefaultLabelSize () |
static Style_t | GetDefaultStyle (EDefaultStyle d) |
static Bool_t | IsMovable () |
static void | SetColorPalette (Color_t *pal) |
static void | SetDefaultLabelColor (Color_t color) |
static void | SetDefaultLabelSize (Float_t size) |
static void | SetStylePalette (Style_t *pal) |
Protected Attributes | |
Float_t | fDY |
Bool_t | fIsModified |
Bool_t | fIsSelected |
log message More... | |
Bool_t | fIsVisible |
Base class describing a general level.
A level has a graphical representation which is just a 2D line (TLine)
It also defines 4 differents labels (ROOT TLatex), one for each corner
The labels could be hidden by using the SetVisLabel method which is available in the root graphical menu. It consists of a string of four characters. If the first character is equal to 0 then the first label is hidden otherwise it is shown.