library: libGed
#include "TAxisEditor.h"

TAxisEditor


class description - source file - inheritance tree (.pdf)

class TAxisEditor : public TGedFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
TGWidget
<-
TGedFrame
<-
TAxisEditor

    protected:
virtual void ConnectSignals2Slots() public:
TAxisEditor(const TGWindow* p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()) TAxisEditor(const TAxisEditor&) virtual ~TAxisEditor() static TClass* Class() virtual void DoAxisColor(Pixel_t color) virtual void DoDecimal(Bool_t on) virtual void DoDivisions() virtual void DoLabelColor(Pixel_t color) virtual void DoLabelFont(Int_t font) virtual void DoLabelOffset() virtual void DoLabelSize() virtual void DoLogAxis() virtual void DoMoreLog() virtual void DoNoExponent() virtual void DoTickLength() virtual void DoTicks() virtual void DoTitle(const char* text) virtual void DoTitleCentered() virtual void DoTitleColor(Pixel_t color) virtual void DoTitleFont(Int_t font) virtual void DoTitleOffset() virtual void DoTitleRotated() virtual void DoTitleSize() virtual TClass* IsA() const virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TAxis* fAxis axis object TGColorSelect* fAxisColor color selection widget TGCheckButton* fLogAxis logarithmic check box TGNumberEntry* fTickLength tick length number entry TGNumberEntry* fDiv1 primary axis division number entry TGNumberEntry* fDiv2 secondary axis division number entry TGNumberEntry* fDiv3 tertiary axis division number entry TGCheckButton* fOptimize tick optimization check box TGCheckButton* fTicksBoth check box setting ticks on both axis sides TGCheckButton* fMoreLog more logarithmic labels check box Int_t fTicksFlag positive/negative ticks' flag TGTextEntry* fTitle axis title input field TGColorSelect* fTitleColor color selection widget TGFontTypeComboBox* fTitleFont title font combo box Int_t fTitlePrec font precision level TGNumberEntry* fTitleSize title size number entry TGNumberEntry* fTitleOffset title offset number entry TGCheckButton* fCentered check button for centered title TGCheckButton* fRotated check button for rotated title TGColorSelect* fLabelColor color selection widget TGFontTypeComboBox* fLabelFont label font combo box Int_t fLabelPrec font precision level TGNumberEntry* fLabelSize label size number entry TGNumberEntry* fLabelOffset label offset number entry TGCheckButton* fNoExponent check box for No exponent choice TGCheckButton* fDecimal decimal part check box

Class Description

                                                                      
  TAxisEditor                                                         
                                                                      
  Implements GUI for axis attributes.                                 
     axis color                                                       
     ticks parameters: length, setting on both axis sides,            
     logarithmic or linear scale along the selected axis,             
     primary, secondary and tertiary axis divisions,                  
     setting more logarithmic labels,                                 
     optimizing labels' position if available                         
     axis title - a title can be added via the text entry field       
     and can be set to be centered or rotated via the corresponding   
     check buttons, the title color, offset, font can be set easily   
     axis labels - their color, size, offset can be set similarly,    
     in addition there is a check box for no exponent choice,         
     and another one for setting the same decimal part for all labels //                                                                      
                                                                      

/* */

TAxisEditor(const TGWindow *p, Int_t id, Int_t width, Int_t height, UInt_t options, Pixel_t back) : TGedFrame(p, id, width, height, options | kVerticalFrame, back)
 Constructor of axis attribute GUI.

~TAxisEditor()
 Destructor of axis editor.

void ConnectSignals2Slots()
 Connect signals to slots.

void SetModel(TVirtualPad* pad, TObject* obj, Int_t)
 Pick up the used values of axis attributes.

void DoAxisColor(Pixel_t color)
 Slot connected to the axis color.

void DoTickLength()
 Slot connected to the tick length settings.

void DoTicks()
 Slot connected to the ticks draw settings.

void DoDivisions()
 Slot connected to the number of divisions.

void DoLogAxis()
 Slot for Log scale setting.

void DoMoreLog()
 Slot connected to more Log labels flag

void DoTitle(const char *text)
 Slot connected to the axis color.

void DoTitleColor(Pixel_t color)
 Slot connected to the title color.

void DoTitleSize()
 Slot connected to the title font size.

void DoTitleFont(Int_t font)
 Slot connected to the title font.

void DoTitleOffset()
 Slot connected to the title offset.

void DoTitleCentered()
 Slot connected to centered title option.

void DoTitleRotated()
 Slot connected to the title rotation.

void DoLabelColor(Pixel_t color)
 Slot connected to the label color.

void DoLabelSize()
 Slot connected to the label size.

void DoLabelFont(Int_t font)
 Slot connected to the label font.

void DoLabelOffset()
 Slot connected to the label offset.

void DoNoExponent()
 Slot connected to the labels' exponent flag.

void DoDecimal(Bool_t on)
 Slot connected to the decimal part setting.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
        TAxisEditor TAxisEditor(const TAxisEditor&)


Author: Ilka Antcheva 11/05/04
Last update: root/ged:$Name: $:$Id: TAxisEditor.cxx,v 1.9 2005/06/18 09:57:54 brun Exp $
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.