org.wicketstuff.openlayers.api.layer
Class Layer

java.lang.Object
  extended by org.wicketstuff.openlayers.api.layer.Layer
Direct Known Subclasses:
GMap, OSM, Vector, WFS, WMS

public abstract class Layer
extends java.lang.Object

Author:
Nino Martinez Wael (nino.martinez@jayway.dk)

Constructor Summary
Layer()
           
 
Method Summary
abstract  java.util.List<org.apache.wicket.behavior.HeaderContributor> getHeaderContributors()
           
 java.lang.String getId()
           
 java.lang.String getJSAddLayer(IOpenLayersMap map)
           
abstract  java.lang.String getJSconstructor()
           
protected  java.lang.String getJSconstructor(java.lang.String javascriptTypeName, java.util.List<java.lang.String> parameterList)
          A convience method for the common initialization case.
protected  java.lang.String getJSOptionsMap(java.util.Map<java.lang.String,java.lang.String> options)
          A helper to build the { ...
 java.lang.String getName()
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Layer

public Layer()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getId

public java.lang.String getId()

getJSAddLayer

public final java.lang.String getJSAddLayer(IOpenLayersMap map)

getHeaderContributors

public abstract java.util.List<org.apache.wicket.behavior.HeaderContributor> getHeaderContributors()

getJSconstructor

public abstract java.lang.String getJSconstructor()

getJSOptionsMap

protected java.lang.String getJSOptionsMap(java.util.Map<java.lang.String,java.lang.String> options)
A helper to build the { ... } options list from a map.

Parameters:
options -
Returns:

getJSconstructor

protected java.lang.String getJSconstructor(java.lang.String javascriptTypeName,
                                            java.util.List<java.lang.String> parameterList)
A convience method for the common initialization case.

Parameters:
javascriptTypeName -
options -
Returns:
the contextualized contstructor for the layer.


Copyright © 2008-2010. All Rights Reserved.