code: function (widgetName) {
              var bean = ariaCoreJsonValidator.getBean("aria.widgets.AriaSkinBeans." + widgetName + "Cfg");
              if (bean && bean.$properties.states) {
                  return bean.$properties.states.$properties;
              }
              return null;
          }
docs: Returns the $properties object from the beans definition, whose keys are the valid states for the given
  widget. Return null if the given name is not a widget or does not have any state.
  @param {String} widgetName name of the widget (in fact, the skinnable class, which may not correspond exactly
  to widgets)
  @return {Object}