Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TWebControlBar Class Reference

Web-based implementation for TControlBar class.

Definition at line 18 of file TWebControlBar.h.

Public Member Functions

 TWebControlBar (TControlBar *bar, const char *title, Int_t x, Int_t y)
 Constructor.
 ~TWebControlBar () override=default
void Create () override
virtual TControlBarButtonGetClicked ()
virtual TControlBarGetControlBar ()
void Hide () override
 Hide control bar.
virtual TClassIsA () const
void SetButtonState (const char *, Int_t) override
void SetButtonWidth (UInt_t) override
void SetFont (const char *) override
void SetTextColor (const char *) override
void Show () override
 Show canvas in browser window.
virtual void Streamer (TBuffer &)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
static TControlBarImpNewControlBar (TControlBar *bar, const char *title, Int_t x, Int_t y)
 Static method to create TWebControlBar instance Used by plugin manager.

Protected Member Functions

Bool_t ProcessData (unsigned connid, const std::string &arg)
 Handle data from web browser Returns kFALSE if message was not processed.
void SendInitMsg (unsigned connid)
 !< configured display

Protected Attributes

TControlBarButtonfClicked
TControlBarfControlBar
std::shared_ptr< ROOT::RWebWindowfWindow
Int_t fXpos
Int_t fYpos

#include <TWebControlBar.h>

Inheritance diagram for TWebControlBar:
TControlBarImp

Constructor & Destructor Documentation

◆ TWebControlBar()

TWebControlBar::TWebControlBar ( TControlBar * bar,
const char * title,
Int_t x,
Int_t y )

Constructor.

Definition at line 35 of file TWebControlBar.cxx.

◆ ~TWebControlBar()

TWebControlBar::~TWebControlBar ( )
overridedefault

Member Function Documentation

◆ Class()

TClass * TControlBarImp::Class ( )
staticinherited
Returns
TClass describing this class

◆ Class_Name()

const char * TControlBarImp::Class_Name ( )
staticinherited
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TControlBarImp::Class_Version ( )
inlinestaticconstexprinherited
Returns
Version of this class

Definition at line 47 of file TControlBarImp.h.

◆ Create()

void TWebControlBar::Create ( )
inlineoverridevirtual

Reimplemented from TControlBarImp.

Definition at line 31 of file TWebControlBar.h.

◆ DeclFileName()

const char * TControlBarImp::DeclFileName ( )
inlinestaticinherited
Returns
Name of the file containing the class declaration

Definition at line 47 of file TControlBarImp.h.

◆ GetClicked()

virtual TControlBarButton * TControlBarImp::GetClicked ( )
inlinevirtualinherited

Definition at line 37 of file TControlBarImp.h.

◆ GetControlBar()

virtual TControlBar * TControlBarImp::GetControlBar ( )
inlinevirtualinherited

Definition at line 36 of file TControlBarImp.h.

◆ Hide()

void TWebControlBar::Hide ( )
overridevirtual

Hide control bar.

Reimplemented from TControlBarImp.

Definition at line 105 of file TWebControlBar.cxx.

◆ IsA()

virtual TClass * TControlBarImp::IsA ( ) const
inlinevirtualinherited
Returns
TClass describing current object

Reimplemented in TRootControlBar.

Definition at line 47 of file TControlBarImp.h.

◆ NewControlBar()

TControlBarImp * TWebControlBar::NewControlBar ( TControlBar * bar,
const char * title,
Int_t x,
Int_t y )
static

Static method to create TWebControlBar instance Used by plugin manager.

Definition at line 173 of file TWebControlBar.cxx.

◆ ProcessData()

Bool_t TWebControlBar::ProcessData ( unsigned connid,
const std::string & arg )
protected

Handle data from web browser Returns kFALSE if message was not processed.

Definition at line 78 of file TWebControlBar.cxx.

◆ SendInitMsg()

void TWebControlBar::SendInitMsg ( unsigned connid)
protected

!< configured display

Send initial message with buttons configuration.

Definition at line 43 of file TWebControlBar.cxx.

◆ SetButtonState()

void TWebControlBar::SetButtonState ( const char * ,
Int_t  )
inlineoverridevirtual

Reimplemented from TControlBarImp.

Definition at line 36 of file TWebControlBar.h.

◆ SetButtonWidth()

void TWebControlBar::SetButtonWidth ( UInt_t )
inlineoverridevirtual

Reimplemented from TControlBarImp.

Definition at line 37 of file TWebControlBar.h.

◆ SetFont()

void TWebControlBar::SetFont ( const char * )
inlineoverridevirtual

Reimplemented from TControlBarImp.

Definition at line 34 of file TWebControlBar.h.

◆ SetTextColor()

void TWebControlBar::SetTextColor ( const char * )
inlineoverridevirtual

Reimplemented from TControlBarImp.

Definition at line 35 of file TWebControlBar.h.

◆ Show()

void TWebControlBar::Show ( )
overridevirtual

Show canvas in browser window.

Reimplemented from TControlBarImp.

Definition at line 115 of file TWebControlBar.cxx.

◆ Streamer()

virtual void TControlBarImp::Streamer ( TBuffer & )
virtualinherited

Reimplemented in TRootControlBar.

◆ StreamerNVirtual()

void TControlBarImp::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inlineinherited

Definition at line 47 of file TControlBarImp.h.

Member Data Documentation

◆ fClicked

TControlBarButton* TControlBarImp::fClicked
protectedinherited

Definition at line 29 of file TControlBarImp.h.

◆ fControlBar

TControlBar* TControlBarImp::fControlBar
protectedinherited

Definition at line 26 of file TControlBarImp.h.

◆ fWindow

std::shared_ptr<ROOT::RWebWindow> TWebControlBar::fWindow
protected

Definition at line 22 of file TWebControlBar.h.

◆ fXpos

Int_t TControlBarImp::fXpos
protectedinherited

Definition at line 27 of file TControlBarImp.h.

◆ fYpos

Int_t TControlBarImp::fYpos
protectedinherited

Definition at line 28 of file TControlBarImp.h.


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