code: protected void setProperty(String propertyName, JavascriptEnum propertyValue) {
          jsObject.setMember(propertyName, propertyValue.getEnumValue());
      }
docs: Sets a property on this Javascript object for which the value is a
  JavascriptEnum
  
  The value is set to what is returned by the getEnumValue() method on the JavascriptEnum
  
  @param propertyName The name of the property.
  @param propertyValue The value of the property.