GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Private Attributes | List of all members
TGo4WinCondView Class Reference

#include <TGo4WinCondView.h>

+ Inheritance diagram for TGo4WinCondView:

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)
 
TGo4WinCondGetCondition () 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}
 
TGo4WinCondfxWinCondition {nullptr}
 

Detailed Description

Definition at line 21 of file TGo4WinCondView.h.

Constructor & Destructor Documentation

◆ TGo4WinCondView() [1/2]

TGo4WinCondView::TGo4WinCondView ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2 
)

Definition at line 20 of file TGo4WinCondView.cxx.

◆ TGo4WinCondView() [2/2]

TGo4WinCondView::TGo4WinCondView ( )

Definition at line 27 of file TGo4WinCondView.cxx.

◆ ~TGo4WinCondView()

TGo4WinCondView::~TGo4WinCondView ( )
virtual

Definition at line 34 of file TGo4WinCondView.cxx.

Member Function Documentation

◆ ExecuteEvent()

void TGo4WinCondView::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
override

◆ GetCondition()

TGo4WinCond* TGo4WinCondView::GetCondition ( ) const
inline

◆ GetName()

const char * TGo4WinCondView::GetName ( ) const
override

Definition at line 102 of file TGo4WinCondView.cxx.

References fxWinCondition.

Referenced by GetCondition().

◆ IsAtExecuteMouseEvent()

Bool_t TGo4WinCondView::IsAtExecuteMouseEvent ( ) const
inline

Definition at line 56 of file TGo4WinCondView.h.

References fbExecutesMouseEvent.

Referenced by TGo4WinCondPainter::PaintCondition().

◆ Paint()

void TGo4WinCondView::Paint ( Option_t *  opt = "")
override

Definition at line 38 of file TGo4WinCondView.cxx.

References fxWinCondition.

Referenced by TGo4WinCondPainter::PaintCondition().

◆ ResetLabel()

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().

◆ SaveLabelStyle()

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().

◆ SetCMaxDraw()

void TGo4WinCondView::SetCMaxDraw ( Bool_t  on)

Definition at line 167 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetCMaxDraw().

Referenced by GetCondition().

◆ SetCondition()

void TGo4WinCondView::SetCondition ( TGo4WinCond condition)
inline

Definition at line 33 of file TGo4WinCondView.h.

References fxWinCondition.

Referenced by TGo4WinCondPainter::PaintCondition().

◆ SetIntDraw()

void TGo4WinCondView::SetIntDraw ( Bool_t  on)

Definition at line 132 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetIntDraw().

Referenced by GetCondition().

◆ SetLabelDraw()

void TGo4WinCondView::SetLabelDraw ( Bool_t  on)

Definition at line 122 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetLabelDraw().

Referenced by GetCondition().

◆ SetLimitsDraw()

void TGo4WinCondView::SetLimitsDraw ( Bool_t  on)

Definition at line 127 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetLimitsDraw().

Referenced by GetCondition().

◆ SetName()

void TGo4WinCondView::SetName ( const char *  nam)

Definition at line 107 of file TGo4WinCondView.cxx.

References fxWinCondition.

Referenced by GetCondition().

◆ SetNumFormat()

void TGo4WinCondView::SetNumFormat ( const char *  fmt = "%.4E")

Definition at line 172 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetLabelNumFormat().

Referenced by GetCondition().

◆ SetToLimits()

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().

◆ SetXMaxDraw()

void TGo4WinCondView::SetXMaxDraw ( Bool_t  on)

Definition at line 157 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetXMaxDraw().

Referenced by GetCondition().

◆ SetXMeanDraw()

void TGo4WinCondView::SetXMeanDraw ( Bool_t  on)

Definition at line 137 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetXMeanDraw().

Referenced by GetCondition().

◆ SetXRMSDraw()

void TGo4WinCondView::SetXRMSDraw ( Bool_t  on)

Definition at line 147 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetXRMSDraw().

Referenced by GetCondition().

◆ SetYMaxDraw()

void TGo4WinCondView::SetYMaxDraw ( Bool_t  on)

Definition at line 162 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetYMaxDraw().

Referenced by GetCondition().

◆ SetYMeanDraw()

void TGo4WinCondView::SetYMeanDraw ( Bool_t  on)

Definition at line 142 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetYMeanDraw().

Referenced by GetCondition().

◆ SetYRMSDraw()

void TGo4WinCondView::SetYRMSDraw ( Bool_t  on)

Definition at line 152 of file TGo4WinCondView.cxx.

References fxWinCondition, and TGo4Condition::SetYRMSDraw().

Referenced by GetCondition().

Member Data Documentation

◆ fbExecutesMouseEvent

Bool_t TGo4WinCondView::fbExecutesMouseEvent {kFALSE}
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().

◆ fxWinCondition

TGo4WinCond* TGo4WinCondView::fxWinCondition {nullptr}
private

The documentation for this class was generated from the following files: