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
DrillUpButton
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetX()
getY()
void
setHorizontalAlign
(HorizontalAlign horizontalAlign) The horizontal alignment of the button.void
setVerticalAlign
(VerticalAlign verticalAlign) Sets the vertical alignment of the button.void
The X position of the button.void
The 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.MIDDLE
andVerticalAlign.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.CENTER
andHorizontalAlign.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
-