/**
 * ExtJS Wizard Component
 * Copyright (C) 2008 Hans-Peter Oeri <hp@oeri.ch>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * ----------------------------------------------------------------------
 *
 * @author Hans-Peter Oeri <hp@oeri.ch>
 * @url https://saintcyr.oeri.ch/trac/ext-ux/
 *
 * Prior work by
 * @author Thorsten Suckow-Homberg <ts@siteartwork.de>
 * @url http://www.siteartwork.de/wizardcomponent
 */

/**
 * @class Ext.ux.WizardPanel.Card
 * @extends Ext.FormPanel
 *
 * A {@link Ext.FormPanel} with default values for use as wizard cards.
 *
 * @constructor
 * @param {Object} config The config object
 */
Ext.ux.WizardPanel.Card = Ext.extend( Ext.FormPanel, {

	/**
	 * @cfg {Boolean} header Do not include a panel header for the card
	 */
	header : false,

	/**
	 * @cfg {String} hideMode Hidemode of this component.
	 */
	hideMode : 'display',

	/**
	 * @cfg {Boolean} border No border within wizard
	 */
	border: false,

	/**
	 * @cfg {Boolean} monitorValid Do not monitor forms by default - will
	 * be enabled when the card is shown by the wizard.
	 */
	monitorValid: false
} );

Ext.reg( 'ux.WizardPanel.Card', Ext.ux.WizardPanel.Card );



