RePast
v. 2.0

uchicago.src.sim.gis
Class GisLayer

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--uchicago.src.sim.gis.GisLayer
All Implemented Interfaces:
Cloneable, Collection, List, RandomAccess, Serializable

public class GisLayer
extends ArrayList

See Also:
Serialized Form

Field Summary
protected  com.vividsolutions.jts.geom.Envelope bounds
           
protected  ArrayList features
           
protected  String name
           
protected  LayerType type
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
GisLayer(LayerType lt, int size, String name)
          Create a layer with a type, name and initial size.
GisLayer(LayerType lt, String name)
          Create a layer with a type and a name.
 
Method Summary
 com.vividsolutions.jts.geom.Envelope getBounds()
           
 String getName()
           
 LayerType getType()
           
 void setBounds(com.vividsolutions.jts.geom.Envelope e)
           
 void setName(String name)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, 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, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Field Detail

type

protected LayerType type

features

protected ArrayList features

bounds

protected com.vividsolutions.jts.geom.Envelope bounds

name

protected String name
Constructor Detail

GisLayer

public GisLayer(LayerType lt,
                String name)
Create a layer with a type and a name.

Parameters:
lt - The feature type for this layer
name - The name of this layer

GisLayer

public GisLayer(LayerType lt,
                int size,
                String name)
Create a layer with a type, name and initial size.

Parameters:
lt - The feature type for this layer
size - The initial size of this layer.
name - The name of this layer.
Method Detail

getName

public String getName()

setName

public void setName(String name)

setBounds

public void setBounds(com.vividsolutions.jts.geom.Envelope e)

getBounds

public com.vividsolutions.jts.geom.Envelope getBounds()

getType

public LayerType getType()

RePast
v. 2.0

Bug reports and feature requests to RePast