Class ZoomIn
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.ZoomIn
- All Implemented Interfaces:
Serializable
@Generated(value="This class was generated",
comments="Incorrect and missing API should be reported")
public class ZoomIn
extends AbstractConfigurationObject
Options for the zoom in button. Properties for the zoom in and zoom out
buttons are inherited from mapNavigation.buttonOptions, while
individual options can be overridden. By default, the
onclick,
text and y options are individual.- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlign()Getter for the fieldalign.Getter for the fieldalignTo.Getter for the fieldheight.getStyle()Getter for the fieldstyle.getText()Getter for the fieldtext.getTheme()Getter for the fieldtheme.Getter for the fieldverticalAlign.getWidth()Getter for the fieldwidth.getX()Getter for the fieldx.getY()Getter for the fieldy.voidsetAlign(HorizontalAlign align) The alignment of the navigation buttons.voidsetAlignTo(String alignTo) What box to align the buttons to.voidThe pixel height of the map navigation buttons.voidText styles for the map navigation buttons.voidThe text for the button.voidsetTheme(ButtonTheme theme) A configuration object for the button theme.voidsetVerticalAlign(VerticalAlign verticalAlign) The vertical alignment of the buttons.voidThe width of the map navigation buttons.voidThe X offset of the buttons relative to itsalignsetting.voidThe position of the zoomIn button relative to the vertical alignment.
-
Constructor Details
-
ZoomIn
public ZoomIn()Constructor for ZoomIn.
-
ZoomIn
Constructor for ZoomIn.
- Parameters:
text- aStringobject.
-
-
Method Details
-
getAlign
Getter for the field
align.- Returns:
- a
HorizontalAlignobject. - See Also:
-
setAlign
The alignment of the navigation buttons.Defaults to: left
- Parameters:
align- aHorizontalAlignobject.
-
getAlignTo
Getter for the field
alignTo.- Returns:
- a
Stringobject. - See Also:
-
setAlignTo
What box to align the buttons to. Possible values areplotBoxandspacingBox.Defaults to: plotBox
- Parameters:
alignTo- aStringobject.
-
getHeight
Getter for the field
height.- Returns:
- a
Numberobject. - See Also:
-
setHeight
The pixel height of the map navigation buttons.Defaults to: 18
- Parameters:
height- aNumberobject.
-
getStyle
Getter for the field
style.- Returns:
- a
Styleobject. - See Also:
-
setStyle
Text styles for the map navigation buttons. Defaults to{ fontSize: '15px', fontWeight: 'bold', textAlign: 'center' }- Parameters:
style- aStyleobject.
-
getText
Getter for the field
text.- Returns:
- a
Stringobject. - See Also:
-
setText
The text for the button. The tooltip (title) is a language option given by lang.zoomIn.Defaults to: +
- Parameters:
text- aStringobject.
-
getTheme
Getter for the field
theme.- Returns:
- a
ButtonThemeobject. - See Also:
-
setTheme
A configuration object for the button theme. The object accepts SVG properties likestroke-width,strokeandfill. Tri-state button styles are supported by thestates.hoverandstates.selectobjects.- Parameters:
theme- aButtonThemeobject.
-
getVerticalAlign
Getter for the field
verticalAlign.- Returns:
- a
VerticalAlignobject. - See Also:
-
setVerticalAlign
The vertical alignment of the buttons. Individual alignment can be adjusted by each button'syoffset.Defaults to: bottom
- Parameters:
verticalAlign- aVerticalAlignobject.
-
getWidth
Getter for the field
width.- Returns:
- a
Numberobject. - See Also:
-
setWidth
The width of the map navigation buttons.Defaults to: 18
- Parameters:
width- aNumberobject.
-
getX
Getter for the field
x.- Returns:
- a
Numberobject. - See Also:
-
setX
The X offset of the buttons relative to itsalignsetting.Defaults to: 0
- Parameters:
x- aNumberobject.
-
getY
Getter for the field
y.- Returns:
- a
Numberobject. - See Also:
-
setY
The position of the zoomIn button relative to the vertical alignment.Defaults to: 0
- Parameters:
y- aNumberobject.
-