Package io.jmix.mapsui.component
Class PopupWindowOptions
java.lang.Object
io.jmix.mapsui.component.PopupWindowOptions
Options for a 
PopupWindow.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintReturns max width of the popup, in pixels.intReturns min width of the popup, in pixels.booleanbooleanWhether popup should be closed when user clicks on the map.setCloseButtonEnabled(boolean closeButtonEnabled) Defines whether close button is enabled in a popup window.setCloseOnClick(boolean closeOnClick) Defines whether popup should be closed when user clicks on the map.setMaxWidth(int maxWidth) Sets max width of the popup window, in pixels.setMinWidth(int minWidth) Sets min width of the popup, in pixels.
- 
Constructor Details- 
PopupWindowOptionspublic PopupWindowOptions()
 
- 
- 
Method Details- 
isCloseButtonEnabledpublic boolean isCloseButtonEnabled()
- 
setCloseButtonEnabledDefines whether close button is enabled in a popup window.Default value: true.- Parameters:
- closeButtonEnabled-
- Returns:
- the instance of PopupWindowOptionson which this method was called. Useful for a fluent API.
 
- 
isCloseOnClickpublic boolean isCloseOnClick()Whether popup should be closed when user clicks on the map.
- 
setCloseOnClickDefines whether popup should be closed when user clicks on the map.Default value: true.- Parameters:
- closeOnClick-
- Returns:
- the instance of PopupWindowOptionson which this method was called. Useful for a fluent API.
 
- 
getMaxWidthpublic int getMaxWidth()Returns max width of the popup, in pixels.
- 
setMaxWidthSets max width of the popup window, in pixels.Default value: 300. - Parameters:
- maxWidth-
- Returns:
- the instance of PopupWindowOptionson which this method was called. Useful for a fluent API.
 
- 
getMinWidthpublic int getMinWidth()Returns min width of the popup, in pixels.
- 
setMinWidthSets min width of the popup, in pixels.Default value: 50. - Parameters:
- minWidth-
- Returns:
- the instance of PopupWindowOptionson which this method was called. Useful for a fluent API.
 
 
-