Go to the documentation of this file.
37 const TGGC* iHighlightContext,
39 : m_collection(iItem),
40 m_renderer(iContext, iHighlightContext),
47 std::vector<std::pair<std::string, std::string> > s_names;
80 std::multimap<double, int, S>& iMap,
81 std::vector<int>& oNewSort) {
86 std::vector<int>::iterator itVec = oNewSort.begin();
87 for (
typename std::map<double, int, S>::iterator it = iMap.begin(), itEnd = iMap.end(); it != itEnd;
96 std::multimap<double, int, std::greater<double> >
s;
99 std::multimap<double, int, std::less<double> >
s;
117 dp.setIsVisible(!
dp.isVisible());
FWEventItem * m_collection
std::vector< std::string > getTitles() const override
returns the title names for each column
ModelInfo modelInfo(int iIndex) const
int numberOfColumns() const override
Number of columns in the table.
FWTextTableCellRenderer m_bodyRenderer
const FWItemValueGetter & valueGetter() const
one value from the model which is normally used for the popup
void implSort(int iCol, bool iSortOrder) override
Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'.
FWCollectionSummaryWidget * m_widget
const void * modelData(int iIndex) const
FWTableCellRendererBase * cellRenderer(int iSortedRowNumber, int iCol) const override
const TClass * modelType() const
void setData(const FWEventItem *iItem, int iIndex)
FWTableCellRendererBase * rowHeader(int iSortedRowNumber) const override
Returns the renderer for the row header for the sorted row number iSortedRowNumber.
std::vector< int > m_sortedToUnsortedIndicies
FWCollectionSummaryModelCellRenderer m_renderer
void dataChanged()
Classes which inherit from FWTableManagerBase must call this when their underlying data changes.
FWItemChangeSignal itemChanged_
std::vector< std::string > getTitles() const
ClickHit clickHit(int iX, int iY) const
UInt_t precision(int idx) const
void setDisplayProperties(int iIndex, const FWDisplayProperties &) const
const FWDisplayProperties & displayProperties() const
void setData(const std::string &, bool isSelected)
int unsortedRowNumber(int iSortedRowNumber) const override
when passed the index to the sorted order of the rows it returns the original row number from the und...
bool hasRowHeaders() const override
Returns 'true' if this table has row headers. Defaults return value is false.
void buttonReleasedInRowHeader(Int_t row, Event_t *event, Int_t relX, Int_t relY) override
double valueFor(const void *, int idx) const
FWCollectionSummaryTableManager(FWEventItem *iCollection, const TGGC *iContext, const TGGC *iHighlightContext, FWCollectionSummaryWidget *)
~FWCollectionSummaryTableManager() override
FWModelChangeSignal changed_
int numberOfRows() const override
Number of rows in the table.