/******************************************************************************
 GMessageColHeader.h

	Interface for the GMessageColHeader class

	Copyright © 1996 by John Lindal. All rights reserved.

 ******************************************************************************/

#ifndef _H_GMessageColHeader
#define _H_GMessageColHeader

#include <JXColHeaderWidget.h>

class JString;
class JXScrollbar;

class GMessageColHeader : public JXColHeaderWidget
{
public:

	static GMessageColHeader* Create(JXTable* table, JXScrollbarSet* scrollbarSet,
					  JXContainer* enclosure,
					  const HSizingOption hSizing, const VSizingOption vSizing,
					  const JCoordinate x, const JCoordinate y,
					  const JCoordinate w, const JCoordinate h);

	virtual ~GMessageColHeader();

protected:

	GMessageColHeader(JXTable* table, JXScrollbarSet* scrollbarSet,
					  JXContainer* enclosure,
					  const HSizingOption hSizing, const VSizingOption vSizing,
					  const JCoordinate x, const JCoordinate y,
					  const JCoordinate w, const JCoordinate h);


	virtual void	TableDrawCell(JPainter& p, const JPoint& cell, const JRect& rect);

private:

	// not allowed

	GMessageColHeader(const GMessageColHeader& source);
	const GMessageColHeader& operator=(const GMessageColHeader& source);
};
#endif
