Class ResetZoomButton
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.ResetZoomButton
- All Implemented Interfaces:
Serializable
@Generated(value="This class was generated",
comments="Incorrect and missing API should be reported")
public class ResetZoomButton
extends AbstractConfigurationObject
The button that appears after a selection zoom, allowing the user to reset zoom. In Highmaps, the reset zoom button is rarely used, as the controls for mapNavigation are used instead.
For live demos, see the resetZoomButton options for basic Highcharts.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldposition.Getter for the fieldrelativeTo.getTheme()Getter for the fieldtheme.voidsetPosition(Position position) The position of the button.voidsetRelativeTo(ResetZoomButtonRelativeTo relativeTo) What frame the button should be placed related to.voidsetTheme(ButtonTheme theme) A collection of attributes for the button.
-
Constructor Details
-
ResetZoomButton
public ResetZoomButton()Constructor for ResetZoomButton.
-
-
Method Details
-
getPosition
Getter for the field
position.- Returns:
- a
Positionobject. - See Also:
-
setPosition
The position of the button. This is an object that can hold the propertiesalign,verticalAlign,xandy.- Parameters:
position- aPositionobject.
-
getRelativeTo
Getter for the field
relativeTo.- Returns:
- a
ResetZoomButtonRelativeToobject. - See Also:
-
setRelativeTo
What frame the button should be placed related to. Can be either "plot" or "chart".Defaults to: plot
- Parameters:
relativeTo- aResetZoomButtonRelativeToobject.
-
getTheme
Getter for the field
theme.- Returns:
- a
ButtonThemeobject. - See Also:
-
setTheme
A collection of attributes for the button. The object takes SVG attributes likefill,stroke,stroke-widthorr, the border radius. The theme also supportsstyle, a collection of CSS properties for the text. Equivalent attributes for the hover state are given intheme.states.hover.- Parameters:
theme- aButtonThemeobject.
-