org.geotools.event
Class GTList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byorg.geotools.event.GTList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class GTList
extends java.util.ArrayList
implements java.util.List

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
GTList(GTComponent host, java.lang.String listName)
          Client code must construct with a GTComponent parent (in order to fire events).
 
Method Summary
 void add(int index, java.lang.Object item)
          Fire even when added
 boolean add(java.lang.Object item)
           
 boolean addAll(java.util.Collection list)
           
 boolean addAll(int index, java.util.Collection list)
           
 void clear()
           
protected  GTNote note(int position)
           
 java.lang.Object remove(int index)
           
 boolean remove(java.lang.Object item)
           
 boolean removeAll(java.util.Collection collection)
           
protected  void removeRange(int fromIndex, int toIndex)
           
 
Methods inherited from class java.util.ArrayList
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

GTList

public GTList(GTComponent host,
              java.lang.String listName)
Client code must construct with a GTComponent parent (in order to fire events).

Parameters:
host - Host for this list
listName - DOCUMENT ME!
Method Detail

note

protected GTNote note(int position)

add

public boolean add(java.lang.Object item)
Specified by:
add in interface java.util.List

add

public void add(int index,
                java.lang.Object item)
Fire even when added

Specified by:
add in interface java.util.List
Parameters:
index -
item -

addAll

public boolean addAll(java.util.Collection list)
Specified by:
addAll in interface java.util.List

addAll

public boolean addAll(int index,
                      java.util.Collection list)
Specified by:
addAll in interface java.util.List

clear

public void clear()
Specified by:
clear in interface java.util.List

remove

public java.lang.Object remove(int index)
Specified by:
remove in interface java.util.List

remove

public boolean remove(java.lang.Object item)
Specified by:
remove in interface java.util.List

removeAll

public boolean removeAll(java.util.Collection collection)
Specified by:
removeAll in interface java.util.List

removeRange

protected void removeRange(int fromIndex,
                           int toIndex)


Copyright © GeoTools. All Rights Reserved.