com.smartgwt.client.util

## Class JSOHelper

- java.lang.Object
- - com.smartgwt.client.util.JSOHelper

-     public class JSOHelper
      extends java.lang.Object

  Internal helper class.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `addProperties(com.google.gwt.core.client.JavaScriptObject destination, com.google.gwt.core.client.JavaScriptObject propertiesObject)` Adds all properties and methods from the propertiesObject to the destination object.
    `static void` | `apply(com.google.gwt.core.client.JavaScriptObject config, com.google.gwt.core.client.JavaScriptObject jsObj)`
    `static com.google.gwt.core.client.JavaScriptObject` | `arrayConvert(com.google.gwt.core.client.JavaScriptObject[] array)`
    `static com.google.gwt.core.client.JavaScriptObject` | `arrayConvert(java.lang.Object[] array)`
    `static java.lang.Object` | `arrayGetObject(com.google.gwt.core.client.JavaScriptObject array, int index)`
    `static int` | `arrayLength(com.google.gwt.core.client.JavaScriptObject array)`
    `static void` | `arraySet(com.google.gwt.core.client.JavaScriptObject array, int index, com.google.gwt.core.client.JavaScriptObject value)`
    `static void` | `arraySet(com.google.gwt.core.client.JavaScriptObject array, int index, java.lang.Object value)`
    `static com.google.gwt.core.client.JavaScriptObject` | `cleanProperties(com.google.gwt.core.client.JavaScriptObject properties, boolean copyProperties)` Removes non-transferable properties from the supplied object (e.g.
    `static com.google.gwt.core.client.JavaScriptObject` | `convertMapToJavascriptObject(java.util.Map valueMap)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertMapToJavascriptObject(java.util.Map valueMap, boolean strict)`
    `static java.lang.Object[]` | `convertToArray(com.google.gwt.core.client.JavaScriptObject object)` Convert a Javascript object to an Object[].
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToCellArray(int[][] cells)`
    `static java.lang.Object` | `convertToJava(com.google.gwt.core.client.JavaScriptObject object)`
    `static java.lang.Object` | `convertToJava(com.google.gwt.core.client.JavaScriptObject object, boolean listAsArray)` Convert a JavaScriptObject to the appropriate type of JavaObject.
    `static java.util.Date` | `convertToJavaDate(com.google.gwt.core.client.JavaScriptObject val)`
    `static java.util.Date[]` | `convertToJavaDateArray(com.google.gwt.core.client.JavaScriptObject array)`
    `static java.lang.Float[]` | `convertToJavaFloatArray(com.google.gwt.core.client.JavaScriptObject array)`
    `static int[]` | `convertToJavaIntArray(com.google.gwt.core.client.JavaScriptObject array)`
    `static java.lang.Integer[]` | `convertToJavaInterArray(com.google.gwt.core.client.JavaScriptObject array)`
    `static java.lang.Object[]` | `convertToJavaObjectArray(com.google.gwt.core.client.JavaScriptObject array)`
    `static RefDataClass[]` | `convertToJavaRefDataClassArray(com.google.gwt.core.client.JavaScriptObject nativeArray)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToJavaScriptArray(boolean[] array)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToJavaScriptArray(byte[] array)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToJavaScriptArray(char[] array)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToJavaScriptArray(double[] array)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToJavaScriptArray(float[] array)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToJavaScriptArray(int[] array)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToJavaScriptArray(long[] array)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToJavaScriptArray(java.lang.Object[] array)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToJavaScriptArray(java.lang.Object[] array, boolean strict)`
    `static com.google.gwt.core.client.JavaScriptObject` | `convertToJavaScriptArray(short[] array)`
    `static com.google.gwt.core.client.JsDate` | `convertToJavaScriptDate(java.util.Date date)`
    `static java.lang.String[]` | `convertToJavaStringArray(com.google.gwt.core.client.JavaScriptObject array)`
    `static <O extends com.google.gwt.core.client.JavaScriptObject> com.google.gwt.core.client.JsArray<O>` | `convertToJsArray(O[] array)`
    `static java.util.List` | `convertToList(com.google.gwt.core.client.JavaScriptObject object)` Convert a Javascript object to a List.
    `static java.util.Map` | `convertToMap(com.google.gwt.core.client.JavaScriptObject jsObj)` Convert a Javascript object containing key:value pairs to a Map.
    `static java.util.Map` | `convertToMap(com.google.gwt.core.client.JavaScriptObject jsObj, boolean listAsArray)` Convert a Javascript object containing key:value pairs to a Map.
    `static java.lang.String` | `convertToString(java.lang.Object obj)`
    `static com.google.gwt.core.client.JavaScriptObject` | `createJavaScriptArray()`
    `static com.google.gwt.core.client.JavaScriptObject` | `createObject()`
    `static void` | `deleteAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static void` | `deleteAttributeIfExists(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static double` | `doubleValue(java.lang.Number num)`
    `static com.google.gwt.core.client.JavaScriptObject` | `eval(java.lang.String jsFrag)` Evaluate the passed string as Javascript
    `static int` | `getArrayLength(com.google.gwt.core.client.JavaScriptObject array)`
    `static java.lang.String` | `getArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index)`
    `static java.lang.String` | `getAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static boolean` | `getAttributeAsBoolean(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static java.util.Date` | `getAttributeAsDate(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static java.lang.Double` | `getAttributeAsDouble(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static double[]` | `getAttributeAsDoubleArray(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static com.google.gwt.user.client.Element` | `getAttributeAsElement(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static java.lang.Float` | `getAttributeAsFloat(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static java.lang.Integer` | `getAttributeAsInt(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static int[]` | `getAttributeAsIntArray(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static com.google.gwt.core.client.JavaScriptObject` | `getAttributeAsJavaScriptObject(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static com.google.gwt.core.client.JavaScriptObject[]` | `getAttributeAsJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static java.util.Map` | `getAttributeAsMap(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static java.lang.Object` | `getAttributeAsObject(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static java.lang.String[]` | `getAttributeAsStringArray(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static int[][]` | `getCellArray(com.google.gwt.core.client.JavaScriptObject jsCells)`
    `static java.lang.String` | `getClassName(com.google.gwt.core.client.JavaScriptObject javaScriptObject)` Returns the javascript class name.
    `static java.util.Date` | `getDateArrayValue(com.google.gwt.core.client.JavaScriptObject array, int i)`
    `static double` | `getDoubleValueFromJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem, int i)`
    `static com.google.gwt.user.client.Element` | `getElementValueFromJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem, int i)` This is used to access Element array as JavaScriptObject
    `static float` | `getfloatArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index)`
    `static java.lang.Float` | `getFloatArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index)`
    `static int` | `getIntArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index)`
    `static java.lang.Integer` | `getIntegerArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index)`
    `static int` | `getIntValueFromJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem, int i)`
    `static int` | `getJavaScriptObjectArraySize(com.google.gwt.core.client.JavaScriptObject elem)`
    `static com.google.gwt.core.client.JsDate` | `getJSLogicalDate(java.util.Date date)`
    `static com.google.gwt.core.client.JsDate` | `getJSLogicalDate(int year, int month, int date)`
    `static com.google.gwt.core.client.JsDate` | `getJSLogicalTime(java.util.Date date)`
    `static com.google.gwt.core.client.JsDate` | `getJSLogicalTime(int hour, int minute, int second, int millisecond)`
    `static com.google.gwt.core.client.JavaScriptObject` | `getJSOArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index)`
    `static java.lang.Object` | `getObjectArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index)`
    `static java.lang.String[]` | `getProperties(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `static java.lang.String` | `getPropertiesAsString(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `static java.lang.String` | `getStringValueFromJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem, int i)`
    `static com.google.gwt.core.client.JavaScriptObject` | `getValueFromJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem, int i)`
    `static boolean` | `isArray(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `static boolean` | `isJavaBoolean(java.lang.Object obj)`
    `static boolean` | `isJavaDate(java.lang.Object obj)`
    `static boolean` | `isJavaDouble(java.lang.Object obj)`
    `static boolean` | `isJavaFloat(java.lang.Object obj)`
    `static boolean` | `isJavaInteger(java.lang.Object obj)`
    `static boolean` | `isJavaList(java.lang.Object obj)`
    `static boolean` | `isJavaMap(java.lang.Object obj)`
    `static boolean` | `isJavaNumber(java.lang.Object obj)`
    `static boolean` | `isJavaString(java.lang.Object obj)`
    `static boolean` | `isJSO(java.lang.Object object)`
    `static boolean` | `isScClassInstance(com.google.gwt.core.client.JavaScriptObject javaScriptObject)` Returns whether the supplied JavaScriptObject is a SmartClient class instance.
    `static boolean` | `isScClassObject(com.google.gwt.core.client.JavaScriptObject javaScriptObject)` Returns whether the supplied JavaScriptObject is a SmartClient class (a Class object itself, rather than an instance of a class).
    `static com.google.gwt.core.client.JavaScriptObject[]` | `listToArray(java.util.List list)`
    `static void` | `setArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index, boolean value)`
    `static void` | `setArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index, char value)`
    `static void` | `setArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index, java.util.Date value)`
    `static void` | `setArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index, double value)`
    `static void` | `setArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index, com.google.gwt.core.client.JavaScriptObject value)`
    `static void` | `setArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index, long value)`
    `static void` | `setArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index, java.lang.Object value)`
    `static void` | `setArrayValue(com.google.gwt.core.client.JavaScriptObject array, int index, java.lang.String value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, boolean value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.Boolean value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.Boolean[] values)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.util.Date value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.util.Date[] values)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, double value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, double[] values)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.Double[] values)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, float[] values)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.Float[] values)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, Function handler)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, int value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, int[] values)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.Integer[] values)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, com.google.gwt.core.client.JavaScriptObject value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, com.google.gwt.core.client.JavaScriptObject[] value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.Long value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.Long[] values)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject jsObj, java.lang.String attr, java.util.Map valueMap)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.Number value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.Object value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.String value)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.String[] values)`
    `static void` | `setAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, ValueEnum[] values)`
    `static void` | `setNullAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr)`
    `static void` | `setObjectAttribute(com.google.gwt.core.client.JavaScriptObject elem, java.lang.String attr, java.lang.Object object)`
    `static void` | `throwUnconvertibleObjectException(java.lang.Object object, java.lang.String messageDetail)`
    `static com.google.gwt.core.client.JavaScriptObject[]` | `toArray(com.google.gwt.core.client.JavaScriptObject array)`
    `static java.lang.Boolean` | `toBoolean(boolean value)`
    `static java.util.Date` | `toDate(double millis)` Converts a time to a Java `Date` object.
    `static com.google.gwt.core.client.JavaScriptObject` | `toDateJS(java.util.Date date)`
    `static java.lang.Double` | `toDouble(double value)`
    `static com.google.gwt.user.client.Element[]` | `toElementArray(com.google.gwt.core.client.JavaScriptObject array)`
    `static java.lang.Float` | `toFloat(float value)`
    `static java.lang.Integer` | `toInteger(int value)`
    `static java.lang.Long` | `toLong(double value)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getClassName

          public static java.lang.String getClassName(com.google.gwt.core.client.JavaScriptObject javaScriptObject)

      Returns the javascript class name.
      Returns:

    - #### isScClassInstance

          public static boolean isScClassInstance(com.google.gwt.core.client.JavaScriptObject javaScriptObject)

      Returns whether the supplied JavaScriptObject is a SmartClient class instance.
      Parameters:
        `the` - object to evaluate
      Returns:
        whether object is an instance

    - #### isScClassObject

          public static boolean isScClassObject(com.google.gwt.core.client.JavaScriptObject javaScriptObject)

      Returns whether the supplied JavaScriptObject is a SmartClient class (a Class object itself, rather than an instance of a class).
      Parameters:
        `the` - object to evaluate
      Returns:
        whether object is a Class object

    - #### eval

          public static com.google.gwt.core.client.JavaScriptObject eval(java.lang.String jsFrag)

      Evaluate the passed string as Javascript
      Parameters:
        `jsFrag` - the string to evaluate
      Returns:
        the JavaScriptObject upon evaluation

    - #### isJSO

          public static boolean isJSO(java.lang.Object object)

    - #### doubleValue

          public static double doubleValue(java.lang.Number num)

    - #### getAttribute

          public static java.lang.String getAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                                      java.lang.String attr)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.String value)

    - #### getAttributeAsJavaScriptObject

          public static com.google.gwt.core.client.JavaScriptObject getAttributeAsJavaScriptObject(com.google.gwt.core.client.JavaScriptObject elem,
                                                                                   java.lang.String attr)

    - #### getAttributeAsJavaScriptObjectArray

          public static com.google.gwt.core.client.JavaScriptObject[] getAttributeAsJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem,
                                                                                          java.lang.String attr)

    - #### toArray

          public static com.google.gwt.core.client.JavaScriptObject[] toArray(com.google.gwt.core.client.JavaScriptObject array)

    - #### isArray

          public static boolean isArray(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### toElementArray

          public static com.google.gwt.user.client.Element[] toElementArray(com.google.gwt.core.client.JavaScriptObject array)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          com.google.gwt.core.client.JavaScriptObject[] value)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          int[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          float[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          double[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.String[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.Integer[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.Float[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.Boolean[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.Double[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.Long[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.util.Date[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          ValueEnum[] values)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.Object value)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          com.google.gwt.core.client.JavaScriptObject value)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          int value)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.Number value)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.Long value)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.lang.Boolean value)

    - #### setNullAttribute

          public static void setNullAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                              java.lang.String attr)

    - #### deleteAttribute

          public static void deleteAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                             java.lang.String attr)

    - #### deleteAttributeIfExists

          public static void deleteAttributeIfExists(com.google.gwt.core.client.JavaScriptObject elem,
                                     java.lang.String attr)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          boolean value)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          double value)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          Function handler)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                          java.lang.String attr,
                          java.util.Date value)

    - #### setObjectAttribute

          public static void setObjectAttribute(com.google.gwt.core.client.JavaScriptObject elem,
                                java.lang.String attr,
                                java.lang.Object object)

    - #### getAttributeAsElement

          public static com.google.gwt.user.client.Element getAttributeAsElement(com.google.gwt.core.client.JavaScriptObject elem,
                                                                 java.lang.String attr)

    - #### getAttributeAsInt

          public static java.lang.Integer getAttributeAsInt(com.google.gwt.core.client.JavaScriptObject elem,
                                            java.lang.String attr)

    - #### getAttributeAsDouble

          public static java.lang.Double getAttributeAsDouble(com.google.gwt.core.client.JavaScriptObject elem,
                                              java.lang.String attr)

    - #### getAttributeAsDate

          public static java.util.Date getAttributeAsDate(com.google.gwt.core.client.JavaScriptObject elem,
                                          java.lang.String attr)

    - #### getAttributeAsFloat

          public static java.lang.Float getAttributeAsFloat(com.google.gwt.core.client.JavaScriptObject elem,
                                            java.lang.String attr)

    - #### getAttributeAsIntArray

          public static int[] getAttributeAsIntArray(com.google.gwt.core.client.JavaScriptObject elem,
                                     java.lang.String attr)

    - #### getAttributeAsDoubleArray

          public static double[] getAttributeAsDoubleArray(com.google.gwt.core.client.JavaScriptObject elem,
                                           java.lang.String attr)

    - #### getAttributeAsStringArray

          public static java.lang.String[] getAttributeAsStringArray(com.google.gwt.core.client.JavaScriptObject elem,
                                                     java.lang.String attr)

    - #### getJavaScriptObjectArraySize

          public static int getJavaScriptObjectArraySize(com.google.gwt.core.client.JavaScriptObject elem)

    - #### getIntValueFromJavaScriptObjectArray

          public static int getIntValueFromJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem,
                                                 int i)

    - #### getDoubleValueFromJavaScriptObjectArray

          public static double getDoubleValueFromJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem,
                                                       int i)

    - #### getStringValueFromJavaScriptObjectArray

          public static java.lang.String getStringValueFromJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem,
                                                                 int i)

    - #### getValueFromJavaScriptObjectArray

          public static com.google.gwt.core.client.JavaScriptObject getValueFromJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem,
                                                                                      int i)

    - #### getCellArray

          public static int[][] getCellArray(com.google.gwt.core.client.JavaScriptObject jsCells)

    - #### convertToCellArray

          public static com.google.gwt.core.client.JavaScriptObject convertToCellArray(int[][] cells)

    - #### getAttributeAsBoolean

          public static boolean getAttributeAsBoolean(com.google.gwt.core.client.JavaScriptObject elem,
                                      java.lang.String attr)

    - #### getAttributeAsObject

          public static java.lang.Object getAttributeAsObject(com.google.gwt.core.client.JavaScriptObject elem,
                                              java.lang.String attr)

    - #### getAttributeAsMap

          public static java.util.Map getAttributeAsMap(com.google.gwt.core.client.JavaScriptObject elem,
                                        java.lang.String attr)

    - #### listToArray

          public static com.google.gwt.core.client.JavaScriptObject[] listToArray(java.util.List list)

    - #### arrayConvert

          public static com.google.gwt.core.client.JavaScriptObject arrayConvert(java.lang.Object[] array)

    - #### arrayConvert

          public static com.google.gwt.core.client.JavaScriptObject arrayConvert(com.google.gwt.core.client.JavaScriptObject[] array)

    - #### arrayLength

          public static int arrayLength(com.google.gwt.core.client.JavaScriptObject array)

    - #### arrayGetObject

          public static java.lang.Object arrayGetObject(com.google.gwt.core.client.JavaScriptObject array,
                                        int index)

    - #### arraySet

          public static void arraySet(com.google.gwt.core.client.JavaScriptObject array,
                      int index,
                      java.lang.Object value)

    - #### arraySet

          public static void arraySet(com.google.gwt.core.client.JavaScriptObject array,
                      int index,
                      com.google.gwt.core.client.JavaScriptObject value)

    - #### getElementValueFromJavaScriptObjectArray

          public static com.google.gwt.user.client.Element getElementValueFromJavaScriptObjectArray(com.google.gwt.core.client.JavaScriptObject elem,
                                                                                    int i)

      This is used to access Element array as JavaScriptObject

    - #### createObject

          public static com.google.gwt.core.client.JavaScriptObject createObject()

    - #### convertToJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(boolean[] array)

    - #### convertToJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(char[] array)

    - #### convertToJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(byte[] array)

    - #### convertToJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(short[] array)

    - #### convertToJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(int[] array)

    - #### convertToJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(float[] array)

    - #### convertToJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(double[] array)

    - #### convertToJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(long[] array)

    - #### convertToJava

          public static java.lang.Object convertToJava(com.google.gwt.core.client.JavaScriptObject object,
                                       boolean listAsArray)

      Convert a JavaScriptObject to the appropriate type of JavaObject. Simple JavaScript objects (key:value pairs) will be converted to Map instances. JavaScript Arrays will be returned as a List or an Object Array depending on the listAsArray parameter Conversion is recursive, nested JavaScript objects and arrays will have their members converted as well JavaScript dates will be returned as Java Dates Simple Javascript types such as integers, floats and strings will be returned as the equivalent java object class (String, Integer, etc)
      Parameters:
        `object` - JavaScriptObject to convert
        `listAsArray` - Should arrays be converted to Object[] or List
      Returns:
        converted Java object. May be a Map, a List or an Object[] depending on the underlying JS type.

    - #### convertToJava

          public static java.lang.Object convertToJava(com.google.gwt.core.client.JavaScriptObject object)

    - #### convertToMap

          public static java.util.Map convertToMap(com.google.gwt.core.client.JavaScriptObject jsObj,
                                   boolean listAsArray)

      Convert a Javascript object containing key:value pairs to a Map.
      Parameters:
        `jsObj` - the javascript object
        `listAsArray` - Should arrays be converted to Object[] or List
      Returns:
        the map
      Throws:
        `java.lang.IllegalArgumentException` - if unable to convert the passed JavaScript object to a map

    - #### convertToMap

          public static java.util.Map convertToMap(com.google.gwt.core.client.JavaScriptObject jsObj)

      Convert a Javascript object containing key:value pairs to a Map.
      Parameters:
        `jsObj` - the javascript object
      Returns:
        the map
      Throws:
        `java.lang.IllegalArgumentException` - if unable to convert pass JavaScript object to a map

    - #### convertToArray

          public static java.lang.Object[] convertToArray(com.google.gwt.core.client.JavaScriptObject object)

      Convert a Javascript object to an Object[]. If the Javascript object is not an array in Javascript, a new array will be created containing the converted object as the only entry.
      Parameters:
        `object` -
      Returns:

    - #### convertToList

          public static java.util.List convertToList(com.google.gwt.core.client.JavaScriptObject object)

      Convert a Javascript object to a List. If the Javascript object is not an array in Javascript, a new List will be created containing the converted object as the only entry.
      Parameters:
        `object` -
      Returns:

    - #### convertToJavaScriptDate

          public static com.google.gwt.core.client.JsDate convertToJavaScriptDate(java.util.Date date)

    - #### convertToJavaDate

          public static java.util.Date convertToJavaDate(com.google.gwt.core.client.JavaScriptObject val)

    - #### convertToString

          public static java.lang.String convertToString(java.lang.Object obj)

    - #### isJavaDate

          public static boolean isJavaDate(java.lang.Object obj)

      Parameters:
        `obj` - the object
      Returns:
        true if object is a Java Date

    - #### isJavaNumber

          public static boolean isJavaNumber(java.lang.Object obj)

      Parameters:
        `obj` - the object
      Returns:
        true if object is a Java Number

    - #### isJavaInteger

          public static boolean isJavaInteger(java.lang.Object obj)

      Parameters:
        `obj` - the object
      Returns:
        true if object is a Java Integer

    - #### isJavaFloat

          public static boolean isJavaFloat(java.lang.Object obj)

      Parameters:
        `obj` - the object
      Returns:
        true if object is a Java Float

    - #### isJavaDouble

          public static boolean isJavaDouble(java.lang.Object obj)

      Parameters:
        `obj` - the object
      Returns:
        true if object is a Java Double

    - #### isJavaString

          public static boolean isJavaString(java.lang.Object obj)

      Parameters:
        `obj` - the object
      Returns:
        true if object is a Java String

    - #### isJavaBoolean

          public static boolean isJavaBoolean(java.lang.Object obj)

      Parameters:
        `obj` - the object
      Returns:
        true if object is a Java Integer

    - #### isJavaList

          public static boolean isJavaList(java.lang.Object obj)

    - #### isJavaMap

          public static boolean isJavaMap(java.lang.Object obj)

    - #### convertToJsArray

          public static <O extends com.google.gwt.core.client.JavaScriptObject> com.google.gwt.core.client.JsArray<O> convertToJsArray(O[] array)

    - #### convertToJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(java.lang.Object[] array)

    - #### convertToJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(java.lang.Object[] array,
                                                                             boolean strict)

    - #### throwUnconvertibleObjectException

          public static void throwUnconvertibleObjectException(java.lang.Object object,
                                               java.lang.String messageDetail)

    - #### toInteger

          public static java.lang.Integer toInteger(int value)

    - #### toLong

          public static java.lang.Long toLong(double value)

    - #### toFloat

          public static java.lang.Float toFloat(float value)

    - #### toDouble

          public static java.lang.Double toDouble(double value)

    - #### toDate

          public static java.util.Date toDate(double millis)

      Converts a time to a Java `Date` object.

      Note: If needing to convert a JavaScript object, it is preferable to use `convertToJavaDate(JavaScriptObject)` instead because that function is able to convert to `LogicalDate` and `LogicalTime` instances as needed.

      Parameters:
        `millis` - number of milliseconds since January 1, 1970, 00:00:00 GMT.
      Returns:
        a new `Date` representing the given time.

    - #### toDateJS

          public static com.google.gwt.core.client.JavaScriptObject toDateJS(java.util.Date date)

    - #### getJSLogicalDate

          public static com.google.gwt.core.client.JsDate getJSLogicalDate(java.util.Date date)

    - #### getJSLogicalDate

          public static com.google.gwt.core.client.JsDate getJSLogicalDate(int year,
                                                           int month,
                                                           int date)

    - #### getJSLogicalTime

          public static com.google.gwt.core.client.JsDate getJSLogicalTime(java.util.Date date)

    - #### getJSLogicalTime

          public static com.google.gwt.core.client.JsDate getJSLogicalTime(int hour,
                                                           int minute,
                                                           int second,
                                                           int millisecond)

    - #### toBoolean

          public static java.lang.Boolean toBoolean(boolean value)

    - #### createJavaScriptArray

          public static com.google.gwt.core.client.JavaScriptObject createJavaScriptArray()

    - #### setArrayValue

          public static void setArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                           int index,
                           java.util.Date value)

    - #### setArrayValue

          public static void setArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                           int index,
                           java.lang.String value)

    - #### setArrayValue

          public static void setArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                           int index,
                           double value)

    - #### setArrayValue

          public static void setArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                           int index,
                           long value)

    - #### setArrayValue

          public static void setArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                           int index,
                           boolean value)

    - #### setArrayValue

          public static void setArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                           int index,
                           char value)

    - #### setArrayValue

          public static void setArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                           int index,
                           com.google.gwt.core.client.JavaScriptObject value)

    - #### setArrayValue

          public static void setArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                           int index,
                           java.lang.Object value)

    - #### getArrayValue

          public static java.lang.String getArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                                       int index)

    - #### getJSOArrayValue

          public static com.google.gwt.core.client.JavaScriptObject getJSOArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                                                                     int index)

    - #### getObjectArrayValue

          public static java.lang.Object getObjectArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                                             int index)

    - #### getIntArrayValue

          public static int getIntArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                             int index)

    - #### getfloatArrayValue

          public static float getfloatArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                                 int index)

    - #### getIntegerArrayValue

          public static java.lang.Integer getIntegerArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                                               int index)

    - #### getFloatArrayValue

          public static java.lang.Float getFloatArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                                           int index)

    - #### getDateArrayValue

          public static java.util.Date getDateArrayValue(com.google.gwt.core.client.JavaScriptObject array,
                                         int i)

    - #### getArrayLength

          public static int getArrayLength(com.google.gwt.core.client.JavaScriptObject array)

    - #### convertToJavaIntArray

          public static int[] convertToJavaIntArray(com.google.gwt.core.client.JavaScriptObject array)

    - #### convertToJavaInterArray

          public static java.lang.Integer[] convertToJavaInterArray(com.google.gwt.core.client.JavaScriptObject array)

    - #### convertToJavaStringArray

          public static java.lang.String[] convertToJavaStringArray(com.google.gwt.core.client.JavaScriptObject array)

    - #### convertToJavaFloatArray

          public static java.lang.Float[] convertToJavaFloatArray(com.google.gwt.core.client.JavaScriptObject array)

    - #### convertToJavaDateArray

          public static java.util.Date[] convertToJavaDateArray(com.google.gwt.core.client.JavaScriptObject array)

    - #### convertToJavaObjectArray

          public static java.lang.Object[] convertToJavaObjectArray(com.google.gwt.core.client.JavaScriptObject array)

    - #### convertToJavaRefDataClassArray

          public static RefDataClass[] convertToJavaRefDataClassArray(com.google.gwt.core.client.JavaScriptObject nativeArray)

    - #### apply

          public static void apply(com.google.gwt.core.client.JavaScriptObject config,
                   com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### setAttribute

          public static void setAttribute(com.google.gwt.core.client.JavaScriptObject jsObj,
                          java.lang.String attr,
                          java.util.Map valueMap)

    - #### convertMapToJavascriptObject

          public static com.google.gwt.core.client.JavaScriptObject convertMapToJavascriptObject(java.util.Map valueMap)

    - #### convertMapToJavascriptObject

          public static com.google.gwt.core.client.JavaScriptObject convertMapToJavascriptObject(java.util.Map valueMap,
                                                                                 boolean strict)

    - #### getProperties

          public static java.lang.String[] getProperties(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### getPropertiesAsString

          public static java.lang.String getPropertiesAsString(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### addProperties

          public static void addProperties(com.google.gwt.core.client.JavaScriptObject destination,
                           com.google.gwt.core.client.JavaScriptObject propertiesObject)

      Adds all properties and methods from the propertiesObject to the destination object.
      Parameters:
        `destination` - the destination object
        `propertiesObject` - the propertiesObject

    - #### cleanProperties

          public static com.google.gwt.core.client.JavaScriptObject cleanProperties(com.google.gwt.core.client.JavaScriptObject properties,
                                                                    boolean copyProperties)

      Removes non-transferable properties from the supplied object (e.g. widget ID), performing a copy first if requested.
      Parameters:
        `properties` - the supplied object to clean
        `copyProperties` - whether to copy the object first
      Returns:
        the cleaned properties object