Class Layer

  • Direct Known Subclasses:
    GMap, OSM, Vector, WFS, WMS

    public abstract class Layer
    extends Object
    Author:
    Nino Martinez Wael (nino.martinez@jayway.dk)
    • Constructor Detail

      • Layer

        public Layer()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getId

        public String getId()
      • bindHeaderContributors

        public final void bindHeaderContributors​(Component c)
      • bindHeaderContributors

        protected abstract void bindHeaderContributors​(IHeaderResponse response)
      • getJSconstructor

        public abstract String getJSconstructor()
      • getJSOptionsMap

        protected String getJSOptionsMap​(Map<String,​String> options)
        A helper to build the { ... } options list from a map.
        Parameters:
        options -
        Returns:
      • getJSconstructor

        protected String getJSconstructor​(String javascriptTypeName,
                                          List<String> parameterList)
        A convience method for the common initialization case.
        Parameters:
        javascriptTypeName -
        parameterList -
        Returns:
        the contextualized contstructor for the layer.