src/aria/widgets/AriaSkinInterface.js
function (widgetName, skinClass, skipError) {
            var widgetSkinObj = this.getSkinClasses(widgetName);
            if (widgetSkinObj) {
                if (skinClass == null) {
                    skinClass = 'std';
                }
                var skinClassObj = widgetSkinObj[skinClass];
                if (skinClassObj) {
                    return skinClassObj;
                } else if (!skipError) {
                    this.$logWarn(this.WIDGET_SKIN_CLASS_OBJECT_NOT_FOUND, [skinClass, widgetName]);
                    return widgetSkinObj.std;
                }
                return null;
            }
        }
function (widgetName, skinClass, skipError) {
            var widgetSkinObj = this.getSkinClasses(widgetName);
            if (widgetSkinObj) {
                if (skinClass == null) {
                    skinClass = 'std';
                }
                var skinClassObj = widgetSkinObj[skinClass];
                if (skinClassObj) {
                    return skinClassObj;
                } else if (!skipError) {
                    this.$logWarn(this.WIDGET_SKIN_CLASS_OBJECT_NOT_FOUND, [skinClass, widgetName]);
                    return widgetSkinObj.std;
                }
                return null;
            }
        }
function ( widgetName , skinClass , skipError ) { var widgetSkinObj = this . getSkinClasses ( widgetName ) ; if ( widgetSkinObj ) { if ( skinClass == null ) { skinClass = 'std' ; } var skinClassObj = widgetSkinObj [ skinClass ] ; if ( skinClassObj ) { return skinClassObj ; } else if ( ! skipError ) { this . $logWarn ( this . WIDGET_SKIN_CLASS_OBJECT_NOT_FOUND , [ skinClass , widgetName ] ) ; return widgetSkinObj . std ; } return null ; } }
Returns the skin configuration for the given skin class of the given widget. It is normalized if it was not
done before. If the skin class does not exist, returns the std one with a warning on the console, unless
skipError is true.
@param {String} widgetName name of the widget (in fact, the skinnable class, which may not correspond exactly
to widgets)
@param {String} skinClass
@param {Boolean} skipError
@return {Object}
Returns the skin configuration for the given skin class of the given widget . It is normalized if it was not done before . If the skin class does not exist returns the std one with a warning on the console unless skipError is true .