Class JArrayBase

Direct Known Subclasses:
JDoubleArray, JFloatArray, JIntArray, JObjectArray, JStringArray

public class JArrayBase
extends JSObjectWrapper
Base class for classes wrapping Javascript arrays. Get and set methods are implemented in subclasses, to make sure they get and set the correct type of array element.
  • Constructor Summary

    Modifier Constructor Description
    protected JArrayBase​(int length)  
    protected JArrayBase​(JSObject element)  
  • Method Summary

    Modifier and Type Method Description
    int length()  
    static JArrayBase narrowToJArray​(JSObject element)  

    Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper

    getJSObject, setJSObject

    Methods inherited from class java.lang.Object

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