Class ButtonPosition
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.ButtonPosition
- All Implemented Interfaces:
Serializable
Positioning options for buttons
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetX()getY()voidsetHorizontalAlign(HorizontalAlign horizontalAlign) The horizontal alignment of the button.voidsetVerticalAlign(VerticalAlign verticalAlign) Sets the vertical alignment of the button.voidThe X position of the button.voidThe Y position of the button.
-
Constructor Details
-
ButtonPosition
public ButtonPosition()
-
-
Method Details
-
getVerticalAlign
- Returns:
- the verticalAlign
- See Also:
-
setVerticalAlign
Sets the vertical alignment of the button. Can be one ofVerticalAlign.TOP,VerticalAlign.MIDDLEandVerticalAlign.BOTTOM.- Parameters:
verticalAlign- the align to set
-
getHorizontalAlign
- Returns:
- the horizontal alignment
- See Also:
-
setHorizontalAlign
The horizontal alignment of the button. Can be one ofHorizontalAlign.LEFT,HorizontalAlign.CENTERandHorizontalAlign.RIGHT. .- Parameters:
horizontalAlign- the alignment to set
-
getX
- Returns:
- the X position of the button
- See Also:
-
setX
The X position of the button.- Parameters:
x- the X position to set
-
getY
- Returns:
- the Y position of the button
- See Also:
-
setY
The Y position of the button.- Parameters:
y- the Y position to set
-