AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONPainterColorSlider Class Reference

A vertical color palette. More...

#include <AliMUONPainterColorSlider.h>

Inheritance diagram for AliMUONPainterColorSlider:

Public Member Functions

 AliMUONPainterColorSlider (const TGWindow *p, UInt_t w, UInt_t h)
 
virtual ~AliMUONPainterColorSlider ()
 
void DefaultButtonWasClicked ()
 
void SetDefaultButtonWasClicked (Double_t *range)
 
void DataRangeAutoRequested ()
 
void DataRangeWasChanged (Double_t *range)
 
void LockButtonWasClicked ()
 
void SetRange (Double_t min, Double_t max, Bool_t emit=kTRUE)
 
Bool_t IsLocked () const
 

Private Member Functions

 AliMUONPainterColorSlider (const AliMUONPainterColorSlider &rhs)
 Not implemented. More...
 
AliMUONPainterColorSlideroperator= (const AliMUONPainterColorSlider &rhs)
 Not implemented. More...
 
void LockDefaultButtons ()
 
void UnlockDefaultButtons ()
 

Private Attributes

TGNumberEntry * fEntryMin
 textbox for min value to be represented More...
 
TGNumberEntry * fEntryMax
 textbox for max value to be represented More...
 
Double_t fMin
 min value to be represented More...
 
Double_t fMax
 max value to be represented More...
 
TGTextButton * fAutoButton
 to toggle data range computation More...
 
TGTextButton * fLockButton
 to toggle locking of range More...
 
TGTextButton * fDefaultButton
 to get back to default range (if defined) More...
 
TGTextButton * fSetDefaultButton
 to set the default for the current source More...
 

Detailed Description

A vertical color palette.

A painter color palette

Author
Laurent Aphecetche, Subatech

Definition at line 22 of file AliMUONPainterColorSlider.h.

Constructor & Destructor Documentation

AliMUONPainterColorSlider::AliMUONPainterColorSlider ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

ctor

Definition at line 36 of file AliMUONPainterColorSlider.cxx.

AliMUONPainterColorSlider::~AliMUONPainterColorSlider ( )
virtual

dtor

Definition at line 102 of file AliMUONPainterColorSlider.cxx.

AliMUONPainterColorSlider::AliMUONPainterColorSlider ( const AliMUONPainterColorSlider rhs)
private

Not implemented.

Member Function Documentation

void AliMUONPainterColorSlider::DataRangeAutoRequested ( )

Signal that the "Auto" button was clicked

Definition at line 109 of file AliMUONPainterColorSlider.cxx.

void AliMUONPainterColorSlider::DataRangeWasChanged ( Double_t *  range)

Data range was changed

Definition at line 117 of file AliMUONPainterColorSlider.cxx.

Referenced by SetRange().

void AliMUONPainterColorSlider::DefaultButtonWasClicked ( )

Signal that the "Default" button was clicked

Definition at line 129 of file AliMUONPainterColorSlider.cxx.

Bool_t AliMUONPainterColorSlider::IsLocked ( ) const
void AliMUONPainterColorSlider::LockButtonWasClicked ( )

Lock (toggle button) was clicked

Definition at line 172 of file AliMUONPainterColorSlider.cxx.

void AliMUONPainterColorSlider::LockDefaultButtons ( )
private

Definition at line 157 of file AliMUONPainterColorSlider.cxx.

Referenced by LockButtonWasClicked().

AliMUONPainterColorSlider& AliMUONPainterColorSlider::operator= ( const AliMUONPainterColorSlider rhs)
private

Not implemented.

void AliMUONPainterColorSlider::SetDefaultButtonWasClicked ( Double_t *  range)

Signal that the "SetDefault" button was clicked

Definition at line 136 of file AliMUONPainterColorSlider.cxx.

void AliMUONPainterColorSlider::SetRange ( Double_t  min,
Double_t  max,
Bool_t  emit = kTRUE 
)
void AliMUONPainterColorSlider::UnlockDefaultButtons ( )
private

Definition at line 164 of file AliMUONPainterColorSlider.cxx.

Referenced by LockButtonWasClicked().

Member Data Documentation

TGTextButton* AliMUONPainterColorSlider::fAutoButton
private

to toggle data range computation

Definition at line 56 of file AliMUONPainterColorSlider.h.

Referenced by LockButtonWasClicked().

TGTextButton* AliMUONPainterColorSlider::fDefaultButton
private

to get back to default range (if defined)

Definition at line 58 of file AliMUONPainterColorSlider.h.

Referenced by LockDefaultButtons(), and UnlockDefaultButtons().

TGNumberEntry* AliMUONPainterColorSlider::fEntryMax
private

textbox for max value to be represented

Definition at line 53 of file AliMUONPainterColorSlider.h.

Referenced by DataRangeWasChanged(), LockButtonWasClicked(), SetDefaultButtonWasClicked(), and SetRange().

TGNumberEntry* AliMUONPainterColorSlider::fEntryMin
private

textbox for min value to be represented

Definition at line 52 of file AliMUONPainterColorSlider.h.

Referenced by DataRangeWasChanged(), LockButtonWasClicked(), SetDefaultButtonWasClicked(), and SetRange().

TGTextButton* AliMUONPainterColorSlider::fLockButton
private

to toggle locking of range

Definition at line 57 of file AliMUONPainterColorSlider.h.

Referenced by IsLocked(), and LockButtonWasClicked().

Double_t AliMUONPainterColorSlider::fMax
private

max value to be represented

Definition at line 55 of file AliMUONPainterColorSlider.h.

Referenced by SetRange().

Double_t AliMUONPainterColorSlider::fMin
private

min value to be represented

Definition at line 54 of file AliMUONPainterColorSlider.h.

Referenced by SetRange().

TGTextButton* AliMUONPainterColorSlider::fSetDefaultButton
private

to set the default for the current source

Definition at line 59 of file AliMUONPainterColorSlider.h.

Referenced by LockDefaultButtons(), and UnlockDefaultButtons().


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