244 virtual void Print();
ULong_t Pixel_t
Pixel value.
#define ClassDef(name, id)
#define ClassDefOverride(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void pixel
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void xpos
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void ypos
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
A frame containing two scrollbars (a horizontal and a vertical) and a viewport.
The base class for composite widgets (menu bars, list boxes, etc.).
A composite frame that layout their children in horizontal way.
This class handles GUI labels.
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
TGTableCell is the class that represents a single cell in a TGTable.
TGTableFrame contains a composite frame that uses a TGMatrixLayout to Layout the frames it contains.
Create an array to hold a bunch of numbers.
TGHorizontalFrame * fButtonFrame
Contains the buttons.
virtual void ScrollCHeaders(Int_t xpos)
Scroll the column headers horizontally.
TGHorizontalFrame * fRangeFrame
Frame that contains the top part.
virtual void Shrink(UInt_t nrows, UInt_t ncolumns)
Shrink the TGTable by nrows and ncolumns.
virtual UInt_t GetNDataColumns() const
Return the amount of columns in the data source.
TTableRange * fCurrentRange
Range of data currently loaded.
TGHorizontalFrame * fBottomFrame
Frame that contains the bottom part.
virtual void UserRangeChange()
Slot used when the text in one of the range frame text entries changes.
virtual const TGTableHeader * GetColumnHeader(const UInt_t column) const
Const version of GetColumnHeader();.
TVirtualTableInterface * fInterface
TTableRange * fGotoRange
Range used by Goto frame.
TGTableFrame * fTableFrame
Container for the frames.
virtual const TGTableHeaderFrame * GetRHdrFrame()
virtual TObjArray * GetRow(UInt_t row)
Get row.
virtual void Init()
Initialise the TGTable.
virtual void SetInterface(TVirtualTableInterface *interface, UInt_t nrows=50, UInt_t ncolumns=20)
Set the interface that the TGTable uses to interface.
virtual void Update()
Update the range of the available data and refresh the current view.
virtual void SetEvenRowBackground(Pixel_t pixel)
Set the background color for all even numbered rows.
TGHorizontalFrame * fTopFrame
Frame that contains the top part.
Pixel_t fEvenRowBackground
Background color for even numbered rows.
virtual TGTableCell * operator()(UInt_t row, UInt_t column)
Operator for easy cell acces.
virtual TGTableHeader * GetTableHeader()
Return a pointer to the table header.
virtual const TGTableHeader * GetRowHeader(const UInt_t row) const
Const version of GetRowHeader();.
virtual TObjArray * GetColumn(UInt_t columns)
Return a pointer to a TObjArray that contains pointers to all the cells in column.
virtual UInt_t GetNDataCells() const
Return the amount of cell in the data source.
virtual const TGTableCell * FindCell(TGString label) const
Const version of FindCell().
TGHorizontalFrame * fTopExtraFrame
Dev idea.
virtual void ShrinkRows(UInt_t nrows)
Shrink the rows of the TGTable by nrows.
virtual Pixel_t GetRowBackground(UInt_t row) const
Get the background collor for row.
TList * fMainHintsList
List for all hints used in the main table frame.
virtual void SetOddRowBackground(Pixel_t pixel)
Set the background color for all odd numbered rows.
virtual void Goto()
Slot used by the Goto button and whenever return is pressed in on of the text entries in the range fr...
virtual UInt_t GetNTableRows() const
Return the amount of rows in the table.
TObjArray * fRows
Array of rows.
virtual Pixel_t GetHeaderBackground() const
Get the background color of headers.
virtual UInt_t GetNDataRows() const
Return the amount of rows in the data source.
TObjArray * fColumnHeaders
Array of column headers.
void DoRedraw() override
Redraw the TGTable.
virtual void SetHeaderBackground(Pixel_t pixel)
Set the background color for the headers.
virtual void UpdateRangeFrame()
Update the range shown in the range frame.
TGTextButton * fNextButton
Button to view next chunk.
virtual UInt_t GetNTableColumns() const
Return the amount of columns in the table.
virtual UInt_t GetNTableCells() const
Return the amount of cells in the table.
virtual void UpdateHeaders(EHeaderType type)
Update the labels of the headers of the given type.
virtual const TGTableHeaderFrame * GetCHdrFrame()
virtual void ShrinkColumns(UInt_t ncolumns)
Shrink the columns of the TGTable by ncolumns.
UInt_t fCellHeight
Default cell width.
virtual UInt_t GetCHdrWidth() const
Get the current width of the column header frame.
~TGTable() override
TGTable destructor.
virtual TVirtualTableInterface * GetInterface()
virtual UInt_t GetRHdrHeight() const
Get the current height of the row header frame.
virtual void ExpandRows(UInt_t nrows)
Expand the rows of a TGTable by nrows.
TTableRange * fDataRange
Full range of the data set.
virtual void SetDefaultColors()
Set the background color for all rows and headers to their defaults.
TObjArray * fRowHeaders
Array of row headers.
TGTextButton * fPrevButton
Button to view previous chunk.
virtual void PreviousChunk()
Move the table to the previous chunk of the data set with the same size.
virtual const TTableRange * GetCurrentRange() const
Return the current range of the TGTable.
virtual void NextChunk()
Move the table to the next chunk of the data set with the same size.
TGTextEntry * fFirstCellEntry
TextEntry for the range frame.
TGCanvas * fCanvas
Canvas that will contains the cells.
Bool_t fReadOnly
Table readonly state.
TGTableHeaderFrame * fRHdrFrame
Frame that contains the row headers.
virtual void GotoTableRange(Int_t xtl, Int_t ytl, Int_t xbr, Int_t ybr)
Move and resize the table to the specified range.
Pixel_t fSelectColor
Select Color.
virtual void MoveTable(Int_t rows, Int_t columns)
Move and layout the table to the specified range.
virtual void Show()
Show the contents of the TGTable in stdout.
TGTextButton * fGotoButton
Button to goto a new range.
virtual const TGTableCell * GetCell(UInt_t i, UInt_t j) const
Const version of GetCell().
virtual void ScrollRHeaders(Int_t ypos)
Scroll the row headers vertically.
TGLabel * fRangeLabel
Label for the range frame.
virtual void ResizeTable(UInt_t nrows, UInt_t ncolumns)
Resize the table to newnrows and newncolumns and add all the frames to their parent frames.
virtual void UpdateView()
Update and layout the visible part of the TGTable.
UInt_t fCellWidth
Default cell width.
TGLabel * fFirstCellLabel
Label for the range frame.
TGTextButton * fUpdateButton
Button to update current view.
virtual void ExpandColumns(UInt_t ncolumns)
Expand the columns of a TGTable by ncolumns.
TGTableHeader * fTableHeader
Top left element of the table.
Pixel_t fOddRowBackground
Background color for odd numbered rows.
TGTableHeaderFrame * fCHdrFrame
Frame that contains the row headers.
Pixel_t fHeaderBackground
Background color for headers.
Bool_t fAllData
Is the data bigger than the table.
TGTextEntry * fRangeEntry
TextEntry for the range frame.
Int_t fTMode
Text justify mode.
virtual void Expand(UInt_t nrows, UInt_t ncolumns)
Expand a TGTable by nrows and ncolumns.
virtual TGCanvas * GetCanvas()
Yield an action as soon as it is clicked.
A TGTextEntry is a one line text input widget.
ROOT GUI Window base class.
virtual void Print()
Print the values of a range.
Bool_t operator==(TTableRange &other)
Operator to determine if 2 ranges are equal.
TTableRange()
TTableRange constuctor.
UInt_t fXtl
Top left X coordinate.
UInt_t fYbr
Bottom right Y coordinate.
UInt_t fXbr
Bottom right X coordinate.
UInt_t fYtl
Top left Y coordinate.