UserCanvas Class Reference

#include <UserCanvas.h>

Inheritance diagram for UserCanvas:
CanvasPage PageABC

List of all members.

Public Member Functions

 UserCanvas ()
virtual ~UserCanvas ()
virtual TObject * Init (Mint *mint, PageDisplay *pd, GuiBox &box)
 This returns a CanvasSignals object.
void Clear ()
void Update ()
 Implement to respond to a change in the data.
void Unzoom ()
void Rezoom ()
void FullZoom ()
void AutoZoom ()

Private Member Functions

 UserCanvas (const UserCanvas &rhs)
UserCanvasoperator= (const UserCanvas &rhs)

Private Attributes

CanvasSignalsfCanvasSignals
MintfMint

Detailed Description

Id
UserCanvas.h,v 1.2 2002/11/04 21:11:57 bv Exp

Definition at line 26 of file UserCanvas.h.


Constructor & Destructor Documentation

UserCanvas::UserCanvas (  ) 

Definition at line 8 of file UserCanvas.cxx.

00009     : fCanvasSignals(0)
00010 {
00011 }

UserCanvas::~UserCanvas (  )  [virtual]

Definition at line 13 of file UserCanvas.cxx.

References fCanvasSignals.

00014 {
00015     if (fCanvasSignals) { delete fCanvasSignals; fCanvasSignals = 0; }
00016 }

UserCanvas::UserCanvas ( const UserCanvas rhs  )  [private]

Member Function Documentation

void UserCanvas::AutoZoom (  )  [virtual]

Reimplemented from PageABC.

Definition at line 46 of file UserCanvas.cxx.

References CanvasSignals::AutoZoom(), and fCanvasSignals.

00047 {
00048     fCanvasSignals->AutoZoom();
00049 }

void UserCanvas::Clear ( void   )  [virtual]

Implement to respond to a new record read in, the actual record is accessible in the subsequent Update() call.

Reimplemented from PageABC.

Definition at line 25 of file UserCanvas.cxx.

References fCanvasSignals.

00026 {
00027     fCanvasSignals->Clear();
00028 }

void UserCanvas::FullZoom ( void   )  [virtual]

Reimplemented from PageABC.

Definition at line 42 of file UserCanvas.cxx.

References fCanvasSignals, and CanvasSignals::FullZoom().

00043 {
00044     fCanvasSignals->FullZoom();
00045 }

TObject * UserCanvas::Init ( Mint mint,
PageDisplay pd,
GuiBox box 
) [virtual]

This returns a CanvasSignals object.

Reimplemented from CanvasPage.

Definition at line 18 of file UserCanvas.cxx.

References fCanvasSignals, fMint, and CanvasPage::GetCanvas().

00019 {
00020     this->CanvasPage::Init(mint,pd,box);
00021     fMint = mint;
00022     fCanvasSignals = new CanvasSignals(this->GetCanvas());
00023     return fCanvasSignals;
00024 }

UserCanvas& UserCanvas::operator= ( const UserCanvas rhs  )  [private]
void UserCanvas::Rezoom ( void   )  [virtual]

Reimplemented from PageABC.

Definition at line 38 of file UserCanvas.cxx.

References fCanvasSignals, and CanvasSignals::Rezoom().

00039 {
00040     fCanvasSignals->Rezoom();
00041 }

void UserCanvas::Unzoom ( void   )  [virtual]

Reimplemented from PageABC.

Definition at line 34 of file UserCanvas.cxx.

References fCanvasSignals, and CanvasSignals::Unzoom().

00035 {
00036     fCanvasSignals->Unzoom();
00037 }

void UserCanvas::Update (  )  [virtual]

Implement to respond to a change in the data.

Reimplemented from PageABC.

Definition at line 29 of file UserCanvas.cxx.

References fCanvasSignals, fMint, Mint::GetJint(), Jint::GetMom(), and CanvasSignals::Update().

00030 {
00031     const MomNavigator* mom = fMint->GetJint().GetMom();
00032     fCanvasSignals->Update(mom);
00033 }


Member Data Documentation

Definition at line 50 of file UserCanvas.h.

Referenced by AutoZoom(), Clear(), FullZoom(), Init(), Rezoom(), Unzoom(), Update(), and ~UserCanvas().

Mint* UserCanvas::fMint [private]

Definition at line 51 of file UserCanvas.h.

Referenced by Init(), and Update().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1