1 /** 2 * @fileoverview Abstract class which represents a 3 * control of the model-view-controller. 4 */ 5 6 goog.provide('xrx.control'); 7 8 9 goog.require('xrx.component'); 10 11 12 13 /** 14 * @constructor 15 */ 16 xrx.control = function(element) { 17 18 19 20 goog.base(this, element); 21 }; 22 goog.inherits(xrx.control, xrx.component); 23 24 25 26 /** 27 * Gets the bind referenced by the component. 28 * @return {?xrx.bind} The bind. 29 */ 30 xrx.control.prototype.getNode = function() { 31 return this.getBind().node; 32 }; 33