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
| 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 |
type
protected LayerType type
features
protected ArrayList features
bounds
protected com.vividsolutions.jts.geom.Envelope bounds
name
protected String name
GisLayer
public GisLayer(LayerType lt,
String name)
- Create a layer with a type and a name.
- Parameters:
lt - The feature type for this layername - 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 layersize - The initial size of this layer.name - The name of this layer.
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()
Bug reports and feature requests to RePast