|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.graphics.AbstractLayer
abstract class AbstractLayer
A Layer is a collection of Features or rasters building a thematic 'unit' waterways or country borders for example. Features or raster can be added or removed from the layer. A Feature or raster can e changed by a modul of the application using the layer because only references to Features or rasters are stored within a layer.
| Field Summary | |
|---|---|
protected Envelope |
boundingbox
bbox of the layer |
protected CoordinateSystem |
cs
Of the layer |
protected List<EventController> |
eventController
List of controllers. |
| Constructor Summary | |
|---|---|
AbstractLayer(String name)
creates a layer with EPSG:4326 as default coordinate system |
|
AbstractLayer(String name,
CoordinateSystem crs)
Creates a new AbstractLayer object. |
|
| Method Summary | |
|---|---|
void |
addEventController(LayerEventController obj)
adds an eventcontroller to the MapView that's reponsible for handling events that targets the map. |
Envelope |
getBoundingBox()
returns the BoundingBox (Envelope) of Layer. |
CoordinateSystem |
getCoordinatesSystem()
returns the coordinate reference system of the MapView |
String |
getName()
returns the name of the layer |
boolean |
isValid()
As default the method returns true, but it may be overwritten by extending classes |
void |
removeEventController(LayerEventController obj)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.deegree.graphics.Layer |
|---|
setCoordinatesSystem |
| Field Detail |
|---|
protected CoordinateSystem cs
protected Envelope boundingbox
protected List<EventController> eventController
| Constructor Detail |
|---|
AbstractLayer(String name)
throws Exception
name -
Exception
AbstractLayer(String name,
CoordinateSystem crs)
throws Exception
name - crs -
Exception| Method Detail |
|---|
public String getName()
getName in interface Layerpublic Envelope getBoundingBox()
getBoundingBox in interface Layerpublic CoordinateSystem getCoordinatesSystem()
getCoordinatesSystem in interface Layerpublic void addEventController(LayerEventController obj)
addEventController in interface Layerobj - public void removeEventController(LayerEventController obj)
removeEventController in interface Layerobj - addEventController(LayerEventController)public boolean isValid()
true, but it may be overwritten by extending classes
true if a layer is valid and should be rendered
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org