com.googlecode.gwtmapquest.transaction
Class MQATKObjectCollection<E>

java.lang.Object
  extended by JavaScriptObject
      extended by com.googlecode.gwtmapquest.transaction.MQATKObjectCollection<E>
Direct Known Subclasses:
MQAShapeCollection

public class MQATKObjectCollection<E>
extends JavaScriptObject


Constructor Summary
protected MQATKObjectCollection()
           
 
Method Summary
 int add(JavaScriptObject obj)
           
 void append(MQATKObjectCollection<E> collection)
           
 boolean contains(E value)
           
 E getAt(int index)
           
 E getItemIndex(JavaScriptObject value)
           
 java.lang.String getName()
           
 int getSize()
           
 E remove(int index)
           
 void removeAll()
           
 void removeItem(E value)
           
 void setName(java.lang.String name)
          Sets the name of the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MQATKObjectCollection

protected MQATKObjectCollection()
Method Detail

getName

public final java.lang.String getName()

setName

public final void setName(java.lang.String name)
Sets the name of the collection.

Parameters:
name - The name to set

add

public final int add(JavaScriptObject obj)

getAt

public final E getAt(int index)

getSize

public final int getSize()

remove

public final E remove(int index)

removeAll

public final void removeAll()

removeItem

public final void removeItem(E value)

contains

public final boolean contains(E value)

append

public final void append(MQATKObjectCollection<E> collection)

getItemIndex

public final E getItemIndex(JavaScriptObject value)