/** * @since 5.5 */ public LayoutImpl(String name, String mode, String template, List<LayoutRow> rows, int columns, Map<String, Serializable> properties, String definitionId) { this.name = name; this.mode = mode; this.template = template; this.rows = rows.toArray(new LayoutRow[0]); this.columns = columns; this.properties = properties; this.widgetMap = new HashMap<>(); computeWidgetMap(); this.definitionId = definitionId; }