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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal MapDivGets the JBStrap component content.final voidrunAfterDrawOnLayer(com.jbstrap.ui.Component<?> layerComponent) final voidrunOnHideOnLayer(com.jbstrap.ui.Component<?> layerComponent) final voidrunOnShowOnLayer(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
Divcomponent
-
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
-