/******************************************************************************
 JXTextEditorSet.h

	Interface for the JXTextEditorSet class

	Copyright © 1996 by John Lindal. All rights reserved.

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

#ifndef _H_JXTextEditorSet
#define _H_JXTextEditorSet

#include <JXWidgetSet.h>
#include <JXMenu.h>		// need definition of JXMenu::Style

class JXMenuBar;
class JXTextEditor;

class JXTextEditorSet : public JXWidgetSet
{
public:

	JXTextEditorSet(const JXMenu::Style menuStyle, JXTextEditor** textEditor,
					JXContainer* enclosure,
					const HSizingOption hSizing, const VSizingOption vSizing,
					const JCoordinate x, const JCoordinate y,
					const JCoordinate w, const JCoordinate h);

	JXTextEditorSet(JXMenuBar* menuBar, const JXMenu::Style menuStyle,
					JXTextEditor** textEditor, JXContainer* enclosure,
					const HSizingOption hSizing, const VSizingOption vSizing,
					const JCoordinate x, const JCoordinate y,
					const JCoordinate w, const JCoordinate h);

	virtual ~JXTextEditorSet();

private:

	// not allowed

	JXTextEditorSet(const JXTextEditorSet& source);
	const JXTextEditorSet& operator=(const JXTextEditorSet& source);
};

#endif
