nl.idgis.giserver
Class MapDrawingContext

java.lang.Object
  extended by nl.idgis.giserver.MapDrawingContext

public class MapDrawingContext
extends java.lang.Object

Drawing context will be the context in which a feature will be drawn to a map. The context variables are accesible by getters. Some variables are placeholders for the processing feature , concerning map , used rule. These placeholders will be filled on contructor base. The collection of involved FlashSymbolizers in the context will be determined on constructor base.

Author:
bretelerjj

Constructor Summary
MapDrawingContext(org.deegree.model.feature.Feature feature, org.deegree.graphics.sld.Rule[] rules, FlashMap map)
          Constructor MapDrawingContext.
 
Method Summary
 org.deegree.model.feature.Feature getFeature()
          Getter for placeholder feature
 java.util.Vector<FlashSymbolizer> getFlashSymbolizers()
          Getter for collection involved FlashSymbolizers
 FlashMap getMap()
          Getter for placeholder concerning map
 org.deegree.graphics.sld.Rule getRule()
          Getter for placeholder used rule
 nl.idgis.flash.FlashSprite getSprite()
           
 void setSprite(nl.idgis.flash.FlashSprite sprite)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapDrawingContext

public MapDrawingContext(org.deegree.model.feature.Feature feature,
                         org.deegree.graphics.sld.Rule[] rules,
                         FlashMap map)
Constructor MapDrawingContext. Requires feature instance , concerning map and the collection rules available for this feature.

Parameters:
feature - feature instance with actual property info
rules - collection of rules
map - concerning map
Method Detail

getFeature

public org.deegree.model.feature.Feature getFeature()
Getter for placeholder feature

Returns:
feature

getFlashSymbolizers

public java.util.Vector<FlashSymbolizer> getFlashSymbolizers()
Getter for collection involved FlashSymbolizers

Returns:
collection of involved FlashSymbolizers

getRule

public org.deegree.graphics.sld.Rule getRule()
Getter for placeholder used rule

Returns:
used rule

getMap

public FlashMap getMap()
Getter for placeholder concerning map

Returns:
concerning map

getSprite

public nl.idgis.flash.FlashSprite getSprite()

setSprite

public void setSprite(nl.idgis.flash.FlashSprite sprite)