Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

AxisLabelAttribSetter Class Reference

#include <HVisitors.h>

Inheritance diagram for AxisLabelAttribSetter:

Inheritance graph
[legend]
Collaboration diagram for AxisLabelAttribSetter:

Collaboration graph
[legend]
List of all members.

Detailed Description

An HVisitor that sets the axis attribues name, color, style, and number of divisions.

See root class TAxis for a documentation of these attributes

Definition at line 294 of file HVisitors.h.

Public Member Functions

 AxisLabelAttribSetter (int axis_, Double_t size_, Color_t lcolor_=-1, Style_t font_=-1, Int_t ndiv_=-1)
 Constructor.

virtual void visit (RegO &h) const
 The visit function.


Private Member Functions

 AxisLabelAttribSetter (const AxisLabelAttribSetter &source)
 Private copy constructor, left unimplemented: No copying!

AxisLabelAttribSetteroperator= (const AxisLabelAttribSetter &source)
 Private assignment operator, left unimplemented: No assignment!


Private Attributes

int axis
 The axis (1=x, 2=y, 3=z).

Double_t size
 The new size (<0: dont set).

Color_t lcolor
 The new color (-1: dont set).

Style_t font
 The new label font (-1: dont set).

Int_t ndiv
 The new number of divisions (-1: dont set).


Constructor & Destructor Documentation

AxisLabelAttribSetter::AxisLabelAttribSetter int  axis_,
Double_t  size_,
Color_t  lcolor_ = -1,
Style_t  font_ = -1,
Int_t  ndiv_ = -1
[inline]
 

Constructor.

Parameters:
axis_  The axis (1=x, 2=y, 3=z)
size_  The new size (<0: dont set)
lcolor_  The new color (-1: dont set)
font_  The new label font (-1: dont set)
ndiv_  The new number of divisions (-1: dont set)

Definition at line 297 of file HVisitors.h.

References axis, font, lcolor, ndiv, and size.


Member Function Documentation

virtual void AxisLabelAttribSetter::visit RegO h  )  const [inline, virtual]
 

The visit function.

Parameters:
h  The object to be visited

Implements ConstHVisitor.

Definition at line 310 of file HVisitors.h.

References axis, font, lcolor, ndiv, and size.


The documentation for this class was generated from the following file:
Generated on Thu Oct 26 12:54:24 2006 for SFH by doxygen 1.3.2