function processButton(oButton, oParent){
			oButton.attachPress(function (oEvent) {
				oParent._buttonPressed(oEvent);
			});

			oButton.attachEvent("_change", oParent._syncSelect, oParent);
			oButton.attachEvent("_change", oParent._fireChangeEvent, oParent);

			var fnOriginalSetEnabled = Button.prototype.setEnabled;
			oButton.setEnabled = function (bEnabled) {
				oButton.$().toggleClass("sapMSegBBtnDis", !bEnabled)
					.toggleClass("sapMFocusable", bEnabled);

				fnOriginalSetEnabled.apply(oButton, arguments);
			};

			oButton.setVisible = function (bVisible) {
				Button.prototype.setVisible.apply(this, arguments);
				oParent.invalidate();
			};
		}
Adds a Button with a text as title, a URI for an icon, enabled and textDirection.
Only one is allowed.

@param {string} sText
        Defines the title text of the newly created Button
@param {sap.ui.core.URI} [sURI]
        Icon to be displayed as graphical element within the Button.
        Density related image will be loaded if image with density awareness name in format [imageName]@[densityValue].[extension] is provided.
@param {boolean} [bEnabled=true]
        Enables the control. Buttons that are disabled have other colors than enabled ones, depending on custom settings.
@param {sap.ui.core.TextDirection} [sTextDirection]
        Element's text directionality with enumerated options
        @since 1.28.0
@return {sap.m.Button} The created Button
@public