text: /*!
   * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5)
   * (c) Copyright 2009-2014 SAP AG or an SAP affiliate company. 
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  jQuery.sap.declare("sap.ui.commons.ToggleButtonRenderer");jQuery.sap.require("sap.ui.commons.ButtonRenderer");jQuery.sap.require("sap.ui.core.Renderer");sap.ui.commons.ToggleButtonRenderer=sap.ui.core.Renderer.extend(sap.ui.commons.ButtonRenderer);
  sap.ui.commons.ToggleButtonRenderer.renderButtonAttributes=function(r,t){r.addClass("sapUiToggleBtn");if(t.getPressed()){r.addClass("sapUiToggleBtnPressed");r.writeAttribute('aria-pressed',true)}else{r.writeAttribute('aria-pressed',false)}};
  sap.ui.commons.ToggleButtonRenderer.onactivePressed=function(t){t.$().addClass("sapUiToggleBtnPressed").attr('aria-pressed',true)};
  sap.ui.commons.ToggleButtonRenderer.ondeactivePressed=function(t){t.$().removeClass("sapUiToggleBtnPressed").attr('aria-pressed',false)};
  sap.ui.commons.ToggleButtonRenderer.updateImage=function(t){t.$("img").attr('src',this._getIconForState(t,"base"))};
  sap.ui.commons.ToggleButtonRenderer._getIconForState=function(b,s){switch(s){case"mouseout":case"focus":case"blur":case"base":return b.getPressed()&&b.getIconSelected()?b.getIconSelected():b.getIcon();case"active":var i=b.getIconSelected();return i?i:b.getIcon();case"mouseover":case"deactive":var i=b.getIconHovered();return i?i:(b.getPressed()&&b.getIconSelected()?b.getIconSelected():b.getIcon())}return b.getIcon()};
  