org.n52.oxf.layer
Interface IContextLayer

All Superinterfaces:
EventListener, IContextSerializableXML, IEventEmitter, IEventListener
All Known Subinterfaces:
IFeatureLayer
All Known Implementing Classes:
AbstractLayer, AbstractServiceLayer, FeatureLayer, FeatureServiceLayer, RasterServiceLayer, RealTimeFeatureServiceLayer

public interface IContextLayer
extends IEventEmitter, IEventListener, IContextSerializableXML

Author:
Arne Broering

Method Summary
 IBoundingBox getBBox()
           
 String getDescription()
           
 String getIDName()
           
 String getLayerSourceTitle()
           
 String getLayerSourceType()
           
 IVisualization getLayerVisualization()
           
 ParameterContainer getParameterContainer()
           
 IRenderer getRenderer()
           
 String getSrs()
           
 ITime getTimeStamp()
           
 String getTitle()
           
 boolean isBroken()
           
 boolean isHidden()
           
 boolean refreshParameterContainer(ContextBoundingBox contextBBox, ContextWindow window)
          sets the actual values of the attributes into the ParameterContainer if they have changed.
 void setHidden(boolean b)
          sets the hidden-status of this Layer.
 
Methods inherited from interface org.n52.oxf.util.IEventEmitter
addEventListener, removeEventListener
 
Methods inherited from interface org.n52.oxf.util.IEventListener
eventCaught
 
Methods inherited from interface org.n52.oxf.serialization.IContextSerializableXML
serializeToContext
 

Method Detail

getParameterContainer

ParameterContainer getParameterContainer()

refreshParameterContainer

boolean refreshParameterContainer(ContextBoundingBox contextBBox,
                                  ContextWindow window)
                                  throws OXFException
sets the actual values of the attributes into the ParameterContainer if they have changed. Returns true if the ParameterContainer has been refreshed (the values have changed) and false otherwise.

Parameters:
contextBBox -
window -
Returns:
Throws:
OXFException

isHidden

boolean isHidden()

setHidden

void setHidden(boolean b)
               throws OXFEventException
sets the hidden-status of this Layer.
If b differs from the previous value of hidden, a LAYER_VISIBILITY_CHANGED event will be fired.

Parameters:
b -
Throws:
OXFEventException

getBBox

IBoundingBox getBBox()
Returns:
the BBOX associated with this Layer or null if there is none.

getSrs

String getSrs()
Returns:
the SRS associated with this Layer or null if there is none.

isBroken

boolean isBroken()

getIDName

String getIDName()

getDescription

String getDescription()

getTitle

String getTitle()

getLayerVisualization

IVisualization getLayerVisualization()

getRenderer

IRenderer getRenderer()

getLayerSourceType

String getLayerSourceType()

getLayerSourceTitle

String getLayerSourceTitle()

getTimeStamp

ITime getTimeStamp()
Returns:
the "temporal position" of this Layer. Possibly null if the Layer has no temporal stamp.


Copyright © 2005 - 2010 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.