/*! * 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. */ // Provides control sap.ui.commons.form.FormElement. sap.ui.define(['jquery.sap.global', 'sap/ui/commons/library', 'sap/ui/layout/form/FormElement'], function(jQuery, library, FormElement1) { "use strict"; /** * Constructor for a new form/FormElement. * * @param {string} [sId] id for the new control, generated automatically if no id is given * @param {object} [mSettings] initial settings for the new control * * @class * A form element is a combination of one label and different controls associated to this label. * @extends sap.ui.layout.form.FormElement * * @author SAP SE * @version 1.60.23 * * @constructor * @public * @since 1.9.1 * @deprecated Since version 1.16.0. * moved to sap.ui.layout library. Please use this one. * @alias sap.ui.commons.form.FormElement * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel */ var FormElement = FormElement1.extend("sap.ui.commons.form.FormElement", /** @lends sap.ui.commons.form.FormElement.prototype */ { metadata : { deprecated : true, library : "sap.ui.commons" }}); /** * This file defines behavior for the control, */ /* Overwrite to have right "since" in there */ /** * Getter for property visible. * Invisible FormElements are not rendered. * * Default value is true * * @return {boolean} the value of property visible * @public * @since 1.12.0 * @name sap.ui.commons.form.FormElement#getVisible * @function */ /** * Setter for property visible. * * Default value is true * * @param {boolean} bVisible new value for property visible * @return {sap.ui.commons.form.FormElement} this to allow method chaining * @public * @since 1.12.0 * @name sap.ui.commons.form.FormElement#setVisible * @function */ return FormElement; }, /* bExport= */ true);