/* * Copyright (c) 2001-2007, TIBCO Software Inc. * Use, modification, and distribution subject to terms of license. */ jsx3.require("jsx3.gui.Block");jsx3.Class.defineClass("jsx3.gui.Matrix.Column",jsx3.gui.Block,null,function(o,c){var Ac=jsx3.util.Logger.getLogger(o.jsxclass.getName());var Lc=jsx3.gui.Event;o.DEFAULT_WIDTH=100;o.TYPE_TEXT="text";o.TYPE_NUMBER="number";o.DEFAULT_VALIGN="top";o.TEMPLATES={};o.TEMPLATES["default"]="\n \n \n \n \n \n";o.TEMPLATES["empty"]="";o.TEMPLATES["unescape"]="\n \n \n \n \n \n";o.TEMPLATES["image"]="\n \n \n \n \n \n \n";c.init=function(b){this.jsxsuper(b);};c.getValueTemplate=function(l){if(this.jsxvaluetemplate!=null){if(this.jsxvaluetemplate.charAt(0)=="@"){var x=o.TEMPLATES[this.jsxvaluetemplate.substring(1)];if(x){return x;}else{Ac.error("The following value template type is not supported: "+this.jsxvaluetemplate);}}else{if(this.jsxvaluetemplate.trim().indexOf("