public class PopupWindowOptions
extends java.lang.Object
PopupWindow
.Constructor and Description |
---|
PopupWindowOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxWidth()
Returns max width of the popup, in pixels.
|
int |
getMinWidth()
Returns min width of the popup, in pixels.
|
boolean |
isCloseButtonEnabled() |
boolean |
isCloseOnClick()
Whether popup should be closed when user clicks on the map.
|
PopupWindowOptions |
setCloseButtonEnabled(boolean closeButtonEnabled)
Defines whether close button is enabled in a popup window.
|
PopupWindowOptions |
setCloseOnClick(boolean closeOnClick)
Defines whether popup should be closed when user clicks on the map.
|
PopupWindowOptions |
setMaxWidth(int maxWidth)
Sets max width of the popup window, in pixels.
|
PopupWindowOptions |
setMinWidth(int minWidth)
Sets min width of the popup, in pixels.
|
public boolean isCloseButtonEnabled()
public PopupWindowOptions setCloseButtonEnabled(boolean closeButtonEnabled)
Default value: true
.
closeButtonEnabled
- PopupWindowOptions
on which this method was called. Useful for a fluent API.public boolean isCloseOnClick()
public PopupWindowOptions setCloseOnClick(boolean closeOnClick)
Default value: true
.
closeOnClick
- PopupWindowOptions
on which this method was called. Useful for a fluent API.public int getMaxWidth()
public PopupWindowOptions setMaxWidth(int maxWidth)
Default value: 300.
maxWidth
- PopupWindowOptions
on which this method was called. Useful for a fluent API.public int getMinWidth()
public PopupWindowOptions setMinWidth(int minWidth)
Default value: 50.
minWidth
- PopupWindowOptions
on which this method was called. Useful for a fluent API.