JG ROOT Tools libraries  version 5.0 - august 2014
RGZoomPanel1D Class Reference

#include <RGZoomPanel1D.hh>

Inheritance diagram for RGZoomPanel1D:

Public Member Functions

 RGZoomPanel1D (TGWindow *p, const UInt_t opts)
 
virtual ~RGZoomPanel1D ()
 
virtual void ZoomClicked (Int_t d)
 
virtual void MoveClicked (Int_t d)
 
 ClassDef (RGZoomPanel1D, 0)
 

Protected Member Functions

 RGZoomPanel1D (const RGZoomPanel1D &original)
 

Protected Attributes

TGCompositeFrame * w_zoom_frame
 Zoom buttons frame.
 
TGCompositeFrame * w_move_frame
 Frames for left / right sets of buttons.
 
TGCompositeFrame * w_left_frame
 Frame for left move buttons.
 
TGCompositeFrame * w_right_frame
 Frame for right move buttons.
 
TGTextButton * w_zoom_in
 Zoom in button.
 
TGTextButton * w_zoom_out
 Zoom out button.
 
TGTextButton * w_left_end
 Move to left end button.
 
TGTextButton * w_left_page
 Move one screen left button.
 
TGTextButton * w_left_half
 Move half screen left button.
 
TGTextButton * w_right_half
 Move half screen right button.
 
TGTextButton * w_right_page
 Move one screen right button.
 
TGTextButton * w_right_end
 Move to right end button.
 

Private Member Functions

 GObject (RGZoomPanel1D)
 

Detailed Description

class RGZoomPanel1D

Defines a set of buttons for zoom and left/right shift view (for plots). The buttons can be arranged according to the following options:

  • rgZPHorizontalLayout horizontal buttons layout
  • rgZPVerticalLayout vertical buttons layout
  • rgZPCompactLayout compact buttons layout

Constructor & Destructor Documentation

RGZoomPanel1D::RGZoomPanel1D ( const RGZoomPanel1D original)
protected

Copy constructor, not implemented.

Parameters
originalobject to copy
RGZoomPanel1D::~RGZoomPanel1D ( )
virtual

Destructor.

Member Function Documentation

RGZoomPanel1D::GObject ( RGZoomPanel1D  )
private

Macro from GCpp library that defines the following functions:

  • ClassName(): return the real class name of the object
  • StaticClassName(): return the used class name of the object (that may be a base class of the real object).
  • IsInstanceOf<T>(): return true if the current object is an instance of the template class name argument
  • Clone(): return an allocated copy of the object.
void RGZoomPanel1D::ZoomClicked ( Int_t  d)
inlinevirtual

Signal sent when zoom button is clicked.

Parameters
dvalue -1 for zoom out and +1 for zoom in
void RGZoomPanel1D::MoveClicked ( Int_t  d)
inlinevirtual

Signal sent when a move button is clicked. Result is negative for left move, and positive for right move. The value is 1 for move to end, 2 for one screen move, 3 for half-screen move.

Parameters
dmove value
RGZoomPanel1D::ClassDef ( RGZoomPanel1D  ,
 
)

For ROOT dictionary.


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