Package com.jbstrap.jbmap.layers.layer
Class MapDiv
java.lang.Object
com.jbstrap.core.messagebus.MessageBus
com.jbstrap.ui.Component<com.jbstrap.ui.components.Div>
com.jbstrap.ui.components.Div
com.jbstrap.jbmap.layers.layer.MapDiv
public class MapDiv
extends com.jbstrap.ui.components.Div
The MapDiv component, used by DivPoint and PopupPoint
The component doesn't have a visual representation on the ui, it's used to group other individual components together. The component appears in the HTML DOM as a div tag. Events can't be assigned to this component directly, but the components grouped under it can have events handlers.
- Since:
- 4.0
-
Field Summary
Fields inherited from class com.jbstrap.ui.Component
animation, attributes, backgroundColor, borderColor, color, defaultHotKeyHandler, handlers, hotKeys, styleClasses, textAlign, toolTip, toolTipPosition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddComponent
(com.jbstrap.ui.Component<?> component, boolean draw) List<com.jbstrap.ui.Component<?>>
protected List<com.jbstrap.ui.Component<?>>
Get the div layer's componentsprotected void
registerEvents
(com.jbstrap.ui.Component<?> component) Run registering events of div layer's componentsprotected void
runInitScript
(com.jbstrap.ui.Component<?> component) Run init scripts of div layer's componentsprotected void
setOpened
(boolean isOpen) Set the div layer is open or not on the screenboolean
writeHTML
(StringWriter writer) Methods inherited from class com.jbstrap.ui.components.Div
b, h
Methods inherited from class com.jbstrap.ui.Component
_hide, _setAttribute, addAllowedRole, addComponent, addComponents, addDeniedRole, addHandler, addStyle, addStyleClass, addStyleClasses, afterDraw, b, clearfix, closeTag, combinateAccess, containsStyle, containsStyleClass, draw, drawSubComponents, error, f, flattendComponentTree, g, getAccess, getAccessMode, getAllowedRoles, getAttribute, getAttributes, getBackgroundColor, getBorderColor, getClient, getComponentById, getComponents, getComponentsByClass, getData, getDeniedRoles, getHandlers, getId, getLanguageCode, getName, getParent, getParent, getRegisteredEvents, getStyle, getStyleClasses, getTextAlign, getTextColor, getToolTip, getToolTipPosition, getTypeName, getUI, init, insertComponentAfter, insertComponentBefore, isAccess, isDrawn, isEnabled, isEventBubbling, isVisible, onHide, onHotKeyEventHandler, onShow, openTag, redraw, removeAllComponents, removeAllowedRole, removeAllStyleClasses, removeAttribute, removeComponent, removeComponent, removeComponents, removeDeniedRole, removeHandler, removeStyle, removeStyle, removeStyleClass, removeStyleClasses, replaceComponent, replaceStyleClass, runAfterDraw, runJavaScript, runJavaScript, runJavaScript, runOnHide, runOnShow, say, setAttribute, setBackgroundColor, setBorder, setBorderColor, setData, setDisplayType, setEnabled, setEventBubbling, setFlex, setFloating, setHeight100, setHeight25, setHeight50, setHeight75, setHeightAuto, setLanguage, setMargin, setName, setOverflow, setPadding, setParent, setScrollable, setSelectionType, setShadow, setStyle, setTextAlign, setTextColor, setToolTip, setToolTipPosition, setVisible, setWidth100, setWidth25, setWidth50, setWidth75, setWidthAuto, showNotification, showNotification, showProcessIndicator, toggleStyleClass
Methods inherited from class com.jbstrap.core.messagebus.MessageBus
b, c, closeMessageBus, d, e, messageBusOpened, openMessageBus, sendMessageToMessageBus, subscribeMessageBus, unsubscribeMessageBus
-
Constructor Details
-
MapDiv
public MapDiv()
-
-
Method Details
-
writeHTML
- Overrides:
writeHTML
in classcom.jbstrap.ui.components.Div
-
addComponent
- Overrides:
addComponent
in classcom.jbstrap.ui.Component<com.jbstrap.ui.components.Div>
-
getMapDivComponents
Get the div layer's components- Returns:
- component list
-
getComponents
- Overrides:
getComponents
in classcom.jbstrap.ui.Component<com.jbstrap.ui.components.Div>
-
setOpened
protected void setOpened(boolean isOpen) Set the div layer is open or not on the screen- Parameters:
isOpen
- true if opened and false if closed
-
runInitScript
protected void runInitScript(com.jbstrap.ui.Component<?> component) Run init scripts of div layer's components- Parameters:
component
- The actual component
-
registerEvents
protected void registerEvents(com.jbstrap.ui.Component<?> component) Run registering events of div layer's components- Parameters:
component
- The actual component
-