GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4WinCondView.h>
Public Member Functions | |
TGo4WinCondView (Double_t x1, Double_t y1, Double_t x2, Double_t y2) | |
TGo4WinCondView () | |
virtual | ~TGo4WinCondView () |
void | Paint (Option_t *opt="") override |
void | ExecuteEvent (Int_t event, Int_t px, Int_t py) override |
void | SetCondition (TGo4WinCond *condition) |
TGo4WinCond * | GetCondition () const |
const char * | GetName () const override |
void | SetName (const char *nam) |
void | SetToLimits (Double_t x1, Double_t x2, Double_t y1=0, Double_t y2=0) |
void | SetLabelDraw (Bool_t on) |
void | SetLimitsDraw (Bool_t on) |
void | SetIntDraw (Bool_t on) |
void | SetXMeanDraw (Bool_t on) |
void | SetXRMSDraw (Bool_t on) |
void | SetYMeanDraw (Bool_t on) |
void | SetYRMSDraw (Bool_t on) |
void | SetXMaxDraw (Bool_t on) |
void | SetYMaxDraw (Bool_t on) |
void | SetCMaxDraw (Bool_t on) |
void | SetNumFormat (const char *fmt="%.4E") |
void | SaveLabelStyle () |
void | ResetLabel () |
Bool_t | IsAtExecuteMouseEvent () const |
Private Attributes | |
Bool_t | fbExecutesMouseEvent {kFALSE} |
TGo4WinCond * | fxWinCondition {nullptr} |
Definition at line 21 of file TGo4WinCondView.h.
TGo4WinCondView::TGo4WinCondView | ( | Double_t | x1, |
Double_t | y1, | ||
Double_t | x2, | ||
Double_t | y2 | ||
) |
Definition at line 20 of file TGo4WinCondView.cxx.
TGo4WinCondView::TGo4WinCondView | ( | ) |
Definition at line 27 of file TGo4WinCondView.cxx.
|
virtual |
Definition at line 34 of file TGo4WinCondView.cxx.
|
override |
Definition at line 48 of file TGo4WinCondView.cxx.
References fbExecutesMouseEvent, fxWinCondition, TGo4Condition::GetUpdateEpsilon(), TGo4WinCond::GetValues(), TGo4Condition::ResetLabel(), TGo4Condition::SetChanged(), and TGo4WinCond::SetValues().
|
inline |
Definition at line 34 of file TGo4WinCondView.h.
References fxWinCondition, GetName(), ResetLabel(), SaveLabelStyle(), SetCMaxDraw(), SetIntDraw(), SetLabelDraw(), SetLimitsDraw(), SetName(), SetNumFormat(), SetToLimits(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), and SetYRMSDraw().
|
override |
Definition at line 102 of file TGo4WinCondView.cxx.
References fxWinCondition.
Referenced by GetCondition().
|
inline |
Definition at line 56 of file TGo4WinCondView.h.
References fbExecutesMouseEvent.
Referenced by TGo4WinCondPainter::PaintCondition().
|
override |
Definition at line 38 of file TGo4WinCondView.cxx.
References fxWinCondition.
Referenced by TGo4WinCondPainter::PaintCondition().
void TGo4WinCondView::ResetLabel | ( | ) |
Will reset label position to defaults
Definition at line 190 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::ResetLabel().
Referenced by GetCondition().
void TGo4WinCondView::SaveLabelStyle | ( | ) |
This will save draw flags into static default setup
Definition at line 185 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SaveLabelStyle().
Referenced by GetCondition().
void TGo4WinCondView::SetCMaxDraw | ( | Bool_t | on | ) |
Definition at line 167 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetCMaxDraw().
Referenced by GetCondition().
|
inline |
Definition at line 33 of file TGo4WinCondView.h.
References fxWinCondition.
Referenced by TGo4WinCondPainter::PaintCondition().
void TGo4WinCondView::SetIntDraw | ( | Bool_t | on | ) |
Definition at line 132 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetIntDraw().
Referenced by GetCondition().
void TGo4WinCondView::SetLabelDraw | ( | Bool_t | on | ) |
Definition at line 122 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetLabelDraw().
Referenced by GetCondition().
void TGo4WinCondView::SetLimitsDraw | ( | Bool_t | on | ) |
Definition at line 127 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetLimitsDraw().
Referenced by GetCondition().
void TGo4WinCondView::SetName | ( | const char * | nam | ) |
Definition at line 107 of file TGo4WinCondView.cxx.
References fxWinCondition.
Referenced by GetCondition().
void TGo4WinCondView::SetNumFormat | ( | const char * | fmt = "%.4E" | ) |
Definition at line 172 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetLabelNumFormat().
Referenced by GetCondition().
void TGo4WinCondView::SetToLimits | ( | Double_t | x1, |
Double_t | x2, | ||
Double_t | y1 = 0 , |
||
Double_t | y2 = 0 |
||
) |
Delete condition instead of view:
Definition at line 112 of file TGo4WinCondView.cxx.
References fxWinCondition, TGo4Condition::GetDimension(), and TGo4WinCond::SetValues().
Referenced by GetCondition().
void TGo4WinCondView::SetXMaxDraw | ( | Bool_t | on | ) |
Definition at line 157 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetXMaxDraw().
Referenced by GetCondition().
void TGo4WinCondView::SetXMeanDraw | ( | Bool_t | on | ) |
Definition at line 137 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetXMeanDraw().
Referenced by GetCondition().
void TGo4WinCondView::SetXRMSDraw | ( | Bool_t | on | ) |
Definition at line 147 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetXRMSDraw().
Referenced by GetCondition().
void TGo4WinCondView::SetYMaxDraw | ( | Bool_t | on | ) |
Definition at line 162 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetYMaxDraw().
Referenced by GetCondition().
void TGo4WinCondView::SetYMeanDraw | ( | Bool_t | on | ) |
Definition at line 142 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetYMeanDraw().
Referenced by GetCondition().
void TGo4WinCondView::SetYRMSDraw | ( | Bool_t | on | ) |
Definition at line 152 of file TGo4WinCondView.cxx.
References fxWinCondition, and TGo4Condition::SetYRMSDraw().
Referenced by GetCondition().
|
private |
JAM this one will suppress condition repaint during execution of mouse events
Definition at line 61 of file TGo4WinCondView.h.
Referenced by ExecuteEvent(), and IsAtExecuteMouseEvent().
|
private |
pointer to viewed condition for update after graphical action
Definition at line 64 of file TGo4WinCondView.h.
Referenced by ExecuteEvent(), GetCondition(), GetName(), Paint(), ResetLabel(), SaveLabelStyle(), SetCMaxDraw(), SetCondition(), SetIntDraw(), SetLabelDraw(), SetLimitsDraw(), SetName(), SetNumFormat(), SetToLimits(), SetXMaxDraw(), SetXMeanDraw(), SetXRMSDraw(), SetYMaxDraw(), SetYMeanDraw(), and SetYRMSDraw().