/**
* Creates an es.TableView object.
*
* @class
* @constructor
* @extends {es.DocumentViewBranchNode}
* @param {es.TableModel} model Table model to view
*/
es.TableView = function( model ) {
// Inheritance
es.DocumentViewBranchNode.call( this, model, $( '
' ) );
// DOM Changes
this.$
.attr( 'style', model.getElementAttribute( 'html/style' ) )
.addClass( 'es-tableView' );
};
/* Registration */
es.DocumentModel.nodeRules.table = {
'self': false,
'children': false
};
/* Inheritance */
es.extendClass( es.TableView, es.DocumentViewBranchNode );