Package com.jbstrap.jbmap.layers
Class Layer<T extends Layer<?>>
java.lang.Object
com.jbstrap.jbmap.layers.Layer<T>
- Type Parameters:
T
- The layer class type
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.
DivPoint
, PopupPoint
and DivLayer
.- Since:
- 4.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal MapDiv
Gets the JBStrap component content.final void
runAfterDrawOnLayer
(com.jbstrap.ui.Component<?> layerComponent) final void
runOnHideOnLayer
(com.jbstrap.ui.Component<?> layerComponent) final void
runOnShowOnLayer
(com.jbstrap.ui.Component<?> layerComponent)
-
Field Details
-
parent
-
componentContent
-
params
protected final com.jbstrap.core.Parameters params
-
-
Constructor Details
-
Layer
public Layer()
-
-
Method Details
-
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
-