TableHeaderListener Class Reference

Receives events from a TableHeaderComponent when columns are resized, moved, etc. More...

Inherited by TableListBox [private].

List of all members.

Public Member Functions

 TableHeaderListener ()
virtual ~TableHeaderListener ()
 Destructor.
virtual void tableColumnsChanged (TableHeaderComponent *tableHeader)=0
 This is called when some of the table's columns are added, removed, hidden, or rearranged.
virtual void tableColumnsResized (TableHeaderComponent *tableHeader)=0
 This is called when one or more of the table's columns are resized.
virtual void tableSortOrderChanged (TableHeaderComponent *tableHeader)=0
 This is called when the column by which the table should be sorted is changed.
virtual void tableColumnDraggingChanged (TableHeaderComponent *tableHeader, int columnIdNowBeingDragged)
 This is called when the user begins or ends dragging one of the columns around.

Detailed Description

Receives events from a TableHeaderComponent when columns are resized, moved, etc.

You can register one of these objects for table events using TableHeaderComponent::addListener() and TableHeaderComponent::removeListener().

See also:
TableHeaderComponent

Constructor & Destructor Documentation

TableHeaderListener::TableHeaderListener (  ) 
virtual TableHeaderListener::~TableHeaderListener (  )  [virtual]

Destructor.


Member Function Documentation

virtual void TableHeaderListener::tableColumnsChanged ( TableHeaderComponent tableHeader  )  [pure virtual]

This is called when some of the table's columns are added, removed, hidden, or rearranged.

Implemented in TableListBox.

virtual void TableHeaderListener::tableColumnsResized ( TableHeaderComponent tableHeader  )  [pure virtual]

This is called when one or more of the table's columns are resized.

Implemented in TableListBox.

virtual void TableHeaderListener::tableSortOrderChanged ( TableHeaderComponent tableHeader  )  [pure virtual]

This is called when the column by which the table should be sorted is changed.

Implemented in TableListBox.

virtual void TableHeaderListener::tableColumnDraggingChanged ( TableHeaderComponent tableHeader,
int  columnIdNowBeingDragged 
) [virtual]

This is called when the user begins or ends dragging one of the columns around.

When the user starts dragging a column, this is called with the ID of that column. When they finish dragging, it is called again with 0 as the ID.

Reimplemented in TableListBox.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Apr 26 11:42:18 2010 for JUCE by  doxygen 1.6.3