Sha256: f03f2629f4b10117d7972c731d687cd8de3ddc2a6edd78ffaa4f1b3989e123ca

Contents?: true

Size: 1.56 KB

Versions: 4

Compression:

Stored size: 1.56 KB

Contents

/*!
 * UI development toolkit for HTML5 (OpenUI5)
 * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company.
 * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
 */
sap.ui.define(['jquery.sap.global','./MatrixLayoutCell','./MatrixLayoutRow','sap/ui/commons/library','sap/ui/core/Control','sap/ui/core/EnabledPropagator',"./MatrixLayoutRenderer"],function(q,M,a,l,C,E,b){"use strict";var c=C.extend("sap.ui.commons.layout.MatrixLayout",{metadata:{library:"sap.ui.commons",properties:{width:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},height:{type:"sap.ui.core.CSSSize",group:"Dimension",defaultValue:null},layoutFixed:{type:"boolean",group:"Appearance",defaultValue:true},columns:{type:"int",group:"Appearance",defaultValue:null},widths:{type:"sap.ui.core.CSSSize[]",group:"Appearance",defaultValue:null}},defaultAggregation:"rows",aggregations:{rows:{type:"sap.ui.commons.layout.MatrixLayoutRow",multiple:true,singularName:"row"}}}});E.call(c.prototype,true,true);c.prototype.createRow=function(){var r=new a();this.addRow(r);for(var i=0;i<arguments.length;i++){var o=arguments[i];var d;if(o instanceof M){d=o;}else if(o instanceof C){d=new M({content:o});}else if(o instanceof Object&&o.height){r.setHeight(o.height);}else{var t=o?o.toString():"";d=new M({content:new sap.ui.commons.TextView({text:t})});}r.addCell(d);}return this;};c.prototype.setWidths=function(w){var s;if(!q.isArray(w)){s=q.makeArray(arguments);}else{s=w;}for(var i=0;i<s.length;i++){if(s[i]==""||!s[i]){s[i]="auto";}}this.setProperty("widths",s);return this;};return c;},true);

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fiveapples-0.0.7 lib/openui5-runtime-1.60.23/resources/sap/ui/commons/layout/MatrixLayout.js
fiveapples-0.0.6 lib/openui5-runtime-1.60.23/resources/sap/ui/commons/layout/MatrixLayout.js
fiveapples-0.0.5 lib/openui5-runtime-1.60.23/resources/sap/ui/commons/layout/MatrixLayout.js
jekyll-openui5-0.1.0 assets/sap/ui/commons/layout/MatrixLayout.js