ROOT logo
// Author: Roel Aaij 21/07/2007

/*************************************************************************
 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#include "TGTable.h"
#include "TClass.h"
#include "TGWindow.h"
#include "TGResourcePool.h"
#include "Riostream.h"
#include "TSystem.h"
#include "TImage.h"
#include "TEnv.h"
#include "TGToolTip.h"
#include "TGPicture.h"
#include "TRandom3.h"
#include "TGSimpleTableInterface.h"
#include "TGSimpleTable.h"

ClassImp(TGSimpleTable)

//______________________________________________________________________________
/* Begin HTML 
<center><h2>TGSimpleTable</h2></center> 
<br><br> 
To provide a simple class to visualize an array of doubles, the class
TGSimpleTable is provided. TGSimpleTable creates it's own
TGSimpleTableInterface. For more information, see the documentation of
TGTable
<br><br>
The interface is accesible through the GetInterface() method.
End_HtmlEnd_Html
*/

//______________________________________________________________________________
TGSimpleTable::TGSimpleTable(TGWindow *p, Int_t id, Double_t **data, 
                             UInt_t nrows, UInt_t ncolumns) 
   : TGTable(p, id, 0, nrows, ncolumns)
{
   // TGSimpleTable constuctor.

   TGSimpleTableInterface *iface = new TGSimpleTableInterface(data, nrows, 
                                                              ncolumns);
   SetInterface(iface,nrows, ncolumns);
}

//______________________________________________________________________________
TGSimpleTable::~TGSimpleTable()
{
   // TGSimpleTable destructor.

   delete fInterface;
}

 TGSimpleTable.cxx:1
 TGSimpleTable.cxx:2
 TGSimpleTable.cxx:3
 TGSimpleTable.cxx:4
 TGSimpleTable.cxx:5
 TGSimpleTable.cxx:6
 TGSimpleTable.cxx:7
 TGSimpleTable.cxx:8
 TGSimpleTable.cxx:9
 TGSimpleTable.cxx:10
 TGSimpleTable.cxx:11
 TGSimpleTable.cxx:12
 TGSimpleTable.cxx:13
 TGSimpleTable.cxx:14
 TGSimpleTable.cxx:15
 TGSimpleTable.cxx:16
 TGSimpleTable.cxx:17
 TGSimpleTable.cxx:18
 TGSimpleTable.cxx:19
 TGSimpleTable.cxx:20
 TGSimpleTable.cxx:21
 TGSimpleTable.cxx:22
 TGSimpleTable.cxx:23
 TGSimpleTable.cxx:24
 TGSimpleTable.cxx:25
 TGSimpleTable.cxx:26
 TGSimpleTable.cxx:27
 TGSimpleTable.cxx:28
 TGSimpleTable.cxx:29
 TGSimpleTable.cxx:30
 TGSimpleTable.cxx:31
 TGSimpleTable.cxx:32
 TGSimpleTable.cxx:33
 TGSimpleTable.cxx:34
 TGSimpleTable.cxx:35
 TGSimpleTable.cxx:36
 TGSimpleTable.cxx:37
 TGSimpleTable.cxx:38
 TGSimpleTable.cxx:39
 TGSimpleTable.cxx:40
 TGSimpleTable.cxx:41
 TGSimpleTable.cxx:42
 TGSimpleTable.cxx:43
 TGSimpleTable.cxx:44
 TGSimpleTable.cxx:45
 TGSimpleTable.cxx:46
 TGSimpleTable.cxx:47
 TGSimpleTable.cxx:48
 TGSimpleTable.cxx:49
 TGSimpleTable.cxx:50
 TGSimpleTable.cxx:51
 TGSimpleTable.cxx:52
 TGSimpleTable.cxx:53
 TGSimpleTable.cxx:54
 TGSimpleTable.cxx:55
 TGSimpleTable.cxx:56
 TGSimpleTable.cxx:57
 TGSimpleTable.cxx:58
 TGSimpleTable.cxx:59