org.gwtopenmaps.openlayers.client.util
Class JObjectArray

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.util.JArrayBase
          extended by org.gwtopenmaps.openlayers.client.util.JObjectArray

public class JObjectArray
extends JArrayBase

Wraps a Javascript array that contains "non-basic type" of elements or elements of mixed type. "Basic type" elements are wrapped in the following array classes:


Constructor Summary
protected JObjectArray(JSObject element)
           
  JObjectArray(JSObject[] array)
           
  JObjectArray(JSObjectWrapper[] array)
           
 
Method Summary
 JSObject get(int index)
           
static JObjectArray narrowToJObjectArray(JSObject element)
           
 void set(int index, JSObject value)
           
 JSObject[] toArray()
           
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JArrayBase
length, narrowToJArray
 
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
 

Constructor Detail

JObjectArray

protected JObjectArray(JSObject element)

JObjectArray

public JObjectArray(JSObject[] array)

JObjectArray

public JObjectArray(JSObjectWrapper[] array)
Method Detail

narrowToJObjectArray

public static JObjectArray narrowToJObjectArray(JSObject element)

set

public void set(int index,
                JSObject value)

get

public JSObject get(int index)

toArray

public JSObject[] toArray()


Copyright © 2011 sourceforge. All Rights Reserved.