define(['strut/deck/Component'],
	function(Component) {
		'use strict';

		/**
		 * @class TextBox
		 * @augments Component
		 */
		return Component.extend({
			initialize: function() {
				Component.prototype.initialize.apply(this, arguments);
				this.set('type', 'TextBox');
				if (!this.get('text')) {
					this.set('text', 'Text');
					this.set('size', 72);
				}
			},

			constructor: function TextBox() {
				Component.prototype.constructor.apply(this, arguments);
			}
		});
	});