Class Layer<T extends Layer<?>>

java.lang.Object
com.jbstrap.jbmap.layers.Layer<T>
Type Parameters:
T - The layer class type
Direct Known Subclasses:
BaseLayer, DivLayer

public class Layer<T extends Layer<?>> extends Object

Base class of map layers and layers that can be enclosed in a container.

Layers that extend this class and implement the ContainerLayer can accept JBStrap component as a content.

Such layers are the DivPoint, PopupPoint and DivLayer.

Since:
4.0
  • Field Details

    • parent

      protected Object parent
    • componentContent

      protected MapDiv componentContent
    • params

      protected final com.jbstrap.core.Parameters params
  • Constructor Details

    • Layer

      public Layer()
  • Method Details

    • getContent

      public final MapDiv getContent()
      Gets the JBStrap component content.
      Returns:
      JBStrap component content whose enclosing container is a Div component
    • runAfterDrawOnLayer

      public final void runAfterDrawOnLayer(com.jbstrap.ui.Component<?> layerComponent)
      Parameters:
      layerComponent - Layer component
    • runOnShowOnLayer

      public final void runOnShowOnLayer(com.jbstrap.ui.Component<?> layerComponent)
      Parameters:
      layerComponent - Layer component
    • runOnHideOnLayer

      public final void runOnHideOnLayer(com.jbstrap.ui.Component<?> layerComponent)
      Parameters:
      layerComponent - Layer component