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.
 
virtual ~TWebControlBar ()=default
 
void Create () override
 
void Hide () override
 Hide control bar.
 
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.
 
- Public Member Functions inherited from TControlBarImp
 TControlBarImp (TControlBar *c, const char *, Int_t, Int_t)
 
 TControlBarImp (TControlBar *c, const char *="")
 
virtual ~TControlBarImp ()
 
virtual TControlBarButtonGetClicked ()
 
virtual TControlBarGetControlBar ()
 
virtual TClassIsA () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

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

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

std::shared_ptr< ROOT::Experimental::RWebWindowfWindow
 
- Protected Attributes inherited from TControlBarImp
TControlBarButtonfClicked
 
TControlBarfControlBar
 
Int_t fXpos
 
Int_t fYpos
 

#include <TWebControlBar.h>

Inheritance diagram for TWebControlBar:
[legend]

Constructor & Destructor Documentation

◆ TWebControlBar()

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

Constructor.

Definition at line 34 of file TWebControlBar.cxx.

◆ ~TWebControlBar()

virtual TWebControlBar::~TWebControlBar ( )
virtualdefault

Member Function Documentation

◆ Create()

void TWebControlBar::Create ( )
inlineoverridevirtual

Reimplemented from TControlBarImp.

Definition at line 31 of file TWebControlBar.h.

◆ Hide()

void TWebControlBar::Hide ( )
overridevirtual

Hide control bar.

Reimplemented from TControlBarImp.

Definition at line 104 of file TWebControlBar.cxx.

◆ 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 172 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 77 of file TWebControlBar.cxx.

◆ SendInitMsg()

void TWebControlBar::SendInitMsg ( unsigned  connid)
protected

!< configured display

Send initial message with buttons configuration.

Definition at line 42 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 114 of file TWebControlBar.cxx.

Member Data Documentation

◆ fWindow

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

Definition at line 22 of file TWebControlBar.h.

Libraries for TWebControlBar:

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