function _updateLayout() {

		this._bChangedByMe = true;
		this._changedFormContainers = [];

		var sLayout = this.getLayout();
		var oLayout = this.getAggregation("form").getLayout();

		oLayout.setBackgroundDesign(this.getBackgroundDesign());

		switch (sLayout) {
		case SimpleFormLayout.ResponsiveLayout:
			// set the default values for linebreakes to avoid flickering for default case
			this._applyLinebreaks();

			for ( var i = 0; i < this._changedFormElements.length; i++) {
				var oFormElement = this._changedFormElements[i];
				_applyFieldWeight.call(this, oFormElement);
			}
			break;
		case SimpleFormLayout.GridLayout:
			_applyContainerSize.call(this);
			break;
		case SimpleFormLayout.ResponsiveGridLayout:
			oLayout.setLabelSpanXL(this.getLabelSpanXL());
			oLayout.setLabelSpanL(this.getLabelSpanL());
			oLayout.setLabelSpanM(this.getLabelSpanM());
			oLayout.setLabelSpanS(this.getLabelSpanS());
			oLayout.setAdjustLabelSpan(this.getAdjustLabelSpan());
			oLayout.setEmptySpanXL(this.getEmptySpanXL());
			oLayout.setEmptySpanL(this.getEmptySpanL());
			oLayout.setEmptySpanM(this.getEmptySpanM());
			oLayout.setEmptySpanS(this.getEmptySpanS());
			oLayout.setColumnsXL(this.getColumnsXL());
			oLayout.setColumnsL(this.getColumnsL());
			oLayout.setColumnsM(this.getColumnsM());
			oLayout.setSingleContainerFullSize(this.getSingleContainerFullSize());
			oLayout.setBreakpointXL(this.getBreakpointXL());
			oLayout.setBreakpointL(this.getBreakpointL());
			oLayout.setBreakpointM(this.getBreakpointM());
			break;
		case SimpleFormLayout.ColumnLayout:
			oLayout.setColumnsXL(this.getColumnsXL() > 0 ? this.getColumnsXL() : this.getColumnsL());
			oLayout.setColumnsL(this.getColumnsL());
			oLayout.setColumnsM(this.getColumnsM());
			oLayout.setLabelCellsLarge(this.getLabelSpanL());
			oLayout.setEmptyCellsLarge(this.getEmptySpanL());
			break;
			// no default
		}

		this._changedFormElements = [];
		this._bChangedByMe = false;

	}
/*
	 * Updates the Layout and corresponding layoutData of the SimpleForm.
	 */
Updates the Layout and corresponding layoutData of the SimpleForm.
Updates the Layout and corresponding layoutData of the SimpleForm .
function _updateLayout() {
		this._bChangedByMe = true;
		this._changedFormContainers = [];
		var sLayout = this.getLayout();
		var oLayout = this.getAggregation("form").getLayout();
		oLayout.setBackgroundDesign(this.getBackgroundDesign());
		switch (sLayout) {
		case SimpleFormLayout.ResponsiveLayout:
			this._applyLinebreaks();
			for ( var i = 0; i < this._changedFormElements.length; i++) {
				var oFormElement = this._changedFormElements[i];
				_applyFieldWeight.call(this, oFormElement);
			}
			break;
		case SimpleFormLayout.GridLayout:
			_applyContainerSize.call(this);
			break;
		case SimpleFormLayout.ResponsiveGridLayout:
			oLayout.setLabelSpanXL(this.getLabelSpanXL());
			oLayout.setLabelSpanL(this.getLabelSpanL());
			oLayout.setLabelSpanM(this.getLabelSpanM());
			oLayout.setLabelSpanS(this.getLabelSpanS());
			oLayout.setAdjustLabelSpan(this.getAdjustLabelSpan());
			oLayout.setEmptySpanXL(this.getEmptySpanXL());
			oLayout.setEmptySpanL(this.getEmptySpanL());
			oLayout.setEmptySpanM(this.getEmptySpanM());
			oLayout.setEmptySpanS(this.getEmptySpanS());
			oLayout.setColumnsXL(this.getColumnsXL());
			oLayout.setColumnsL(this.getColumnsL());
			oLayout.setColumnsM(this.getColumnsM());
			oLayout.setSingleContainerFullSize(this.getSingleContainerFullSize());
			oLayout.setBreakpointXL(this.getBreakpointXL());
			oLayout.setBreakpointL(this.getBreakpointL());
			oLayout.setBreakpointM(this.getBreakpointM());
			break;
		case SimpleFormLayout.ColumnLayout:
			oLayout.setColumnsXL(this.getColumnsXL() > 0 ? this.getColumnsXL() : this.getColumnsL());
			oLayout.setColumnsL(this.getColumnsL());
			oLayout.setColumnsM(this.getColumnsM());
			oLayout.setLabelCellsLarge(this.getLabelSpanL());
			oLayout.setEmptyCellsLarge(this.getEmptySpanL());
			break;
		}
		this._changedFormElements = [];
		this._bChangedByMe = false;
	}
function _updateLayout ( ) { this . _bChangedByMe = true ; this . _changedFormContainers = [ ] ; var sLayout = this . getLayout ( ) ; var oLayout = this . getAggregation ( "form" ) . getLayout ( ) ; oLayout . setBackgroundDesign ( this . getBackgroundDesign ( ) ) ; switch ( sLayout ) { case SimpleFormLayout . ResponsiveLayout : this . _applyLinebreaks ( ) ; for ( var i = 0 ; i < this . _changedFormElements . length ; i ++ ) { var oFormElement = this . _changedFormElements [ i ] ; _applyFieldWeight . call ( this , oFormElement ) ; } break ; case SimpleFormLayout . GridLayout : _applyContainerSize . call ( this ) ; break ; case SimpleFormLayout . ResponsiveGridLayout : oLayout . setLabelSpanXL ( this . getLabelSpanXL ( ) ) ; oLayout . setLabelSpanL ( this . getLabelSpanL ( ) ) ; oLayout . setLabelSpanM ( this . getLabelSpanM ( ) ) ; oLayout . setLabelSpanS ( this . getLabelSpanS ( ) ) ; oLayout . setAdjustLabelSpan ( this . getAdjustLabelSpan ( ) ) ; oLayout . setEmptySpanXL ( this . getEmptySpanXL ( ) ) ; oLayout . setEmptySpanL ( this . getEmptySpanL ( ) ) ; oLayout . setEmptySpanM ( this . getEmptySpanM ( ) ) ; oLayout . setEmptySpanS ( this . getEmptySpanS ( ) ) ; oLayout . setColumnsXL ( this . getColumnsXL ( ) ) ; oLayout . setColumnsL ( this . getColumnsL ( ) ) ; oLayout . setColumnsM ( this . getColumnsM ( ) ) ; oLayout . setSingleContainerFullSize ( this . getSingleContainerFullSize ( ) ) ; oLayout . setBreakpointXL ( this . getBreakpointXL ( ) ) ; oLayout . setBreakpointL ( this . getBreakpointL ( ) ) ; oLayout . setBreakpointM ( this . getBreakpointM ( ) ) ; break ; case SimpleFormLayout . ColumnLayout : oLayout . setColumnsXL ( this . getColumnsXL ( ) > 0 ? this . getColumnsXL ( ) : this . getColumnsL ( ) ) ; oLayout . setColumnsL ( this . getColumnsL ( ) ) ; oLayout . setColumnsM ( this . getColumnsM ( ) ) ; oLayout . setLabelCellsLarge ( this . getLabelSpanL ( ) ) ; oLayout . setEmptyCellsLarge ( this . getEmptySpanL ( ) ) ; break ; } this . _changedFormElements = [ ] ; this . _bChangedByMe = false ; }
Updates the Layout and corresponding layoutData of the SimpleForm.
Updates the Layout and corresponding layoutData of the SimpleForm .
// set the default values for linebreakes to avoid flickering for default case // no default