Class ResetZoomButton
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.ResetZoomButton
-
- All Implemented Interfaces:
Serializable
public class ResetZoomButton extends AbstractConfigurationObject
The button that appears after a selection zoom, allowing the user to reset zoom.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResetZoomButton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PositiongetPosition()ResetZoomButtonRelativeTogetRelativeTo()ButtonThemegetTheme()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.
-
-
-
Method Detail
-
getPosition
public Position getPosition()
- See Also:
setPosition(Position)
-
setPosition
public void setPosition(Position position)
The position of the button.
-
getRelativeTo
public ResetZoomButtonRelativeTo getRelativeTo()
- See Also:
setRelativeTo(ResetZoomButtonRelativeTo)
-
setRelativeTo
public void setRelativeTo(ResetZoomButtonRelativeTo relativeTo)
What frame the button should be placed related to. Can be either "plot" or "chart".Defaults to: plot
-
getTheme
public ButtonTheme getTheme()
- See Also:
setTheme(ButtonTheme)
-
setTheme
public void setTheme(ButtonTheme theme)
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.
-
-